Skip to content

Commit fda4abb

Browse files
committed
deploy: 1d15fba
1 parent 0e75563 commit fda4abb

File tree

2 files changed

+24
-32
lines changed

2 files changed

+24
-32
lines changed

async_api.html

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5252,7 +5252,6 @@ <h1 class="title">Module <code>playwright.async_api</code></h1>
52525252
----------
52535253
permissions : List[str]
52545254
A permission or an array of permissions to grant. Permissions can be one of the following values:
5255-
- `&#39;*&#39;`
52565255
- `&#39;geolocation&#39;`
52575256
- `&#39;midi&#39;`
52585257
- `&#39;midi-sysex&#39;` (system-exclusive midi)
@@ -5695,7 +5694,7 @@ <h1 class="title">Module <code>playwright.async_api</code></h1>
56955694
acceptDownloads : Optional[bool]
56965695
Whether to automatically download all the attachments. Defaults to `false` where all the downloads are canceled.
56975696
videosPath : Optional[str]
5698-
Enables video recording for all pages to `videosPath` folder. If not specified, videos are not recorded.
5697+
Enables video recording for all pages to `videosPath` folder. If not specified, videos are not recorded. Make sure to await `browserContext.close` for videos to be saved.
56995698
videoSize : Optional[{&#34;width&#34;: int, &#34;height&#34;: int}]
57005699
Specifies dimensions of the automatically recorded video. Can only be used if `videosPath` is set. If not specified the size will be equal to `viewport`. If `viewport` is not configured explicitly the video size defaults to 1280x720. Actual picture of the page will be scaled down if necessary to fit specified size.
57015700

@@ -5792,7 +5791,7 @@ <h1 class="title">Module <code>playwright.async_api</code></h1>
57925791
acceptDownloads : Optional[bool]
57935792
Whether to automatically download all the attachments. Defaults to `false` where all the downloads are canceled.
57945793
videosPath : Optional[str]
5795-
Enables video recording for all pages to `videosPath` folder. If not specified, videos are not recorded.
5794+
Enables video recording for all pages to `videosPath` folder. If not specified, videos are not recorded. Make sure to await `page.close` for videos to be saved.
57965795
videoSize : Optional[{&#34;width&#34;: int, &#34;height&#34;: int}]
57975796
Specifies dimensions of the automatically recorded video. Can only be used if `videosPath` is set. If not specified the size will be equal to `viewport`. If `viewport` is not configured explicitly the video size defaults to 1280x720. Actual picture of the page will be scaled down if necessary to fit specified size.
57985797

@@ -6059,7 +6058,7 @@ <h1 class="title">Module <code>playwright.async_api</code></h1>
60596058
chromiumSandbox : Optional[bool]
60606059
Enable Chromium sandboxing. Defaults to `true`.
60616060
videosPath : Optional[str]
6062-
Enables video recording for all pages to `videosPath` folder. If not specified, videos are not recorded.
6061+
Enables video recording for all pages to `videosPath` folder. If not specified, videos are not recorded. Make sure to await `browserContext.close` for videos to be saved.
60636062
videoSize : Optional[{&#34;width&#34;: int, &#34;height&#34;: int}]
60646063
Specifies dimensions of the automatically recorded video. Can only be used if `videosPath` is set. If not specified the size will be equal to `viewport`. If `viewport` is not configured explicitly the video size defaults to 1280x720. Actual picture of the page will be scaled down if necessary to fit specified size.
60656064

@@ -6448,7 +6447,7 @@ <h3>Methods</h3>
64486447
acceptDownloads : Optional[bool]
64496448
Whether to automatically download all the attachments. Defaults to `false` where all the downloads are canceled.
64506449
videosPath : Optional[str]
6451-
Enables video recording for all pages to `videosPath` folder. If not specified, videos are not recorded.
6450+
Enables video recording for all pages to `videosPath` folder. If not specified, videos are not recorded. Make sure to await `browserContext.close` for videos to be saved.
64526451
videoSize : Optional[{&#34;width&#34;: int, &#34;height&#34;: int}]
64536452
Specifies dimensions of the automatically recorded video. Can only be used if `videosPath` is set. If not specified the size will be equal to `viewport`. If `viewport` is not configured explicitly the video size defaults to 1280x720. Actual picture of the page will be scaled down if necessary to fit specified size.
64546453

@@ -6545,7 +6544,7 @@ <h3>Methods</h3>
65456544
acceptDownloads : Optional[bool]
65466545
Whether to automatically download all the attachments. Defaults to `false` where all the downloads are canceled.
65476546
videosPath : Optional[str]
6548-
Enables video recording for all pages to `videosPath` folder. If not specified, videos are not recorded.
6547+
Enables video recording for all pages to `videosPath` folder. If not specified, videos are not recorded. Make sure to await `page.close` for videos to be saved.
65496548
videoSize : Optional[{&#34;width&#34;: int, &#34;height&#34;: int}]
65506549
Specifies dimensions of the automatically recorded video. Can only be used if `videosPath` is set. If not specified the size will be equal to `viewport`. If `viewport` is not configured explicitly the video size defaults to 1280x720. Actual picture of the page will be scaled down if necessary to fit specified size.
65516550

@@ -6743,7 +6742,7 @@ <h2 id="parameters">Parameters</h2>
67436742
<dt><strong><code>acceptDownloads</code></strong> :&ensp;<code>Optional[bool]</code></dt>
67446743
<dd>Whether to automatically download all the attachments. Defaults to <code>false</code> where all the downloads are canceled.</dd>
67456744
<dt><strong><code>videosPath</code></strong> :&ensp;<code>Optional[str]</code></dt>
6746-
<dd>Enables video recording for all pages to <code>videosPath</code> folder. If not specified, videos are not recorded.</dd>
6745+
<dd>Enables video recording for all pages to <code>videosPath</code> folder. If not specified, videos are not recorded. Make sure to await <code>browserContext.close</code> for videos to be saved.</dd>
67476746
<dt><strong><code>videoSize</code></strong> :&ensp;<code>Optional[{"width": int, "height": int}]</code></dt>
67486747
<dd>Specifies dimensions of the automatically recorded video. Can only be used if <code>videosPath</code> is set. If not specified the size will be equal to <code>viewport</code>. If <code>viewport</code> is not configured explicitly the video size defaults to 1280x720. Actual picture of the page will be scaled down if necessary to fit specified size.</dd>
67496748
</dl>
@@ -6819,7 +6818,7 @@ <h2 id="returns">Returns</h2>
68196818
acceptDownloads : Optional[bool]
68206819
Whether to automatically download all the attachments. Defaults to `false` where all the downloads are canceled.
68216820
videosPath : Optional[str]
6822-
Enables video recording for all pages to `videosPath` folder. If not specified, videos are not recorded.
6821+
Enables video recording for all pages to `videosPath` folder. If not specified, videos are not recorded. Make sure to await `browserContext.close` for videos to be saved.
68236822
videoSize : Optional[{&#34;width&#34;: int, &#34;height&#34;: int}]
68246823
Specifies dimensions of the automatically recorded video. Can only be used if `videosPath` is set. If not specified the size will be equal to `viewport`. If `viewport` is not configured explicitly the video size defaults to 1280x720. Actual picture of the page will be scaled down if necessary to fit specified size.
68256824

@@ -6897,7 +6896,7 @@ <h2 id="parameters">Parameters</h2>
68976896
<dt><strong><code>acceptDownloads</code></strong> :&ensp;<code>Optional[bool]</code></dt>
68986897
<dd>Whether to automatically download all the attachments. Defaults to <code>false</code> where all the downloads are canceled.</dd>
68996898
<dt><strong><code>videosPath</code></strong> :&ensp;<code>Optional[str]</code></dt>
6900-
<dd>Enables video recording for all pages to <code>videosPath</code> folder. If not specified, videos are not recorded.</dd>
6899+
<dd>Enables video recording for all pages to <code>videosPath</code> folder. If not specified, videos are not recorded. Make sure to await <code>page.close</code> for videos to be saved.</dd>
69016900
<dt><strong><code>videoSize</code></strong> :&ensp;<code>Optional[{"width": int, "height": int}]</code></dt>
69026901
<dd>Specifies dimensions of the automatically recorded video. Can only be used if <code>videosPath</code> is set. If not specified the size will be equal to <code>viewport</code>. If <code>viewport</code> is not configured explicitly the video size defaults to 1280x720. Actual picture of the page will be scaled down if necessary to fit specified size.</dd>
69036902
</dl>
@@ -6974,7 +6973,7 @@ <h2 id="returns">Returns</h2>
69746973
acceptDownloads : Optional[bool]
69756974
Whether to automatically download all the attachments. Defaults to `false` where all the downloads are canceled.
69766975
videosPath : Optional[str]
6977-
Enables video recording for all pages to `videosPath` folder. If not specified, videos are not recorded.
6976+
Enables video recording for all pages to `videosPath` folder. If not specified, videos are not recorded. Make sure to await `page.close` for videos to be saved.
69786977
videoSize : Optional[{&#34;width&#34;: int, &#34;height&#34;: int}]
69796978
Specifies dimensions of the automatically recorded video. Can only be used if `videosPath` is set. If not specified the size will be equal to `viewport`. If `viewport` is not configured explicitly the video size defaults to 1280x720. Actual picture of the page will be scaled down if necessary to fit specified size.
69806979

@@ -7144,7 +7143,6 @@ <h2 id="returns">Returns</h2>
71447143
----------
71457144
permissions : List[str]
71467145
A permission or an array of permissions to grant. Permissions can be one of the following values:
7147-
- `&#39;*&#39;`
71487146
- `&#39;geolocation&#39;`
71497147
- `&#39;midi&#39;`
71507148
- `&#39;midi-sysex&#39;` (system-exclusive midi)
@@ -7786,7 +7784,6 @@ <h2 id="parameters">Parameters</h2>
77867784
<dl>
77877785
<dt><strong><code>permissions</code></strong> :&ensp;<code>List[str]</code></dt>
77887786
<dd>A permission or an array of permissions to grant. Permissions can be one of the following values:
7789-
- <code>'*'</code>
77907787
- <code>'geolocation'</code>
77917788
- <code>'midi'</code>
77927789
- <code>'midi-sysex'</code> (system-exclusive midi)
@@ -7821,7 +7818,6 @@ <h2 id="parameters">Parameters</h2>
78217818
----------
78227819
permissions : List[str]
78237820
A permission or an array of permissions to grant. Permissions can be one of the following values:
7824-
- `&#39;*&#39;`
78257821
- `&#39;geolocation&#39;`
78267822
- `&#39;midi&#39;`
78277823
- `&#39;midi-sysex&#39;` (system-exclusive midi)
@@ -8417,7 +8413,7 @@ <h2 id="returns">Returns</h2>
84178413
chromiumSandbox : Optional[bool]
84188414
Enable Chromium sandboxing. Defaults to `true`.
84198415
videosPath : Optional[str]
8420-
Enables video recording for all pages to `videosPath` folder. If not specified, videos are not recorded.
8416+
Enables video recording for all pages to `videosPath` folder. If not specified, videos are not recorded. Make sure to await `browserContext.close` for videos to be saved.
84218417
videoSize : Optional[{&#34;width&#34;: int, &#34;height&#34;: int}]
84228418
Specifies dimensions of the automatically recorded video. Can only be used if `videosPath` is set. If not specified the size will be equal to `viewport`. If `viewport` is not configured explicitly the video size defaults to 1280x720. Actual picture of the page will be scaled down if necessary to fit specified size.
84238419

@@ -8815,7 +8811,7 @@ <h2 id="parameters">Parameters</h2>
88158811
<dt><strong><code>chromiumSandbox</code></strong> :&ensp;<code>Optional[bool]</code></dt>
88168812
<dd>Enable Chromium sandboxing. Defaults to <code>true</code>.</dd>
88178813
<dt><strong><code>videosPath</code></strong> :&ensp;<code>Optional[str]</code></dt>
8818-
<dd>Enables video recording for all pages to <code>videosPath</code> folder. If not specified, videos are not recorded.</dd>
8814+
<dd>Enables video recording for all pages to <code>videosPath</code> folder. If not specified, videos are not recorded. Make sure to await <code>browserContext.close</code> for videos to be saved.</dd>
88198815
<dt><strong><code>videoSize</code></strong> :&ensp;<code>Optional[{"width": int, "height": int}]</code></dt>
88208816
<dd>Specifies dimensions of the automatically recorded video. Can only be used if <code>videosPath</code> is set. If not specified the size will be equal to <code>viewport</code>. If <code>viewport</code> is not configured explicitly the video size defaults to 1280x720. Actual picture of the page will be scaled down if necessary to fit specified size.</dd>
88218817
</dl>
@@ -8935,7 +8931,7 @@ <h2 id="returns">Returns</h2>
89358931
chromiumSandbox : Optional[bool]
89368932
Enable Chromium sandboxing. Defaults to `true`.
89378933
videosPath : Optional[str]
8938-
Enables video recording for all pages to `videosPath` folder. If not specified, videos are not recorded.
8934+
Enables video recording for all pages to `videosPath` folder. If not specified, videos are not recorded. Make sure to await `browserContext.close` for videos to be saved.
89398935
videoSize : Optional[{&#34;width&#34;: int, &#34;height&#34;: int}]
89408936
Specifies dimensions of the automatically recorded video. Can only be used if `videosPath` is set. If not specified the size will be equal to `viewport`. If `viewport` is not configured explicitly the video size defaults to 1280x720. Actual picture of the page will be scaled down if necessary to fit specified size.
89418937

0 commit comments

Comments
 (0)