Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions dotnet/docs/api/class-page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1571,6 +1571,23 @@ await Page.RequestGCAsync();

---

### RequestsAsync {#page-requests}

<font size="2" style={{position: "relative", top: "-20px"}}>Added in: v1.56</font><x-search>page.RequestsAsync</x-search>

Returns up to 100 last network request from this page. See [Page.Request](/api/class-page.mdx#page-event-request) for more details.

**Usage**

```csharp
await Page.RequestsAsync();
```

**Returns**
- [IReadOnlyList]&lt;[Request]&gt;<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="page-requests-return"/><a href="#page-requests-return" class="list-anchor">#</a>

---

### RouteAsync {#page-route}

<font size="2" style={{position: "relative", top: "-20px"}}>Added before v1.9</font><x-search>page.RouteAsync</x-search>
Expand Down
17 changes: 17 additions & 0 deletions java/docs/api/class-page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1628,6 +1628,23 @@ Page.requestGC();

---

### requests {#page-requests}

<font size="2" style={{position: "relative", top: "-20px"}}>Added in: v1.56</font><x-search>page.requests</x-search>

Returns up to 100 last network request from this page. See [Page.onRequest(handler)](/api/class-page.mdx#page-event-request) for more details.

**Usage**

```java
Page.requests();
```

**Returns**
- [List]&lt;[Request]&gt;<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="page-requests-return"/><a href="#page-requests-return" class="list-anchor">#</a>

---

### route {#page-route}

<font size="2" style={{position: "relative", top: "-20px"}}>Added before v1.9</font><x-search>page.route</x-search>
Expand Down
17 changes: 17 additions & 0 deletions nodejs/docs/api/class-page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1598,6 +1598,23 @@ await page.requestGC();

---

### requests {#page-requests}

<font size="2" style={{position: "relative", top: "-20px"}}>Added in: v1.56</font><x-search>page.requests</x-search>

Returns up to 100 last network request from this page. See [page.on('request')](/api/class-page.mdx#page-event-request) for more details.

**Usage**

```js
await page.requests();
```

**Returns**
- [Promise]&lt;[Array]&lt;[Request]&gt;&gt;<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="page-requests-return"/><a href="#page-requests-return" class="list-anchor">#</a>

---

### route {#page-route}

<font size="2" style={{position: "relative", top: "-20px"}}>Added before v1.9</font><x-search>page.route</x-search>
Expand Down
8 changes: 4 additions & 4 deletions nodejs/docs/test-agents.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ Playwright’s agentic workflow makes it possible to generate test coverage in t
**Prompt**

```markdown
Ask `playwright-test-planner` agent to generate a test plan for "Guest Checkout" scenario.
Use `seed.spec.ts` as a seed test for the plan.
<agent:planner> Generate a test plan for "Guest Checkout" scenario.
Use `seed.spec.ts` as a seed test for the plan.
```

**Output**
Expand Down Expand Up @@ -93,7 +93,7 @@ The generating agent uses the Markdown plan to produce executable Playwright tes
**Prompt**

```markdown
Ask `playwright-test-generator` to generate tests for the guest checkout plan under `specs/`.
<agent:generator> Generate tests for the guest checkout plan under `specs/`.
```

**Output**
Expand Down Expand Up @@ -165,7 +165,7 @@ When a test fails, the healing agent:
**Prompt**

```markdown
Ask `playwright-test-healer` to fix all failing tests for the guest checkout scenario.
<agent:healer> Fix all failing tests for the guest checkout scenario.
```

**Output**
Expand Down
17 changes: 17 additions & 0 deletions python/docs/api/class-page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2504,6 +2504,23 @@ page.request_gc()

---

### requests {#page-requests}

<font size="2" style={{position: "relative", top: "-20px"}}>Added in: v1.56</font><x-search>page.requests</x-search>

Returns up to 100 last network request from this page. See [page.on("request")](/api/class-page.mdx#page-event-request) for more details.

**Usage**

```python
page.requests()
```

**Returns**
- [List]\[[Request]\]<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="page-requests-return"/><a href="#page-requests-return" class="list-anchor">#</a>

---

### route {#page-route}

<font size="2" style={{position: "relative", top: "-20px"}}>Added before v1.9</font><x-search>page.route</x-search>
Expand Down
Loading