Skip to content

Commit 49f51b1

Browse files
committed
deploy: aa6790e
1 parent 2cdf9cf commit 49f51b1

File tree

2 files changed

+0
-214
lines changed

2 files changed

+0
-214
lines changed

async_api.html

Lines changed: 0 additions & 104 deletions
Original file line numberDiff line numberDiff line change
@@ -6338,32 +6338,6 @@ <h1 class="title">Module <code>playwright.async_api</code></h1>
63386338
)
63396339
)
63406340

6341-
async def connect(
6342-
self, wsEndpoint: str, slowMo: int = None, timeout: int = None
6343-
) -&gt; &#34;Browser&#34;:
6344-
&#34;&#34;&#34;BrowserType.connect
6345-
6346-
This methods attaches Playwright to an existing browser instance.
6347-
6348-
Parameters
6349-
----------
6350-
wsEndpoint : str
6351-
A browser websocket endpoint to connect to. **required**
6352-
slowMo : Optional[int]
6353-
Slows down Playwright operations by the specified amount of milliseconds. Useful so that you can see what is going on. Defaults to 0.
6354-
timeout : Optional[int]
6355-
Maximum time in milliseconds to wait for the connection to be established. Defaults to `30000` (30 seconds). Pass `0` to disable timeout.
6356-
6357-
Returns
6358-
-------
6359-
Browser
6360-
&#34;&#34;&#34;
6361-
return mapping.from_impl(
6362-
await self._impl_obj.connect(
6363-
wsEndpoint=wsEndpoint, slowMo=slowMo, timeout=timeout
6364-
)
6365-
)
6366-
63676341

63686342
mapping.register(BrowserTypeImpl, BrowserType)
63696343

