Skip to content

Commit

Permalink
feat(roll): roll to ToT Playwright (19-08-24) (#1477)
Browse files Browse the repository at this point in the history
  • Loading branch information
playwrightmachine authored Aug 19, 2024
1 parent 5951aea commit aeccb1d
Show file tree
Hide file tree
Showing 14 changed files with 171 additions and 18 deletions.
11 changes: 10 additions & 1 deletion dotnet/docs/api/class-apirequest.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,21 @@ await ApiRequest.NewContextAsync(options);
- `CertPath` [string]? *(optional)*

Path to the file with the certificate in PEM format.
- `Cert` [byte][]? *(optional)*

Direct value of the certificate in PEM format.
- `KeyPath` [string]? *(optional)*

Path to the file with the private key in PEM format.
- `Key` [byte][]? *(optional)*

Direct value of the private key in PEM format.
- `PfxPath` [string]? *(optional)*

Path to the PFX or PKCS12 encoded private key and certificate chain.
- `Pfx` [byte][]? *(optional)*

Direct value of the PFX or PKCS12 encoded private key and certificate chain.
- `Passphrase` [string]? *(optional)*

Passphrase for the private key (PEM or PFX).
Expand All @@ -55,7 +64,7 @@ await ApiRequest.NewContextAsync(options);

**Details**

An array of client certificates to be used. Each certificate object must have both `certPath` and `keyPath` or a single `pfxPath` to load the client certificate. Optionally, `passphrase` property should be provided if the certficiate is encrypted. The `origin` property should be provided with an exact match to the request origin that the certificate is valid for.
An array of client certificates to be used. Each certificate object must have either both `certPath` and `keyPath`, a single `pfxPath`, or their corresponding direct value equivalents (`cert` and `key`, or `pfx`). Optionally, `passphrase` property should be provided if the certificate is encrypted. The `origin` property should be provided with an exact match to the request origin that the certificate is valid for.

:::note
Using Client Certificates in combination with Proxy Servers is not supported.
Expand Down
22 changes: 20 additions & 2 deletions dotnet/docs/api/class-browser.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -179,12 +179,21 @@ await browser.CloseAsync();
- `CertPath` [string]? *(optional)*

Path to the file with the certificate in PEM format.
- `Cert` [byte][]? *(optional)*

Direct value of the certificate in PEM format.
- `KeyPath` [string]? *(optional)*

Path to the file with the private key in PEM format.
- `Key` [byte][]? *(optional)*

Direct value of the private key in PEM format.
- `PfxPath` [string]? *(optional)*

Path to the PFX or PKCS12 encoded private key and certificate chain.
- `Pfx` [byte][]? *(optional)*

Direct value of the PFX or PKCS12 encoded private key and certificate chain.
- `Passphrase` [string]? *(optional)*

Passphrase for the private key (PEM or PFX).
Expand All @@ -193,7 +202,7 @@ await browser.CloseAsync();

**Details**

An array of client certificates to be used. Each certificate object must have both `certPath` and `keyPath` or a single `pfxPath` to load the client certificate. Optionally, `passphrase` property should be provided if the certficiate is encrypted. The `origin` property should be provided with an exact match to the request origin that the certificate is valid for.
An array of client certificates to be used. Each certificate object must have either both `certPath` and `keyPath`, a single `pfxPath`, or their corresponding direct value equivalents (`cert` and `key`, or `pfx`). Optionally, `passphrase` property should be provided if the certificate is encrypted. The `origin` property should be provided with an exact match to the request origin that the certificate is valid for.

:::note
Using Client Certificates in combination with Proxy Servers is not supported.
Expand Down Expand Up @@ -392,12 +401,21 @@ await Browser.NewPageAsync(options);
- `CertPath` [string]? *(optional)*

Path to the file with the certificate in PEM format.
- `Cert` [byte][]? *(optional)*

Direct value of the certificate in PEM format.
- `KeyPath` [string]? *(optional)*

Path to the file with the private key in PEM format.
- `Key` [byte][]? *(optional)*

Direct value of the private key in PEM format.
- `PfxPath` [string]? *(optional)*

Path to the PFX or PKCS12 encoded private key and certificate chain.
- `Pfx` [byte][]? *(optional)*

Direct value of the PFX or PKCS12 encoded private key and certificate chain.
- `Passphrase` [string]? *(optional)*

Passphrase for the private key (PEM or PFX).
Expand All @@ -406,7 +424,7 @@ await Browser.NewPageAsync(options);

**Details**

An array of client certificates to be used. Each certificate object must have both `certPath` and `keyPath` or a single `pfxPath` to load the client certificate. Optionally, `passphrase` property should be provided if the certficiate is encrypted. The `origin` property should be provided with an exact match to the request origin that the certificate is valid for.
An array of client certificates to be used. Each certificate object must have either both `certPath` and `keyPath`, a single `pfxPath`, or their corresponding direct value equivalents (`cert` and `key`, or `pfx`). Optionally, `passphrase` property should be provided if the certificate is encrypted. The `origin` property should be provided with an exact match to the request origin that the certificate is valid for.

:::note
Using Client Certificates in combination with Proxy Servers is not supported.
Expand Down
11 changes: 10 additions & 1 deletion dotnet/docs/api/class-browsertype.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -291,12 +291,21 @@ await BrowserType.LaunchPersistentContextAsync(userDataDir, options);
- `CertPath` [string]? *(optional)*

Path to the file with the certificate in PEM format.
- `Cert` [byte][]? *(optional)*

Direct value of the certificate in PEM format.
- `KeyPath` [string]? *(optional)*

Path to the file with the private key in PEM format.
- `Key` [byte][]? *(optional)*

Direct value of the private key in PEM format.
- `PfxPath` [string]? *(optional)*

Path to the PFX or PKCS12 encoded private key and certificate chain.
- `Pfx` [byte][]? *(optional)*

Direct value of the PFX or PKCS12 encoded private key and certificate chain.
- `Passphrase` [string]? *(optional)*

Passphrase for the private key (PEM or PFX).
Expand All @@ -305,7 +314,7 @@ await BrowserType.LaunchPersistentContextAsync(userDataDir, options);

**Details**

An array of client certificates to be used. Each certificate object must have both `certPath` and `keyPath` or a single `pfxPath` to load the client certificate. Optionally, `passphrase` property should be provided if the certficiate is encrypted. The `origin` property should be provided with an exact match to the request origin that the certificate is valid for.
An array of client certificates to be used. Each certificate object must have either both `certPath` and `keyPath`, a single `pfxPath`, or their corresponding direct value equivalents (`cert` and `key`, or `pfx`). Optionally, `passphrase` property should be provided if the certificate is encrypted. The `origin` property should be provided with an exact match to the request origin that the certificate is valid for.

:::note
Using Client Certificates in combination with Proxy Servers is not supported.
Expand Down
11 changes: 10 additions & 1 deletion java/docs/api/class-apirequest.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,21 @@ APIRequest.newContext(options);
- `setCertPath` [Path] *(optional)*

Path to the file with the certificate in PEM format.
- `setCert` [byte[]] *(optional)*

Direct value of the certificate in PEM format.
- `setKeyPath` [Path] *(optional)*

Path to the file with the private key in PEM format.
- `setKey` [byte[]] *(optional)*

Direct value of the private key in PEM format.
- `setPfxPath` [Path] *(optional)*

Path to the PFX or PKCS12 encoded private key and certificate chain.
- `setPfx` [byte[]] *(optional)*

Direct value of the PFX or PKCS12 encoded private key and certificate chain.
- `setPassphrase` [String] *(optional)*

Passphrase for the private key (PEM or PFX).
Expand All @@ -56,7 +65,7 @@ APIRequest.newContext(options);

**Details**

An array of client certificates to be used. Each certificate object must have both `certPath` and `keyPath` or a single `pfxPath` to load the client certificate. Optionally, `passphrase` property should be provided if the certficiate is encrypted. The `origin` property should be provided with an exact match to the request origin that the certificate is valid for.
An array of client certificates to be used. Each certificate object must have either both `certPath` and `keyPath`, a single `pfxPath`, or their corresponding direct value equivalents (`cert` and `key`, or `pfx`). Optionally, `passphrase` property should be provided if the certificate is encrypted. The `origin` property should be provided with an exact match to the request origin that the certificate is valid for.

:::note
Using Client Certificates in combination with Proxy Servers is not supported.
Expand Down
22 changes: 20 additions & 2 deletions java/docs/api/class-browser.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -183,12 +183,21 @@ browser.close();
- `setCertPath` [Path] *(optional)*

Path to the file with the certificate in PEM format.
- `setCert` [byte[]] *(optional)*

Direct value of the certificate in PEM format.
- `setKeyPath` [Path] *(optional)*

Path to the file with the private key in PEM format.
- `setKey` [byte[]] *(optional)*

Direct value of the private key in PEM format.
- `setPfxPath` [Path] *(optional)*

Path to the PFX or PKCS12 encoded private key and certificate chain.
- `setPfx` [byte[]] *(optional)*

Direct value of the PFX or PKCS12 encoded private key and certificate chain.
- `setPassphrase` [String] *(optional)*

Passphrase for the private key (PEM or PFX).
Expand All @@ -197,7 +206,7 @@ browser.close();

**Details**

An array of client certificates to be used. Each certificate object must have both `certPath` and `keyPath` or a single `pfxPath` to load the client certificate. Optionally, `passphrase` property should be provided if the certficiate is encrypted. The `origin` property should be provided with an exact match to the request origin that the certificate is valid for.
An array of client certificates to be used. Each certificate object must have either both `certPath` and `keyPath`, a single `pfxPath`, or their corresponding direct value equivalents (`cert` and `key`, or `pfx`). Optionally, `passphrase` property should be provided if the certificate is encrypted. The `origin` property should be provided with an exact match to the request origin that the certificate is valid for.

:::note
Using Client Certificates in combination with Proxy Servers is not supported.
Expand Down Expand Up @@ -397,12 +406,21 @@ Browser.newPage(options);
- `setCertPath` [Path] *(optional)*

Path to the file with the certificate in PEM format.
- `setCert` [byte[]] *(optional)*

Direct value of the certificate in PEM format.
- `setKeyPath` [Path] *(optional)*

Path to the file with the private key in PEM format.
- `setKey` [byte[]] *(optional)*

Direct value of the private key in PEM format.
- `setPfxPath` [Path] *(optional)*

Path to the PFX or PKCS12 encoded private key and certificate chain.
- `setPfx` [byte[]] *(optional)*

Direct value of the PFX or PKCS12 encoded private key and certificate chain.
- `setPassphrase` [String] *(optional)*

Passphrase for the private key (PEM or PFX).
Expand All @@ -411,7 +429,7 @@ Browser.newPage(options);

**Details**

An array of client certificates to be used. Each certificate object must have both `certPath` and `keyPath` or a single `pfxPath` to load the client certificate. Optionally, `passphrase` property should be provided if the certficiate is encrypted. The `origin` property should be provided with an exact match to the request origin that the certificate is valid for.
An array of client certificates to be used. Each certificate object must have either both `certPath` and `keyPath`, a single `pfxPath`, or their corresponding direct value equivalents (`cert` and `key`, or `pfx`). Optionally, `passphrase` property should be provided if the certificate is encrypted. The `origin` property should be provided with an exact match to the request origin that the certificate is valid for.

:::note
Using Client Certificates in combination with Proxy Servers is not supported.
Expand Down
11 changes: 10 additions & 1 deletion java/docs/api/class-browsertype.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -291,12 +291,21 @@ BrowserType.launchPersistentContext(userDataDir, options);
- `setCertPath` [Path] *(optional)*

Path to the file with the certificate in PEM format.
- `setCert` [byte[]] *(optional)*

Direct value of the certificate in PEM format.
- `setKeyPath` [Path] *(optional)*

Path to the file with the private key in PEM format.
- `setKey` [byte[]] *(optional)*

Direct value of the private key in PEM format.
- `setPfxPath` [Path] *(optional)*

Path to the PFX or PKCS12 encoded private key and certificate chain.
- `setPfx` [byte[]] *(optional)*

Direct value of the PFX or PKCS12 encoded private key and certificate chain.
- `setPassphrase` [String] *(optional)*

Passphrase for the private key (PEM or PFX).
Expand All @@ -305,7 +314,7 @@ BrowserType.launchPersistentContext(userDataDir, options);

**Details**

An array of client certificates to be used. Each certificate object must have both `certPath` and `keyPath` or a single `pfxPath` to load the client certificate. Optionally, `passphrase` property should be provided if the certficiate is encrypted. The `origin` property should be provided with an exact match to the request origin that the certificate is valid for.
An array of client certificates to be used. Each certificate object must have either both `certPath` and `keyPath`, a single `pfxPath`, or their corresponding direct value equivalents (`cert` and `key`, or `pfx`). Optionally, `passphrase` property should be provided if the certificate is encrypted. The `origin` property should be provided with an exact match to the request origin that the certificate is valid for.

:::note
Using Client Certificates in combination with Proxy Servers is not supported.
Expand Down
11 changes: 10 additions & 1 deletion nodejs/docs/api/class-apirequest.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,21 @@ await apiRequest.newContext(options);
- `certPath` [string] *(optional)*

Path to the file with the certificate in PEM format.
- `cert` [Buffer] *(optional)*

Direct value of the certificate in PEM format.
- `keyPath` [string] *(optional)*

Path to the file with the private key in PEM format.
- `key` [Buffer] *(optional)*

Direct value of the private key in PEM format.
- `pfxPath` [string] *(optional)*

Path to the PFX or PKCS12 encoded private key and certificate chain.
- `pfx` [Buffer] *(optional)*

Direct value of the PFX or PKCS12 encoded private key and certificate chain.
- `passphrase` [string] *(optional)*

Passphrase for the private key (PEM or PFX).
Expand All @@ -56,7 +65,7 @@ await apiRequest.newContext(options);

**Details**

An array of client certificates to be used. Each certificate object must have both `certPath` and `keyPath` or a single `pfxPath` to load the client certificate. Optionally, `passphrase` property should be provided if the certficiate is encrypted. The `origin` property should be provided with an exact match to the request origin that the certificate is valid for.
An array of client certificates to be used. Each certificate object must have either both `certPath` and `keyPath`, a single `pfxPath`, or their corresponding direct value equivalents (`cert` and `key`, or `pfx`). Optionally, `passphrase` property should be provided if the certificate is encrypted. The `origin` property should be provided with an exact match to the request origin that the certificate is valid for.

:::note
Using Client Certificates in combination with Proxy Servers is not supported.
Expand Down
22 changes: 20 additions & 2 deletions nodejs/docs/api/class-browser.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -181,12 +181,21 @@ If directly using this method to create [BrowserContext]s, it is best practice t
- `certPath` [string] *(optional)*

Path to the file with the certificate in PEM format.
- `cert` [Buffer] *(optional)*

Direct value of the certificate in PEM format.
- `keyPath` [string] *(optional)*

Path to the file with the private key in PEM format.
- `key` [Buffer] *(optional)*

Direct value of the private key in PEM format.
- `pfxPath` [string] *(optional)*

Path to the PFX or PKCS12 encoded private key and certificate chain.
- `pfx` [Buffer] *(optional)*

Direct value of the PFX or PKCS12 encoded private key and certificate chain.
- `passphrase` [string] *(optional)*

Passphrase for the private key (PEM or PFX).
Expand All @@ -195,7 +204,7 @@ If directly using this method to create [BrowserContext]s, it is best practice t

**Details**

An array of client certificates to be used. Each certificate object must have both `certPath` and `keyPath` or a single `pfxPath` to load the client certificate. Optionally, `passphrase` property should be provided if the certficiate is encrypted. The `origin` property should be provided with an exact match to the request origin that the certificate is valid for.
An array of client certificates to be used. Each certificate object must have either both `certPath` and `keyPath`, a single `pfxPath`, or their corresponding direct value equivalents (`cert` and `key`, or `pfx`). Optionally, `passphrase` property should be provided if the certificate is encrypted. The `origin` property should be provided with an exact match to the request origin that the certificate is valid for.

:::note
Using Client Certificates in combination with Proxy Servers is not supported.
Expand Down Expand Up @@ -463,12 +472,21 @@ await browser.newPage(options);
- `certPath` [string] *(optional)*

Path to the file with the certificate in PEM format.
- `cert` [Buffer] *(optional)*

Direct value of the certificate in PEM format.
- `keyPath` [string] *(optional)*

Path to the file with the private key in PEM format.
- `key` [Buffer] *(optional)*

Direct value of the private key in PEM format.
- `pfxPath` [string] *(optional)*

Path to the PFX or PKCS12 encoded private key and certificate chain.
- `pfx` [Buffer] *(optional)*

Direct value of the PFX or PKCS12 encoded private key and certificate chain.
- `passphrase` [string] *(optional)*

Passphrase for the private key (PEM or PFX).
Expand All @@ -477,7 +495,7 @@ await browser.newPage(options);

**Details**

An array of client certificates to be used. Each certificate object must have both `certPath` and `keyPath` or a single `pfxPath` to load the client certificate. Optionally, `passphrase` property should be provided if the certficiate is encrypted. The `origin` property should be provided with an exact match to the request origin that the certificate is valid for.
An array of client certificates to be used. Each certificate object must have either both `certPath` and `keyPath`, a single `pfxPath`, or their corresponding direct value equivalents (`cert` and `key`, or `pfx`). Optionally, `passphrase` property should be provided if the certificate is encrypted. The `origin` property should be provided with an exact match to the request origin that the certificate is valid for.

:::note
Using Client Certificates in combination with Proxy Servers is not supported.
Expand Down
Loading

0 comments on commit aeccb1d

Please sign in to comment.