Skip to content

Commit 6d91f5e

Browse files
committed
deploy: 2794a3b
1 parent 5733a3e commit 6d91f5e

File tree

4 files changed

+432
-0
lines changed

4 files changed

+432
-0
lines changed

async_api.html

Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ <h1 class="title">Module <code>playwright.async_api</code></h1>
9292
from playwright.page import Worker as WorkerImpl
9393
from playwright.playwright import Playwright as PlaywrightImpl
9494
from playwright.selectors import Selectors as SelectorsImpl
95+
from playwright.video import Video as VideoImpl
9596

9697
NoneType = type(None)
9798

@@ -3155,6 +3156,25 @@ <h1 class="title">Module <code>playwright.async_api</code></h1>
31553156
mapping.register(DownloadImpl, Download)
31563157

31573158

3159+
class Video(AsyncBase):
3160+
def __init__(self, obj: VideoImpl):
3161+
super().__init__(obj)
3162+
3163+
async def path(self) -&gt; str:
3164+
&#34;&#34;&#34;Video.path
3165+
3166+
Returns the file system path this video will be recorded to. The video is guaranteed to be written to the filesystem upon closing the browser context.
3167+
3168+
Returns
3169+
-------
3170+
str
3171+
&#34;&#34;&#34;
3172+
return mapping.from_maybe_impl(await self._impl_obj.path())
3173+
3174+
3175+
mapping.register(VideoImpl, Video)
3176+
3177+
31583178
class BindingCall(AsyncBase):
31593179
def __init__(self, obj: BindingCallImpl):
31603180
super().__init__(obj)
@@ -3263,6 +3283,18 @@ <h1 class="title">Module <code>playwright.async_api</code></h1>
32633283
&#34;&#34;&#34;
32643284
return mapping.from_impl_list(self._impl_obj.workers)
32653285

