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
44 changes: 44 additions & 0 deletions dotnet/docs/api/class-apiresponse.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,50 @@ await ApiResponse.TextAsync();

---

### Timing {/* #api-response-timing */}

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

Returns resource timing information for given response. For redirected requests, returns the information for the last request in the redirect chain. When the response is served [from the HAR file](../mock.mdx#replaying-from-har), timing information is not available and all the values are -1. Find more information at [Resource Timing API](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming).

**Usage**

```csharp
ApiResponse.Timing
```

**Returns**
- Timing<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="api-response-timing-return"/><a href="#api-response-timing-return" class="list-anchor">#</a>
- `startTime` [float]

Request start time in milliseconds elapsed since January 1, 1970 00:00:00 UTC
- `domainLookupStart` [float]

Time immediately before the client starts the domain name lookup for the resource. The value is given in milliseconds relative to `startTime`, -1 if not available.
- `domainLookupEnd` [float]

Time immediately after the client ends the domain name lookup for the resource. The value is given in milliseconds relative to `startTime`, -1 if not available.
- `connectStart` [float]

Time immediately before the client starts establishing the connection to the server to retrieve the resource. The value is given in milliseconds relative to `startTime`, -1 if not available.
- `secureConnectionStart` [float]

Time immediately before the client starts the handshake process to secure the current connection. The value is given in milliseconds relative to `startTime`, -1 if not available.
- `connectEnd` [float]

Time immediately after the client establishes the connection to the server to retrieve the resource. The value is given in milliseconds relative to `startTime`, -1 if not available.
- `requestStart` [float]

Time immediately before the client starts requesting the resource from the server, cache, or local resource. The value is given in milliseconds relative to `startTime`, -1 if not available.
- `responseStart` [float]

Time immediately after the client receives the first byte of the response from the server, cache, or local resource. The value is given in milliseconds relative to `startTime`, -1 if not available.
- `responseEnd` [float]

Time immediately after the client receives the last byte of the resource or immediately before the transport connection is closed, whichever comes first. The value is given in milliseconds relative to `startTime`, -1 if not available.

---

### Url {/* #api-response-url */}

<font size="2" style={{position: "relative", top: "-20px"}}>Added in: v1.16</font><x-search>apiResponse.Url</x-search>
Expand Down
5 changes: 0 additions & 5 deletions dotnet/docs/api/class-frame.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -492,11 +492,6 @@ await page

Required aria role.
- `options` `FrameGetByRoleOptions?` *(optional)*
- `Busy` [bool]? *(optional)* <font size="2">Added in: v1.61</font><a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="frame-get-by-role-option-busy"/><a href="#frame-get-by-role-option-busy" class="list-anchor">#</a>

An attribute that is usually set by `aria-busy`.

Learn more about [`aria-busy`](https://www.w3.org/TR/wai-aria-1.2/#aria-busy).
- `Checked` [bool]? *(optional)*<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="frame-get-by-role-option-checked"/><a href="#frame-get-by-role-option-checked" class="list-anchor">#</a>

An attribute that is usually set by `aria-checked` or native `<input type=checkbox>` controls.
Expand Down
5 changes: 0 additions & 5 deletions dotnet/docs/api/class-framelocator.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -206,11 +206,6 @@ await page

Required aria role.
- `options` `FrameLocatorGetByRoleOptions?` *(optional)*
- `Busy` [bool]? *(optional)* <font size="2">Added in: v1.61</font><a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="frame-locator-get-by-role-option-busy"/><a href="#frame-locator-get-by-role-option-busy" class="list-anchor">#</a>

An attribute that is usually set by `aria-busy`.

Learn more about [`aria-busy`](https://www.w3.org/TR/wai-aria-1.2/#aria-busy).
- `Checked` [bool]? *(optional)*<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="frame-locator-get-by-role-option-checked"/><a href="#frame-locator-get-by-role-option-checked" class="list-anchor">#</a>

An attribute that is usually set by `aria-checked` or native `<input type=checkbox>` controls.
Expand Down
5 changes: 0 additions & 5 deletions dotnet/docs/api/class-locator.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1226,11 +1226,6 @@ await page

Required aria role.
- `options` `LocatorGetByRoleOptions?` *(optional)*
- `Busy` [bool]? *(optional)* <font size="2">Added in: v1.61</font><a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="locator-get-by-role-option-busy"/><a href="#locator-get-by-role-option-busy" class="list-anchor">#</a>

An attribute that is usually set by `aria-busy`.

Learn more about [`aria-busy`](https://www.w3.org/TR/wai-aria-1.2/#aria-busy).
- `Checked` [bool]? *(optional)*<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="locator-get-by-role-option-checked"/><a href="#locator-get-by-role-option-checked" class="list-anchor">#</a>

An attribute that is usually set by `aria-checked` or native `<input type=checkbox>` controls.
Expand Down
5 changes: 0 additions & 5 deletions dotnet/docs/api/class-page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1018,11 +1018,6 @@ await page

Required aria role.
- `options` `PageGetByRoleOptions?` *(optional)*
- `Busy` [bool]? *(optional)* <font size="2">Added in: v1.61</font><a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="page-get-by-role-option-busy"/><a href="#page-get-by-role-option-busy" class="list-anchor">#</a>

An attribute that is usually set by `aria-busy`.

Learn more about [`aria-busy`](https://www.w3.org/TR/wai-aria-1.2/#aria-busy).
- `Checked` [bool]? *(optional)*<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="page-get-by-role-option-checked"/><a href="#page-get-by-role-option-checked" class="list-anchor">#</a>

An attribute that is usually set by `aria-checked` or native `<input type=checkbox>` controls.
Expand Down
16 changes: 8 additions & 8 deletions dotnet/docs/api/class-request.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -394,28 +394,28 @@ Console.WriteLine(request.Timing.ResponseEnd);
Request start time in milliseconds elapsed since January 1, 1970 00:00:00 UTC
- `domainLookupStart` [float]

Time immediately before the browser starts the domain name lookup for the resource. The value is given in milliseconds relative to `startTime`, -1 if not available.
Time immediately before the client starts the domain name lookup for the resource. The value is given in milliseconds relative to `startTime`, -1 if not available.
- `domainLookupEnd` [float]

Time immediately after the browser starts the domain name lookup for the resource. The value is given in milliseconds relative to `startTime`, -1 if not available.
Time immediately after the client ends the domain name lookup for the resource. The value is given in milliseconds relative to `startTime`, -1 if not available.
- `connectStart` [float]

Time immediately before the user agent starts establishing the connection to the server to retrieve the resource. The value is given in milliseconds relative to `startTime`, -1 if not available.
Time immediately before the client starts establishing the connection to the server to retrieve the resource. The value is given in milliseconds relative to `startTime`, -1 if not available.
- `secureConnectionStart` [float]

Time immediately before the browser starts the handshake process to secure the current connection. The value is given in milliseconds relative to `startTime`, -1 if not available.
Time immediately before the client starts the handshake process to secure the current connection. The value is given in milliseconds relative to `startTime`, -1 if not available.
- `connectEnd` [float]

Time immediately before the user agent starts establishing the connection to the server to retrieve the resource. The value is given in milliseconds relative to `startTime`, -1 if not available.
Time immediately after the client establishes the connection to the server to retrieve the resource. The value is given in milliseconds relative to `startTime`, -1 if not available.
- `requestStart` [float]

Time immediately before the browser starts requesting the resource from the server, cache, or local resource. The value is given in milliseconds relative to `startTime`, -1 if not available.
Time immediately before the client starts requesting the resource from the server, cache, or local resource. The value is given in milliseconds relative to `startTime`, -1 if not available.
- `responseStart` [float]

Time immediately after the browser receives the first byte of the response from the server, cache, or local resource. The value is given in milliseconds relative to `startTime`, -1 if not available.
Time immediately after the client receives the first byte of the response from the server, cache, or local resource. The value is given in milliseconds relative to `startTime`, -1 if not available.
- `responseEnd` [float]

Time immediately after the browser receives the last byte of the resource or immediately before the transport connection is closed, whichever comes first. The value is given in milliseconds relative to `startTime`, -1 if not available.
Time immediately after the client receives the last byte of the resource or immediately before the transport connection is closed, whichever comes first. The value is given in milliseconds relative to `startTime`, -1 if not available.

---

Expand Down
44 changes: 44 additions & 0 deletions java/docs/api/class-apiresponse.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,50 @@ APIResponse.text();

---

### timing {/* #api-response-timing */}

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

Returns resource timing information for given response. For redirected requests, returns the information for the last request in the redirect chain. When the response is served [from the HAR file](../mock.mdx#replaying-from-har), timing information is not available and all the values are -1. Find more information at [Resource Timing API](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming).

**Usage**

```java
APIResponse.timing();
```

**Returns**
- Timing<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="api-response-timing-return"/><a href="#api-response-timing-return" class="list-anchor">#</a>
- `startTime` [double]

Request start time in milliseconds elapsed since January 1, 1970 00:00:00 UTC
- `domainLookupStart` [double]

Time immediately before the client starts the domain name lookup for the resource. The value is given in milliseconds relative to `startTime`, -1 if not available.
- `domainLookupEnd` [double]

Time immediately after the client ends the domain name lookup for the resource. The value is given in milliseconds relative to `startTime`, -1 if not available.
- `connectStart` [double]

Time immediately before the client starts establishing the connection to the server to retrieve the resource. The value is given in milliseconds relative to `startTime`, -1 if not available.
- `secureConnectionStart` [double]

Time immediately before the client starts the handshake process to secure the current connection. The value is given in milliseconds relative to `startTime`, -1 if not available.
- `connectEnd` [double]

Time immediately after the client establishes the connection to the server to retrieve the resource. The value is given in milliseconds relative to `startTime`, -1 if not available.
- `requestStart` [double]

Time immediately before the client starts requesting the resource from the server, cache, or local resource. The value is given in milliseconds relative to `startTime`, -1 if not available.
- `responseStart` [double]

Time immediately after the client receives the first byte of the response from the server, cache, or local resource. The value is given in milliseconds relative to `startTime`, -1 if not available.
- `responseEnd` [double]

Time immediately after the client receives the last byte of the resource or immediately before the transport connection is closed, whichever comes first. The value is given in milliseconds relative to `startTime`, -1 if not available.

---

### url {/* #api-response-url */}

<font size="2" style={{position: "relative", top: "-20px"}}>Added in: v1.16</font><x-search>apiResponse.url</x-search>
Expand Down
5 changes: 0 additions & 5 deletions java/docs/api/class-frame.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -492,11 +492,6 @@ page.getByRole(AriaRole.BUTTON,

Required aria role.
- `options` `Frame.GetByRoleOptions` *(optional)*
- `setBusy` [boolean] *(optional)* <font size="2">Added in: v1.61</font><a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="frame-get-by-role-option-busy"/><a href="#frame-get-by-role-option-busy" class="list-anchor">#</a>

An attribute that is usually set by `aria-busy`.

Learn more about [`aria-busy`](https://www.w3.org/TR/wai-aria-1.2/#aria-busy).
- `setChecked` [boolean] *(optional)*<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="frame-get-by-role-option-checked"/><a href="#frame-get-by-role-option-checked" class="list-anchor">#</a>

An attribute that is usually set by `aria-checked` or native `<input type=checkbox>` controls.
Expand Down
5 changes: 0 additions & 5 deletions java/docs/api/class-framelocator.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -204,11 +204,6 @@ page.getByRole(AriaRole.BUTTON,

Required aria role.
- `options` `FrameLocator.GetByRoleOptions` *(optional)*
- `setBusy` [boolean] *(optional)* <font size="2">Added in: v1.61</font><a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="frame-locator-get-by-role-option-busy"/><a href="#frame-locator-get-by-role-option-busy" class="list-anchor">#</a>

An attribute that is usually set by `aria-busy`.

Learn more about [`aria-busy`](https://www.w3.org/TR/wai-aria-1.2/#aria-busy).
- `setChecked` [boolean] *(optional)*<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="frame-locator-get-by-role-option-checked"/><a href="#frame-locator-get-by-role-option-checked" class="list-anchor">#</a>

An attribute that is usually set by `aria-checked` or native `<input type=checkbox>` controls.
Expand Down
5 changes: 0 additions & 5 deletions java/docs/api/class-locator.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1226,11 +1226,6 @@ page.getByRole(AriaRole.BUTTON,

Required aria role.
- `options` `Locator.GetByRoleOptions` *(optional)*
- `setBusy` [boolean] *(optional)* <font size="2">Added in: v1.61</font><a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="locator-get-by-role-option-busy"/><a href="#locator-get-by-role-option-busy" class="list-anchor">#</a>

An attribute that is usually set by `aria-busy`.

Learn more about [`aria-busy`](https://www.w3.org/TR/wai-aria-1.2/#aria-busy).
- `setChecked` [boolean] *(optional)*<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="locator-get-by-role-option-checked"/><a href="#locator-get-by-role-option-checked" class="list-anchor">#</a>

An attribute that is usually set by `aria-checked` or native `<input type=checkbox>` controls.
Expand Down
5 changes: 0 additions & 5 deletions java/docs/api/class-page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1022,11 +1022,6 @@ page.getByRole(AriaRole.BUTTON,

Required aria role.
- `options` `Page.GetByRoleOptions` *(optional)*
- `setBusy` [boolean] *(optional)* <font size="2">Added in: v1.61</font><a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="page-get-by-role-option-busy"/><a href="#page-get-by-role-option-busy" class="list-anchor">#</a>

An attribute that is usually set by `aria-busy`.

Learn more about [`aria-busy`](https://www.w3.org/TR/wai-aria-1.2/#aria-busy).
- `setChecked` [boolean] *(optional)*<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="page-get-by-role-option-checked"/><a href="#page-get-by-role-option-checked" class="list-anchor">#</a>

An attribute that is usually set by `aria-checked` or native `<input type=checkbox>` controls.
Expand Down
16 changes: 8 additions & 8 deletions java/docs/api/class-request.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -374,28 +374,28 @@ page.navigate("http://example.com");
Request start time in milliseconds elapsed since January 1, 1970 00:00:00 UTC
- `domainLookupStart` [double]

Time immediately before the browser starts the domain name lookup for the resource. The value is given in milliseconds relative to `startTime`, -1 if not available.
Time immediately before the client starts the domain name lookup for the resource. The value is given in milliseconds relative to `startTime`, -1 if not available.
- `domainLookupEnd` [double]

Time immediately after the browser starts the domain name lookup for the resource. The value is given in milliseconds relative to `startTime`, -1 if not available.
Time immediately after the client ends the domain name lookup for the resource. The value is given in milliseconds relative to `startTime`, -1 if not available.
- `connectStart` [double]

Time immediately before the user agent starts establishing the connection to the server to retrieve the resource. The value is given in milliseconds relative to `startTime`, -1 if not available.
Time immediately before the client starts establishing the connection to the server to retrieve the resource. The value is given in milliseconds relative to `startTime`, -1 if not available.
- `secureConnectionStart` [double]

Time immediately before the browser starts the handshake process to secure the current connection. The value is given in milliseconds relative to `startTime`, -1 if not available.
Time immediately before the client starts the handshake process to secure the current connection. The value is given in milliseconds relative to `startTime`, -1 if not available.
- `connectEnd` [double]

Time immediately before the user agent starts establishing the connection to the server to retrieve the resource. The value is given in milliseconds relative to `startTime`, -1 if not available.
Time immediately after the client establishes the connection to the server to retrieve the resource. The value is given in milliseconds relative to `startTime`, -1 if not available.
- `requestStart` [double]

Time immediately before the browser starts requesting the resource from the server, cache, or local resource. The value is given in milliseconds relative to `startTime`, -1 if not available.
Time immediately before the client starts requesting the resource from the server, cache, or local resource. The value is given in milliseconds relative to `startTime`, -1 if not available.
- `responseStart` [double]

Time immediately after the browser receives the first byte of the response from the server, cache, or local resource. The value is given in milliseconds relative to `startTime`, -1 if not available.
Time immediately after the client receives the first byte of the response from the server, cache, or local resource. The value is given in milliseconds relative to `startTime`, -1 if not available.
- `responseEnd` [double]

Time immediately after the browser receives the last byte of the resource or immediately before the transport connection is closed, whichever comes first. The value is given in milliseconds relative to `startTime`, -1 if not available.
Time immediately after the client receives the last byte of the resource or immediately before the transport connection is closed, whichever comes first. The value is given in milliseconds relative to `startTime`, -1 if not available.

---

Expand Down
1 change: 1 addition & 0 deletions nodejs/docs/accessibility-testing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,7 @@ test('example using custom fixture', async ({ page, makeAxeBuilder }) => {
[TestCase]: /api/class-testcase.mdx "TestCase"
[TestError]: /api/class-testerror.mdx "TestError"
[TestResult]: /api/class-testresult.mdx "TestResult"
[TestRun]: /api/class-testrun.mdx "TestRun"
[TestStep]: /api/class-teststep.mdx "TestStep"
[Element]: https://developer.mozilla.org/en-US/docs/Web/API/element "Element"
[EvaluationArgument]: /evaluating.mdx#evaluation-argument "EvaluationArgument"
Expand Down
Loading
Loading