Skip to content

Commit 634d517

Browse files
committed
Update the Stealthy Playwright ReadMe
1 parent 682ed2b commit 634d517

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

examples/cdp_mode/playwright/ReadMe.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<h2><a href="https://github.com/seleniumbase/SeleniumBase/"><img src="https://seleniumbase.github.io/img/logo6.png" title="SeleniumBase" width="32"></a> Stealthy Playwright Mode 🎭</h2>
44

5-
🎭 <b translate="no">Stealthy Playwright Mode</b> is a subset of **[SeleniumBase CDP Mode](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/ReadMe.md)** that launches **[Playwright](https://github.com/microsoft/playwright-python)** from an existing <b translate="no">SeleniumBase</b> browser to make <span translate="no">Playwright</span> stealthy (for bypassing bot-detection). <span translate="no">Playwright</span> uses <code><b>connect_over_cdp()</b></code> to attach itself onto an existing <span translate="no">SeleniumBase</span> session via the <code>remote-debugging-port</code>. From here, APIs of both frameworks can be used together.
5+
🎭 <b translate="no">Stealthy Playwright Mode</b> is a subset of **[SeleniumBase CDP Mode](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/ReadMe.md)** where <span translate="no">**[Playwright](https://github.com/microsoft/playwright-python)**</span> calls <code><b>connect_over_cdp()</b></code> to attach itself onto a stealthy <span translate="no">SeleniumBase</span> browser session via the <code>remote-debugging-port</code>. This gives <span translate="no">Playwright</span> the ability to bypass bot-detection, and allows APIs of both frameworks to be used together.
66

77
--------
88

@@ -13,19 +13,19 @@
1313

1414
### 🎭 Getting started with <b translate="no">Stealthy Playwright Mode</b>:
1515

16-
🎭 If `playwright` isn't already installed, then install it first:
16+
If **`playwright`** isn't already installed, then install it first:
1717

1818
```zsh
1919
pip install playwright
2020
```
2121

22-
🎭 Stealthy Playwright Mode comes in 3 formats:
22+
**Stealthy Playwright Mode** comes in 3 formats:
2323
1. `sb_cdp` sync format
2424
2. `SB()` nested sync format
2525
3. `cdp_driver` async format
2626

2727

28-
#### 🎭 `sb_cdp` sync format (minimal boilerplate):
28+
### 🎭 `sb_cdp` sync format (minimal boilerplate):
2929

3030
```python
3131
from playwright.sync_api import sync_playwright
@@ -41,7 +41,7 @@ with sync_playwright() as p:
4141
page.goto("https://example.com")
4242
```
4343

44-
#### 🎭 `SB()` nested sync format (minimal boilerplate):
44+
### 🎭 `SB()` nested sync format (minimal boilerplate):
4545

4646
```python
4747
from playwright.sync_api import sync_playwright
@@ -58,7 +58,7 @@ with SB(uc=True) as sb:
5858
page.goto("https://example.com")
5959
```
6060

61-
#### 🎭 `cdp_driver` async format (minimal boilerplate):
61+
### 🎭 `cdp_driver` async format (minimal boilerplate):
6262

6363
```python
6464
import asyncio

0 commit comments

Comments
 (0)