@@ -8735,32 +8709,6 @@ <h2 id="returns">Returns</h2>
87358709
videoSize=videoSize,
87368710
recordHar=recordHar,
87378711
)
8738-
)
8739-
8740-
async def connect(
8741-
self, wsEndpoint: str, slowMo: int = None, timeout: int = None
8742-
) -&gt; &#34;Browser&#34;:
8743-
&#34;&#34;&#34;BrowserType.connect
8744-
8745-
This methods attaches Playwright to an existing browser instance.
8746-
8747-
Parameters
8748-
----------
8749-
wsEndpoint : str
8750-
A browser websocket endpoint to connect to. **required**
8751-
slowMo : Optional[int]
8752-
Slows down Playwright operations by the specified amount of milliseconds. Useful so that you can see what is going on. Defaults to 0.
8753-
timeout : Optional[int]
8754-
Maximum time in milliseconds to wait for the connection to be established. Defaults to `30000` (30 seconds). Pass `0` to disable timeout.
8755-
8756-
Returns
8757-
-------
8758-
Browser
8759-
&#34;&#34;&#34;
8760-
return mapping.from_impl(
8761-
await self._impl_obj.connect(
8762-
wsEndpoint=wsEndpoint, slowMo=slowMo, timeout=timeout
8763-
)
87648712
)</code></pre>
87658713
</details>
87668714
<h3>Ancestors</h3>
@@ -8823,57 +8771,6 @@ <h2 id="returns">Returns</h2>
88238771
</dl>
88248772
<h3>Methods</h3>
88258773
<dl>
8826-
<dt id="playwright.async_api.BrowserType.connect"><code class="name flex">
8827-
<span>async def <span class="ident">connect</span></span>(<span>self, wsEndpoint: str, slowMo: int = None, timeout: int = None) ‑> <a title="playwright.async_api.Browser" href="#playwright.async_api.Browser">Browser</a></span>
8828-
</code></dt>
8829-
<dd>
8830-
<div class="desc"><p>BrowserType.connect</p>
8831-
<p>This methods attaches Playwright to an existing browser instance.</p>
8832-
<h2 id="parameters">Parameters</h2>
8833-
<dl>
8834-
<dt><strong><code>wsEndpoint</code></strong> :&ensp;<code>str</code></dt>
8835-
<dd>A browser websocket endpoint to connect to. <strong>required</strong></dd>
8836-
<dt><strong><code>slowMo</code></strong> :&ensp;<code>Optional[int]</code></dt>
8837-
<dd>Slows down Playwright operations by the specified amount of milliseconds. Useful so that you can see what is going on. Defaults to 0.</dd>
8838-
<dt><strong><code>timeout</code></strong> :&ensp;<code>Optional[int]</code></dt>
8839-
<dd>Maximum time in milliseconds to wait for the connection to be established. Defaults to <code>30000</code> (30 seconds). Pass <code>0</code> to disable timeout.</dd>
8840-
</dl>
8841-
<h2 id="returns">Returns</h2>
8842-
<dl>
8843-
<dt><code><a title="playwright.async_api.Browser" href="#playwright.async_api.Browser">Browser</a></code></dt>
8844-
<dd>&nbsp;</dd>
8845-
</dl></div>
8846-
<details class="source">
8847-
<summary>
8848-
<span>Expand source code</span>
8849-
</summary>
8850-
<pre><code class="python">async def connect(
8851-
self, wsEndpoint: str, slowMo: int = None, timeout: int = None
8852-
) -&gt; &#34;Browser&#34;:
8853-
&#34;&#34;&#34;BrowserType.connect
8854-
8855-
This methods attaches Playwright to an existing browser instance.
8856-
8857-
Parameters
8858-
----------
8859-
wsEndpoint : str
8860-
A browser websocket endpoint to connect to. **required**
8861-
slowMo : Optional[int]
8862-
Slows down Playwright operations by the specified amount of milliseconds. Useful so that you can see what is going on. Defaults to 0.
8863-
timeout : Optional[int]
8864-
Maximum time in milliseconds to wait for the connection to be established. Defaults to `30000` (30 seconds). Pass `0` to disable timeout.
8865-
8866-
Returns
8867-
-------
8868-
Browser
8869-
&#34;&#34;&#34;
8870-
return mapping.from_impl(
8871-
await self._impl_obj.connect(
8872-
wsEndpoint=wsEndpoint, slowMo=slowMo, timeout=timeout
8873-
)
8874-
)</code></pre>
8875-
</details>
8876-
</dd>
88778774
<dt id="playwright.async_api.BrowserType.launch"><code class="name flex">
88788775
<span>async def <span class="ident">launch</span></span>(<span>self, executablePath: Union[str, pathlib.Path] = None, args: List[str] = None, ignoreDefaultArgs: Union[bool, List[str]] = None, handleSIGINT: bool = None, handleSIGTERM: bool = None, handleSIGHUP: bool = None, timeout: int = None, env: Dict[str, Union[str, int, bool]] = None, headless: bool = None, devtools: bool = None, proxy: playwright.helper.ProxyServer = None, downloadsPath: Union[str, pathlib.Path] = None, slowMo: int = None, chromiumSandbox: bool = None, firefoxUserPrefs: Dict[str, Union[str, int, bool]] = None) ‑> <a title="playwright.async_api.Browser" href="#playwright.async_api.Browser">Browser</a></span>
88798776
</code></dt>
@@ -24932,7 +24829,6 @@ <h4><code><a title="playwright.async_api.BrowserContext" href="#playwright.async
2493224829
<li>
2493324830
<h4><code><a title="playwright.async_api.BrowserType" href="#playwright.async_api.BrowserType">BrowserType</a></code></h4>
2493424831
<ul class="">
24935-
<li><code><a title="playwright.async_api.BrowserType.connect" href="#playwright.async_api.BrowserType.connect">connect</a></code></li>
2493624832
<li><code><a title="playwright.async_api.BrowserType.executablePath" href="#playwright.async_api.BrowserType.executablePath">executablePath</a></code></li>
2493724833
<li><code><a title="playwright.async_api.BrowserType.launch" href="#playwright.async_api.BrowserType.launch">launch</a></code></li>
2493824834
<li><code><a title="playwright.async_api.BrowserType.launchPersistentContext" href="#playwright.async_api.BrowserType.launchPersistentContext">launchPersistentContext</a></code></li>