3286+
@property
3287+
def video(self) -&gt; typing.Union[&#34;Video&#34;, NoneType]:
3288+
&#34;&#34;&#34;Page.video
3289+
3290+
Video object associated with this page.
3291+
3292+
Returns
3293+
-------
3294+
Optional[Video]
3295+
&#34;&#34;&#34;
3296+
return mapping.from_impl_nullable(self._impl_obj.video)
3297+
32663298
def remove_listener(self, event: str, f: typing.Any) -&gt; NoneType:
32673299
return mapping.from_maybe_impl(
32683300
self._impl_obj.remove_listener(event=event, f=mapping.to_impl(f))
@@ -16724,6 +16756,18 @@ <h2 id="parameters">Parameters</h2>
1672416756
&#34;&#34;&#34;
1672516757
return mapping.from_impl_list(self._impl_obj.workers)
1672616758

16759+
@property
16760+
def video(self) -&gt; typing.Union[&#34;Video&#34;, NoneType]:
16761+
&#34;&#34;&#34;Page.video
16762+
16763+
Video object associated with this page.
16764+
16765+
Returns
16766+
-------
16767+
Optional[Video]
16768+
&#34;&#34;&#34;
16769+
return mapping.from_impl_nullable(self._impl_obj.video)
16770+
1672716771
def remove_listener(self, event: str, f: typing.Any) -&gt; NoneType:
1672816772
return mapping.from_maybe_impl(
1672916773
self._impl_obj.remove_listener(event=event, f=mapping.to_impl(f))
@@ -18732,6 +18776,32 @@ <h2 id="returns">Returns</h2>
1873218776
return mapping.from_maybe_impl(self._impl_obj.url)</code></pre>
1873318777
</details>
1873418778
</dd>
18779+
<dt id="playwright.async_api.Page.video"><code class="name">var <span class="ident">video</span> : Union[<a title="playwright.async_api.Video" href="#playwright.async_api.Video">Video</a>, NoneType]</code></dt>
18780+
<dd>
18781+
<div class="desc"><p>Page.video</p>
18782+
<p>Video object associated with this page.</p>
18783+
<h2 id="returns">Returns</h2>
18784+
<dl>
18785+
<dt><code>Optional[<a title="playwright.async_api.Video" href="#playwright.async_api.Video">Video</a>]</code></dt>
18786+
<dd>&nbsp;</dd>
18787+
</dl></div>
18788+
<details class="source">
18789+
<summary>
18790+
<span>Expand source code</span>
18791+
</summary>
18792+
<pre><code class="python">@property
18793+
def video(self) -&gt; typing.Union[&#34;Video&#34;, NoneType]:
18794+
&#34;&#34;&#34;Page.video
18795+
18796+
Video object associated with this page.
18797+
18798+
Returns
18799+
-------
18800+
Optional[Video]
18801+
&#34;&#34;&#34;
18802+
return mapping.from_impl_nullable(self._impl_obj.video)</code></pre>
18803+
</details>
18804+
</dd>
1873518805
<dt id="playwright.async_api.Page.workers"><code class="name">var <span class="ident">workers</span> : List[<a title="playwright.async_api.Worker" href="#playwright.async_api.Worker">Worker</a>]</code></dt>
1873618806
<dd>
1873718807
<div class="desc"><p>Page.workers</p>
@@ -23657,6 +23727,67 @@ <h2 id="parameters">Parameters</h2>
2365723727
</dd>
2365823728
</dl>
2365923729
</dd>
23730+
<dt id="playwright.async_api.Video"><code class="flex name class">
23731+
<span>class <span class="ident">Video</span></span>
23732+
<span>(</span><span>obj: <a title="playwright.video.Video" href="video.html#playwright.video.Video">Video</a>)</span>
23733+
</code></dt>
23734+
<dd>
23735+
<div class="desc"></div>
23736+
<details class="source">
23737+
<summary>
23738+
<span>Expand source code</span>
23739+
</summary>
23740+
<pre><code class="python">class Video(AsyncBase):
23741+
def __init__(self, obj: VideoImpl):
23742+
super().__init__(obj)
23743+
23744+
async def path(self) -&gt; str:
23745+
&#34;&#34;&#34;Video.path
23746+
23747+
Returns the file system path this video will be recorded to. The video is guaranteed to be written to the filesystem upon closing the browser context.
23748+
23749+
Returns
23750+
-------
23751+
str
23752+
&#34;&#34;&#34;
23753+
return mapping.from_maybe_impl(await self._impl_obj.path())</code></pre>
23754+
</details>
23755+
<h3>Ancestors</h3>
23756+
<ul class="hlist">
23757+
<li>playwright.async_base.AsyncBase</li>
23758+
<li>playwright.impl_to_api_mapping.ImplWrapper</li>
23759+
</ul>
23760+
<h3>Methods</h3>
23761+
<dl>
23762+
<dt id="playwright.async_api.Video.path"><code class="name flex">
23763+
<span>async def <span class="ident">path</span></span>(<span>self) ‑> str</span>
23764+
</code></dt>
23765+
<dd>
23766+
<div class="desc"><p>Video.path</p>
23767+
<p>Returns the file system path this video will be recorded to. The video is guaranteed to be written to the filesystem upon closing the browser context.</p>
23768+
<h2 id="returns">Returns</h2>
23769+
<dl>
23770+
<dt><code>str</code></dt>
23771+
<dd>&nbsp;</dd>
23772+
</dl></div>
23773+
<details class="source">
23774+
<summary>
23775+
<span>Expand source code</span>
23776+
</summary>
23777+
<pre><code class="python">async def path(self) -&gt; str:
23778+
&#34;&#34;&#34;Video.path
23779+
23780+
Returns the file system path this video will be recorded to. The video is guaranteed to be written to the filesystem upon closing the browser context.
23781+
23782+
Returns
23783+
-------
23784+
str
23785+
&#34;&#34;&#34;
23786+
return mapping.from_maybe_impl(await self._impl_obj.path())</code></pre>
23787+
</details>
23788+
</dd>
23789+
</dl>
23790+
</dd>
2366023791
<dt id="playwright.async_api.Worker"><code class="flex name class">
2366123792
<span>class <span class="ident">Worker</span></span>
2366223793
<span>(</span><span>obj: playwright.page.Worker)</span>
@@ -24194,6 +24325,7 @@ <h4><code><a title="playwright.async_api.Page" href="#playwright.async_api.Page"
2419424325
<li><code><a title="playwright.async_api.Page.uncheck" href="#playwright.async_api.Page.uncheck">uncheck</a></code></li>
2419524326
<li><code><a title="playwright.async_api.Page.unroute" href="#playwright.async_api.Page.unroute">unroute</a></code></li>
2419624327
<li><code><a title="playwright.async_api.Page.url" href="#playwright.async_api.Page.url">url</a></code></li>
24328+
<li><code><a title="playwright.async_api.Page.video" href="#playwright.async_api.Page.video">video</a></code></li>
2419724329
<li><code><a title="playwright.async_api.Page.viewportSize" href="#playwright.async_api.Page.viewportSize">viewportSize</a></code></li>
2419824330
<li><code><a title="playwright.async_api.Page.waitForEvent" href="#playwright.async_api.Page.waitForEvent">waitForEvent</a></code></li>
2419924331
<li><code><a title="playwright.async_api.Page.waitForFunction" href="#playwright.async_api.Page.waitForFunction">waitForFunction</a></code></li>
@@ -24267,6 +24399,12 @@ <h4><code><a title="playwright.async_api.Selectors" href="#playwright.async_api.
2426724399
</ul>
2426824400
</li>
2426924401
<li>
24402+
<h4><code><a title="playwright.async_api.Video" href="#playwright.async_api.Video">Video</a></code></h4>
24403+
<ul class="">
24404+
<li><code><a title="playwright.async_api.Video.path" href="#playwright.async_api.Video.path">path</a></code></li>
24405+
</ul>
24406+
</li>
24407+
<li>
2427024408
<h4><code><a title="playwright.async_api.Worker" href="#playwright.async_api.Worker">Worker</a></code></h4>
2427124409
<ul class="">
2427224410
<li><code><a title="playwright.async_api.Worker.evaluate" href="#playwright.async_api.Worker.evaluate">evaluate</a></code></li>

index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,10 @@ <h2 class="section-title" id="header-submodules">Sub-modules</h2>
121121
<dd>
122122
<div class="desc"></div>
123123
</dd>
124+
<dt><code class="name"><a title="playwright.video" href="video.html">playwright.video</a></code></dt>
125+
<dd>
126+
<div class="desc"></div>
127+
</dd>
124128
</dl>
125129
</section>
126130
<section>

sync_api.html

Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ <h1 class="title">Module <code>playwright.sync_api</code></h1>
9292
from playwright.playwright import Playwright as PlaywrightImpl
9393
from playwright.selectors import Selectors as SelectorsImpl
9494
from playwright.sync_base import EventContextManager, SyncBase, mapping
95+
from playwright.video import Video as VideoImpl
9596

9697
NoneType = type(None)
9798

@@ -3283,6 +3284,25 @@ <h1 class="title">Module <code>playwright.sync_api</code></h1>
32833284
mapping.register(DownloadImpl, Download)
32843285

32853286

3287+
class Video(SyncBase):
3288+
def __init__(self, obj: VideoImpl):
3289+
super().__init__(obj)
3290+
3291+
def path(self) -&gt; str:
3292+
&#34;&#34;&#34;Video.path
3293+
3294+
Returns the file system path this video will be recorded to. The video is guaranteed to be written to the filesystem upon closing the browser context.
3295+
3296+
Returns
3297+
-------
3298+
str
3299+
&#34;&#34;&#34;
3300+
return mapping.from_maybe_impl(self._sync(self._impl_obj.path()))
3301+
3302+
3303+
mapping.register(VideoImpl, Video)
3304+
3305+
32863306
class BindingCall(SyncBase):
32873307
def __init__(self, obj: BindingCallImpl):
32883308
super().__init__(obj)
@@ -3391,6 +3411,18 @@ <h1 class="title">Module <code>playwright.sync_api</code></h1>
33913411
&#34;&#34;&#34;
33923412
return mapping.from_impl_list(self._impl_obj.workers)
33933413

3414+
@property
3415+
def video(self) -&gt; typing.Union[&#34;Video&#34;, NoneType]:
3416+
&#34;&#34;&#34;Page.video
3417+
3418+
Video object associated with this page.
3419+
3420+
Returns
3421+
-------
3422+
Optional[Video]
3423+
&#34;&#34;&#34;
3424+
return mapping.from_impl_nullable(self._impl_obj.video)
3425+
33943426
def remove_listener(self, event: str, f: typing.Any) -&gt; NoneType:
33953427
return mapping.from_maybe_impl(
33963428
self._impl_obj.remove_listener(event=event, f=mapping.to_impl(f))
@@ -17244,6 +17276,18 @@ <h2 id="parameters">Parameters</h2>
1724417276
&#34;&#34;&#34;
1724517277
return mapping.from_impl_list(self._impl_obj.workers)
1724617278

17279+
@property
17280+
def video(self) -&gt; typing.Union[&#34;Video&#34;, NoneType]:
17281+
&#34;&#34;&#34;Page.video
17282+
17283+
Video object associated with this page.
17284+
17285+
Returns
17286+
-------
17287+
Optional[Video]
17288+
&#34;&#34;&#34;
17289+
return mapping.from_impl_nullable(self._impl_obj.video)
17290+
1724717291
def remove_listener(self, event: str, f: typing.Any) -&gt; NoneType:
1724817292
return mapping.from_maybe_impl(
1724917293
self._impl_obj.remove_listener(event=event, f=mapping.to_impl(f))
@@ -19336,6 +19380,32 @@ <h2 id="returns">Returns</h2>
1933619380
return mapping.from_maybe_impl(self._impl_obj.url)</code></pre>
1933719381
</details>
1933819382
</dd>
19383+
<dt id="playwright.sync_api.Page.video"><code class="name">var <span class="ident">video</span> : Union[<a title="playwright.async_api.Video" href="async_api.html#playwright.async_api.Video">Video</a>, NoneType]</code></dt>
19384+
<dd>
19385+
<div class="desc"><p>Page.video</p>
19386+
<p>Video object associated with this page.</p>
19387+
<h2 id="returns">Returns</h2>
19388+
<dl>
19389+
<dt><code>Optional[<a title="playwright.sync_api.Video" href="#playwright.sync_api.Video">Video</a>]</code></dt>
19390+
<dd>&nbsp;</dd>
19391+
</dl></div>
19392+
<details class="source">
19393+
<summary>
19394+
<span>Expand source code</span>
19395+
</summary>
19396+
<pre><code class="python">@property
19397+
def video(self) -&gt; typing.Union[&#34;Video&#34;, NoneType]:
19398+
&#34;&#34;&#34;Page.video
19399+
19400+
Video object associated with this page.
19401+
19402+
Returns
19403+
-------
19404+
Optional[Video]
19405+
&#34;&#34;&#34;
19406+
return mapping.from_impl_nullable(self._impl_obj.video)</code></pre>
19407+
</details>
19408+
</dd>
1933919409
<dt id="playwright.sync_api.Page.workers"><code class="name">var <span class="ident">workers</span> : List[<a title="playwright.async_api.Worker" href="async_api.html#playwright.async_api.Worker">Worker</a>]</code></dt>
1934019410
<dd>
1934119411
<div class="desc"><p>Page.workers</p>
@@ -24361,6 +24431,67 @@ <h2 id="parameters">Parameters</h2>
2436124431
</dd>
2436224432
</dl>
2436324433
</dd>
24434+
<dt id="playwright.sync_api.Video"><code class="flex name class">
24435+
<span>class <span class="ident">Video</span></span>
24436+
<span>(</span><span>obj: <a title="playwright.video.Video" href="video.html#playwright.video.Video">Video</a>)</span>
24437+
</code></dt>
24438+
<dd>
24439+
<div class="desc"></div>
24440+
<details class="source">
24441+
<summary>
24442+
<span>Expand source code</span>
24443+
</summary>
24444+
<pre><code class="python">class Video(SyncBase):
24445+
def __init__(self, obj: VideoImpl):
24446+
super().__init__(obj)
24447+
24448+
def path(self) -&gt; str:
24449+
&#34;&#34;&#34;Video.path
24450+
24451+
Returns the file system path this video will be recorded to. The video is guaranteed to be written to the filesystem upon closing the browser context.
24452+
24453+
Returns
24454+
-------
24455+
str
24456+
&#34;&#34;&#34;
24457+
return mapping.from_maybe_impl(self._sync(self._impl_obj.path()))</code></pre>
24458+
</details>
24459+
<h3>Ancestors</h3>
24460+
<ul class="hlist">
24461+
<li>playwright.sync_base.SyncBase</li>
24462+
<li>playwright.impl_to_api_mapping.ImplWrapper</li>
24463+
</ul>
24464+
<h3>Methods</h3>
24465+
<dl>
24466+
<dt id="playwright.sync_api.Video.path"><code class="name flex">
24467+
<span>def <span class="ident">path</span></span>(<span>self) ‑> str</span>
24468+
</code></dt>
24469+
<dd>
24470+
<div class="desc"><p>Video.path</p>
24471+
<p>Returns the file system path this video will be recorded to. The video is guaranteed to be written to the filesystem upon closing the browser context.</p>
24472+
<h2 id="returns">Returns</h2>
24473+
<dl>
24474+
<dt><code>str</code></dt>
24475+
<dd>&nbsp;</dd>
24476+
</dl></div>
24477+
<details class="source">
24478+
<summary>
24479+
<span>Expand source code</span>
24480+
</summary>
24481+
<pre><code class="python">def path(self) -&gt; str:
24482+
&#34;&#34;&#34;Video.path
24483+
24484+
Returns the file system path this video will be recorded to. The video is guaranteed to be written to the filesystem upon closing the browser context.
24485+
24486+
Returns
24487+
-------
24488+
str
24489+
&#34;&#34;&#34;
24490+
return mapping.from_maybe_impl(self._sync(self._impl_obj.path()))</code></pre>
24491+
</details>
24492+
</dd>
24493+
</dl>
24494+
</dd>
2436424495
<dt id="playwright.sync_api.Worker"><code class="flex name class">
2436524496
<span>class <span class="ident">Worker</span></span>
2436624497
<span>(</span><span>obj: playwright.page.Worker)</span>
@@ -24914,6 +25045,7 @@ <h4><code><a title="playwright.sync_api.Page" href="#playwright.sync_api.Page">P
2491425045
<li><code><a title="playwright.sync_api.Page.uncheck" href="#playwright.sync_api.Page.uncheck">uncheck</a></code></li>
2491525046
<li><code><a title="playwright.sync_api.Page.unroute" href="#playwright.sync_api.Page.unroute">unroute</a></code></li>
2491625047
<li><code><a title="playwright.sync_api.Page.url" href="#playwright.sync_api.Page.url">url</a></code></li>
25048+
<li><code><a title="playwright.sync_api.Page.video" href="#playwright.sync_api.Page.video">video</a></code></li>
2491725049
<li><code><a title="playwright.sync_api.Page.viewportSize" href="#playwright.sync_api.Page.viewportSize">viewportSize</a></code></li>
2491825050
<li><code><a title="playwright.sync_api.Page.waitForEvent" href="#playwright.sync_api.Page.waitForEvent">waitForEvent</a></code></li>
2491925051
<li><code><a title="playwright.sync_api.Page.waitForFunction" href="#playwright.sync_api.Page.waitForFunction">waitForFunction</a></code></li>
@@ -24987,6 +25119,12 @@ <h4><code><a title="playwright.sync_api.Selectors" href="#playwright.sync_api.Se
2498725119
</ul>
2498825120
</li>
2498925121
<li>
25122+
<h4><code><a title="playwright.sync_api.Video" href="#playwright.sync_api.Video">Video</a></code></h4>
25123+
<ul class="">
25124+
<li><code><a title="playwright.sync_api.Video.path" href="#playwright.sync_api.Video.path">path</a></code></li>
25125+
</ul>
25126+
</li>
25127+
<li>
2499025128
<h4><code><a title="playwright.sync_api.Worker" href="#playwright.sync_api.Worker">Worker</a></code></h4>
2499125129
<ul class="">
2499225130
<li><code><a title="playwright.sync_api.Worker.evaluate" href="#playwright.sync_api.Worker.evaluate">evaluate</a></code></li>

0 commit comments

Comments
 (0)