> For the complete documentation index, see [llms.txt](https://docs.scraperapi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.scraperapi.com/resources/release-notes/june-2025.md).

# June 2025

## More flexibility for render instruction set

With our [Rendering Instruction Set](/javascript-rendering/rendering-instruction-set.md) it is possible to instruct the browser on specific interactions before rendering the page.

To give you even more control, we introduced some new events that you can use together with the `wait_for_event` instruction.

#### <mark style="background-color:purple;">Wait\_for\_event => Stabilize page before rendering</mark>

By default this is 5 seconds. If the page needs more time though, you can add the event `stabilize` to your `wait_for_event` instruction and set a maximum of 30 seconds before the page is rendered.

**Example:**

```
[{
    "type": "wait_for_event",
    "event": "stabilize",
    "seconds": 10
}]
```

#### <mark style="background-color:purple;">Wait\_for\_event => Wait for network idle</mark>

You will be flexible in how long you want to wait for the network idle after you were e.g. clicking on a button. In that case you can add the `networkidle` as event to the `wait_for_event` instructions and define how long it should wait (in seconds).

**Example:**

```
[{
    "type": "wait_for_event",
    "event": "networkidle",
    "timeout": 10
}]
```

You can find all instruction set options and details about the wait\_for\_event instruction here.

<p align="center"><a href="/pages/y5Th18eZsMFJ3Yh5e3ws" class="button primary">Instruction set</a></p>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.scraperapi.com/resources/release-notes/june-2025.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