sync_api.html

Lines changed: 0 additions & 110 deletions
Original file line numberDiff line numberDiff line change
@@ -6582,34 +6582,6 @@ <h1 class="title">Module <code>playwright.sync_api</code></h1>
65826582
)
65836583
)
65846584

6585-
def connect(
6586-
self, wsEndpoint: str, slowMo: int = None, timeout: int = None
6587-
) -&gt; &#34;Browser&#34;:
6588-
&#34;&#34;&#34;BrowserType.connect
6589-
6590-
This methods attaches Playwright to an existing browser instance.
6591-
6592-
Parameters
6593-
----------
6594-
wsEndpoint : str
6595-
A browser websocket endpoint to connect to. **required**
6596-
slowMo : Optional[int]
6597-
Slows down Playwright operations by the specified amount of milliseconds. Useful so that you can see what is going on. Defaults to 0.
6598-
timeout : Optional[int]
6599-
Maximum time in milliseconds to wait for the connection to be established. Defaults to `30000` (30 seconds). Pass `0` to disable timeout.
6600-
6601-
Returns
6602-
-------
6603-
Browser
6604-
&#34;&#34;&#34;
6605-
return mapping.from_impl(
6606-
self._sync(
6607-
self._impl_obj.connect(
6608-
wsEndpoint=wsEndpoint, slowMo=slowMo, timeout=timeout
6609-
)
6610-
)
6611-
)
6612-
66136585

66146586
mapping.register(BrowserTypeImpl, BrowserType)
66156587

