Skip to content

Commit 641c1d0

Browse files
committed
deploy: f672611
1 parent 86155a4 commit 641c1d0

File tree

2 files changed

+98
-0
lines changed

2 files changed

+98
-0
lines changed

async_api.html

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ <h1 class="title">Module <code>playwright.async_api</code></h1>
7878
PdfMargins,
7979
ProxyServer,
8080
RequestFailure,
81+
ResourceTiming,
8182
SelectOption,
8283
Viewport,
8384
)
@@ -237,6 +238,18 @@ <h1 class="title">Module <code>playwright.async_api</code></h1>
237238
&#34;&#34;&#34;
238239
return mapping.from_maybe_impl(self._impl_obj.failure)
239240

241+
@property
242+
def timing(self) -&gt; ResourceTiming:
243+
&#34;&#34;&#34;Request.timing
244+
245+
Returns resource timing information for given request. Most of the timing values become available upon the response, `responseEnd` becomes available when request finishes. Find more information at Resource Timing API.
246+
247+
Returns
248+
-------
249+
{&#34;startTime&#34;: float, &#34;domainLookupStart&#34;: float, &#34;domainLookupEnd&#34;: float, &#34;connectStart&#34;: float, &#34;secureConnectionStart&#34;: float, &#34;connectEnd&#34;: float, &#34;requestStart&#34;: float, &#34;responseStart&#34;: float, &#34;responseEnd&#34;: float}
250+
&#34;&#34;&#34;
251+
return mapping.from_maybe_impl(self._impl_obj.timing)
252+
240253
async def response(self) -&gt; typing.Union[&#34;Response&#34;, NoneType]:
241254
&#34;&#34;&#34;Request.response
242255

@@ -23123,6 +23136,18 @@ <h3>Methods</h3>
2312323136
&#34;&#34;&#34;
2312423137
return mapping.from_maybe_impl(self._impl_obj.failure)
2312523138

23139+
@property
23140+
def timing(self) -&gt; ResourceTiming:
23141+
&#34;&#34;&#34;Request.timing
23142+
23143+
Returns resource timing information for given request. Most of the timing values become available upon the response, `responseEnd` becomes available when request finishes. Find more information at Resource Timing API.
23144+
23145+
Returns
23146+
-------
23147+
{&#34;startTime&#34;: float, &#34;domainLookupStart&#34;: float, &#34;domainLookupEnd&#34;: float, &#34;connectStart&#34;: float, &#34;secureConnectionStart&#34;: float, &#34;connectEnd&#34;: float, &#34;requestStart&#34;: float, &#34;responseStart&#34;: float, &#34;responseEnd&#34;: float}
23148+
&#34;&#34;&#34;
23149+
return mapping.from_maybe_impl(self._impl_obj.timing)
23150+
2312623151
async def response(self) -&gt; typing.Union[&#34;Response&#34;, NoneType]:
2312723152
&#34;&#34;&#34;Request.response
2312823153

@@ -23415,6 +23440,29 @@ <h2 id="returns">Returns</h2>
2341523440
return mapping.from_maybe_impl(self._impl_obj.resourceType)</code></pre>
2341623441
</details>
2341723442
</dd>
23443+
<dt id="playwright.async_api.Request.timing"><code class="name">var <span class="ident">timing</span> : playwright.helper.ResourceTiming</code></dt>
23444+
<dd>
23445+
<div class="desc"><p>Request.timing</p>
23446+
<p>Returns resource timing information for given request. Most of the timing values become available upon the response, <code>responseEnd</code> becomes available when request finishes. Find more information at Resource Timing API.</p>
23447+
<h2 id="returns">Returns</h2>
23448+
<p>{"startTime": float, "domainLookupStart": float, "domainLookupEnd": float, "connectStart": float, "secureConnectionStart": float, "connectEnd": float, "requestStart": float, "responseStart": float, "responseEnd": float}</p></div>
23449+
<details class="source">
23450+
<summary>
23451+
<span>Expand source code</span>
23452+
</summary>
23453+
<pre><code class="python">@property
23454+
def timing(self) -&gt; ResourceTiming:
23455+
&#34;&#34;&#34;Request.timing
23456+
23457+
Returns resource timing information for given request. Most of the timing values become available upon the response, `responseEnd` becomes available when request finishes. Find more information at Resource Timing API.
23458+
23459+
Returns
23460+
-------
23461+
{&#34;startTime&#34;: float, &#34;domainLookupStart&#34;: float, &#34;domainLookupEnd&#34;: float, &#34;connectStart&#34;: float, &#34;secureConnectionStart&#34;: float, &#34;connectEnd&#34;: float, &#34;requestStart&#34;: float, &#34;responseStart&#34;: float, &#34;responseEnd&#34;: float}
23462+
&#34;&#34;&#34;
23463+
return mapping.from_maybe_impl(self._impl_obj.timing)</code></pre>
23464+
</details>
23465+
</dd>
2341823466
<dt id="playwright.async_api.Request.url"><code class="name">var <span class="ident">url</span> : str</code></dt>
2341923467
<dd>
2342023468
<div class="desc"><p>Request.url</p>
@@ -25044,6 +25092,7 @@ <h4><code><a title="playwright.async_api.Request" href="#playwright.async_api.Re
2504425092
<li><code><a title="playwright.async_api.Request.redirectedTo" href="#playwright.async_api.Request.redirectedTo">redirectedTo</a></code></li>
2504525093
<li><code><a title="playwright.async_api.Request.resourceType" href="#playwright.async_api.Request.resourceType">resourceType</a></code></li>
2504625094
<li><code><a title="playwright.async_api.Request.response" href="#playwright.async_api.Request.response">response</a></code></li>
25095+
<li><code><a title="playwright.async_api.Request.timing" href="#playwright.async_api.Request.timing">timing</a></code></li>
2504725096
<li><code><a title="playwright.async_api.Request.url" href="#playwright.async_api.Request.url">url</a></code></li>
2504825097
</ul>
2504925098
</li>

sync_api.html

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ <h1 class="title">Module <code>playwright.sync_api</code></h1>
7777
PdfMargins,
7878
ProxyServer,
7979
RequestFailure,
80+
ResourceTiming,
8081
SelectOption,
8182
Viewport,
8283
)
@@ -237,6 +238,18 @@ <h1 class="title">Module <code>playwright.sync_api</code></h1>
237238
&#34;&#34;&#34;
238239
return mapping.from_maybe_impl(self._impl_obj.failure)
239240

241+
@property
242+
def timing(self) -&gt; ResourceTiming:
243+
&#34;&#34;&#34;Request.timing
244+
245+
Returns resource timing information for given request. Most of the timing values become available upon the response, `responseEnd` becomes available when request finishes. Find more information at Resource Timing API.
246+
247+
Returns
248+
-------
249+
{&#34;startTime&#34;: float, &#34;domainLookupStart&#34;: float, &#34;domainLookupEnd&#34;: float, &#34;connectStart&#34;: float, &#34;secureConnectionStart&#34;: float, &#34;connectEnd&#34;: float, &#34;requestStart&#34;: float, &#34;responseStart&#34;: float, &#34;responseEnd&#34;: float}
250+
&#34;&#34;&#34;
251+
return mapping.from_maybe_impl(self._impl_obj.timing)
252+
240253
def response(self) -&gt; typing.Union[&#34;Response&#34;, NoneType]:
241254
&#34;&#34;&#34;Request.response
242255

@@ -23829,6 +23842,18 @@ <h3>Methods</h3>
2382923842
&#34;&#34;&#34;
2383023843
return mapping.from_maybe_impl(self._impl_obj.failure)
2383123844

23845+
@property
23846+
def timing(self) -&gt; ResourceTiming:
23847+
&#34;&#34;&#34;Request.timing
23848+
23849+
Returns resource timing information for given request. Most of the timing values become available upon the response, `responseEnd` becomes available when request finishes. Find more information at Resource Timing API.
23850+
23851+
Returns
23852+
-------
23853+
{&#34;startTime&#34;: float, &#34;domainLookupStart&#34;: float, &#34;domainLookupEnd&#34;: float, &#34;connectStart&#34;: float, &#34;secureConnectionStart&#34;: float, &#34;connectEnd&#34;: float, &#34;requestStart&#34;: float, &#34;responseStart&#34;: float, &#34;responseEnd&#34;: float}
23854+
&#34;&#34;&#34;
23855+
return mapping.from_maybe_impl(self._impl_obj.timing)
23856+
2383223857
def response(self) -&gt; typing.Union[&#34;Response&#34;, NoneType]:
2383323858
&#34;&#34;&#34;Request.response
2383423859

@@ -24121,6 +24146,29 @@ <h2 id="returns">Returns</h2>
2412124146
return mapping.from_maybe_impl(self._impl_obj.resourceType)</code></pre>
2412224147
</details>
2412324148
</dd>
24149+
<dt id="playwright.sync_api.Request.timing"><code class="name">var <span class="ident">timing</span> : playwright.helper.ResourceTiming</code></dt>
24150+
<dd>
24151+
<div class="desc"><p>Request.timing</p>
24152+
<p>Returns resource timing information for given request. Most of the timing values become available upon the response, <code>responseEnd</code> becomes available when request finishes. Find more information at Resource Timing API.</p>
24153+
<h2 id="returns">Returns</h2>
24154+
<p>{"startTime": float, "domainLookupStart": float, "domainLookupEnd": float, "connectStart": float, "secureConnectionStart": float, "connectEnd": float, "requestStart": float, "responseStart": float, "responseEnd": float}</p></div>
24155+
<details class="source">
24156+
<summary>
24157+
<span>Expand source code</span>
24158+
</summary>
24159+
<pre><code class="python">@property
24160+
def timing(self) -&gt; ResourceTiming:
24161+
&#34;&#34;&#34;Request.timing
24162+
24163+
Returns resource timing information for given request. Most of the timing values become available upon the response, `responseEnd` becomes available when request finishes. Find more information at Resource Timing API.
24164+
24165+
Returns
24166+
-------
24167+
{&#34;startTime&#34;: float, &#34;domainLookupStart&#34;: float, &#34;domainLookupEnd&#34;: float, &#34;connectStart&#34;: float, &#34;secureConnectionStart&#34;: float, &#34;connectEnd&#34;: float, &#34;requestStart&#34;: float, &#34;responseStart&#34;: float, &#34;responseEnd&#34;: float}
24168+
&#34;&#34;&#34;
24169+
return mapping.from_maybe_impl(self._impl_obj.timing)</code></pre>
24170+
</details>
24171+
</dd>
2412424172
<dt id="playwright.sync_api.Request.url"><code class="name">var <span class="ident">url</span> : str</code></dt>
2412524173
<dd>
2412624174
<div class="desc"><p>Request.url</p>
@@ -25782,6 +25830,7 @@ <h4><code><a title="playwright.sync_api.Request" href="#playwright.sync_api.Requ
2578225830
<li><code><a title="playwright.sync_api.Request.redirectedTo" href="#playwright.sync_api.Request.redirectedTo">redirectedTo</a></code></li>
2578325831
<li><code><a title="playwright.sync_api.Request.resourceType" href="#playwright.sync_api.Request.resourceType">resourceType</a></code></li>
2578425832
<li><code><a title="playwright.sync_api.Request.response" href="#playwright.sync_api.Request.response">response</a></code></li>
25833+
<li><code><a title="playwright.sync_api.Request.timing" href="#playwright.sync_api.Request.timing">timing</a></code></li>
2578525834
<li><code><a title="playwright.sync_api.Request.url" href="#playwright.sync_api.Request.url">url</a></code></li>
2578625835
</ul>
2578725836
</li>

0 commit comments

Comments
 (0)