@@ -9029,34 +9001,6 @@ <h2 id="returns">Returns</h2>
90299001
recordHar=recordHar,
90309002
)
90319003
)
9032-
)
9033-
9034-
def connect(
9035-
self, wsEndpoint: str, slowMo: int = None, timeout: int = None
9036-
) -&gt; &#34;Browser&#34;:
9037-
&#34;&#34;&#34;BrowserType.connect
9038-
9039-
This methods attaches Playwright to an existing browser instance.
9040-
9041-
Parameters
9042-
----------
9043-
wsEndpoint : str
9044-
A browser websocket endpoint to connect to. **required**
9045-
slowMo : Optional[int]
9046-
Slows down Playwright operations by the specified amount of milliseconds. Useful so that you can see what is going on. Defaults to 0.
9047-
timeout : Optional[int]
9048-
Maximum time in milliseconds to wait for the connection to be established. Defaults to `30000` (30 seconds). Pass `0` to disable timeout.
9049-
9050-
Returns
9051-
-------
9052-
Browser
9053-
&#34;&#34;&#34;
9054-
return mapping.from_impl(
9055-
self._sync(
9056-
self._impl_obj.connect(
9057-
wsEndpoint=wsEndpoint, slowMo=slowMo, timeout=timeout
9058-
)
9059-
)
90609004
)</code></pre>
90619005
</details>
90629006
<h3>Ancestors</h3>
@@ -9119,59 +9063,6 @@ <h2 id="returns">Returns</h2>
91199063
</dl>
91209064
<h3>Methods</h3>
91219065
<dl>
9122-
<dt id="playwright.sync_api.BrowserType.connect"><code class="name flex">
9123-
<span>def <span class="ident">connect</span></span>(<span>self, wsEndpoint: str, slowMo: int = None, timeout: int = None) ‑> <a title="playwright.sync_api.Browser" href="#playwright.sync_api.Browser">Browser</a></span>
9124-
</code></dt>
9125-
<dd>
9126-
<div class="desc"><p>BrowserType.connect</p>
9127-
<p>This methods attaches Playwright to an existing browser instance.</p>
9128-
<h2 id="parameters">Parameters</h2>
9129-
<dl>
9130-
<dt><strong><code>wsEndpoint</code></strong> :&ensp;<code>str</code></dt>
9131-
<dd>A browser websocket endpoint to connect to. <strong>required</strong></dd>
9132-
<dt><strong><code>slowMo</code></strong> :&ensp;<code>Optional[int]</code></dt>
9133-
<dd>Slows down Playwright operations by the specified amount of milliseconds. Useful so that you can see what is going on. Defaults to 0.</dd>
9134-
<dt><strong><code>timeout</code></strong> :&ensp;<code>Optional[int]</code></dt>
9135-
<dd>Maximum time in milliseconds to wait for the connection to be established. Defaults to <code>30000</code> (30 seconds). Pass <code>0</code> to disable timeout.</dd>
9136-
</dl>
9137-
<h2 id="returns">Returns</h2>
9138-
<dl>
9139-
<dt><code><a title="playwright.sync_api.Browser" href="#playwright.sync_api.Browser">Browser</a></code></dt>
9140-
<dd>&nbsp;</dd>
9141-
</dl></div>
9142-
<details class="source">
9143-
<summary>
9144-
<span>Expand source code</span>
9145-
</summary>
9146-
<pre><code class="python">def connect(
9147-
self, wsEndpoint: str, slowMo: int = None, timeout: int = None
9148-
) -&gt; &#34;Browser&#34;:
9149-
&#34;&#34;&#34;BrowserType.connect
9150-
9151-
This methods attaches Playwright to an existing browser instance.
9152-
9153-
Parameters
9154-
----------
9155-
wsEndpoint : str
9156-
A browser websocket endpoint to connect to. **required**
9157-
slowMo : Optional[int]
9158-
Slows down Playwright operations by the specified amount of milliseconds. Useful so that you can see what is going on. Defaults to 0.
9159-
timeout : Optional[int]
9160-
Maximum time in milliseconds to wait for the connection to be established. Defaults to `30000` (30 seconds). Pass `0` to disable timeout.
9161-
9162-
Returns
9163-
-------
9164-
Browser
9165-
&#34;&#34;&#34;
9166-
return mapping.from_impl(
9167-
self._sync(
9168-
self._impl_obj.connect(
9169-
wsEndpoint=wsEndpoint, slowMo=slowMo, timeout=timeout
9170-
)
9171-
)
9172-
)</code></pre>
9173-
</details>
9174-
</dd>
91759066
<dt id="playwright.sync_api.BrowserType.launch"><code class="name flex">
91769067
<span>def <span class="ident">launch</span></span>(<span>self, executablePath: Union[str, pathlib.Path] = None, args: List[str] = None, ignoreDefaultArgs: Union[bool, List[str]] = None, handleSIGINT: bool = None, handleSIGTERM: bool = None, handleSIGHUP: bool = None, timeout: int = None, env: Dict[str, Union[str, int, bool]] = None, headless: bool = None, devtools: bool = None, proxy: playwright.helper.ProxyServer = None, downloadsPath: Union[str, pathlib.Path] = None, slowMo: int = None, chromiumSandbox: bool = None, firefoxUserPrefs: Dict[str, Union[str, int, bool]] = None) ‑> <a title="playwright.sync_api.Browser" href="#playwright.sync_api.Browser">Browser</a></span>
91779068
</code></dt>
@@ -25670,7 +25561,6 @@ <h4><code><a title="playwright.sync_api.BrowserContext" href="#playwright.sync_a
2567025561
<li>
2567125562
<h4><code><a title="playwright.sync_api.BrowserType" href="#playwright.sync_api.BrowserType">BrowserType</a></code></h4>
2567225563
<ul class="">
25673-
<li><code><a title="playwright.sync_api.BrowserType.connect" href="#playwright.sync_api.BrowserType.connect">connect</a></code></li>
2567425564
<li><code><a title="playwright.sync_api.BrowserType.executablePath" href="#playwright.sync_api.BrowserType.executablePath">executablePath</a></code></li>
2567525565
<li><code><a title="playwright.sync_api.BrowserType.launch" href="#playwright.sync_api.BrowserType.launch">launch</a></code></li>
2567625566
<li><code><a title="playwright.sync_api.BrowserType.launchPersistentContext" href="#playwright.sync_api.BrowserType.launchPersistentContext">launchPersistentContext</a></code></li>

0 commit comments

Comments
 (0)