You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🎭 <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/playwright/ReadMe.md"><b><spantranslate="no">Stealthy Playwright Mode</span></b></a> extends CDP Mode's stealth to <b>Playwright</b>.
56
56
57
-
<b>📝 Here's a Python example of SeleniumBase's CDP Mode using <code>sb_cdp</code>:</b>
57
+
<b>📝 Here's a Python example that uses <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/ReadMe.md#-pure-cdp-mode-sb_cdp">Pure CDP Mode</a> (<code>sb_cdp</code>):</b>
58
58
59
59
```python
60
60
from seleniumbase import sb_cdp
@@ -70,7 +70,7 @@ sb.quit()
70
70
<br><em>BrowserScan Test Results: Normal (No bots detected)</em>
71
71
</p>
72
72
73
-
<b>🎭 Here's a Playwright example that uses SeleniumBase's stealth:</b>
73
+
<b>🎭 Here's an example script that uses <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/playwright/ReadMe.md"><spantranslate="no">Stealthy Playwright Mode</span></a>:</b>
📚 The [SeleniumBase/examples/](https://github.com/seleniumbase/SeleniumBase/tree/master/examples) folder includes over 150 ready-to-run examples of E2E testing. Examples that start with `test_` or end with `_test.py`/`_tests.py` run with `pytest`. Other examples run directly with raw `python` (those generally start with `raw_` to avoid confusion).
@@ -107,7 +119,7 @@ sb.quit()
107
119
108
120
--------
109
121
110
-
<palign="left">📝 <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/raw_cdp_browserscan.py"target="_blank">This example</a> verifies that <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/ReadMe.md#-pure-cdp-mode-sb_cdp">Pure CDP Mode</a> is stealthy on <ahref="https://www.browserscan.net/bot-detection">BrowserScan</a>:
122
+
<palign="left"><b>📝 <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/raw_cdp_browserscan.py"target="_blank">This example</a> verifies that <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/ReadMe.md#-pure-cdp-mode-sb_cdp">Pure CDP Mode</a> is stealthy on <ahref="https://www.browserscan.net/bot-detection">BrowserScan</a>:</b></p>
<br><em>All BrowserScan bot-detection checks were passed successfully.</em>
126
138
</p>
127
139
128
-
🎭 <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/playwright/raw_browserscan_sync.py">This example</a> shows the drop-in patch that makes Playwright stealthy:
140
+
<palign="left"><b>🎭 <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/playwright/raw_browserscan_sync.py">This example</a> shows the drop-in patch that makes Playwright stealthy:</b></p>
<palign="left">📝 <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/raw_google.py"target="_blank">This example</a> saves Google Search results with UC + CDP Mode:<br />(Results are saved as PDF, HTML, and PNG files)</p>
183
+
<palign="left"><b>📝 <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/raw_google.py"target="_blank">This example</a> saves Google Search results with UC + CDP Mode:</b><br />(Results are saved as PDF, HTML, and PNG files)</p>
186
184
187
185
```python
188
186
from seleniumbase importSB
@@ -203,7 +201,7 @@ with SB(uc=True, test=True) as sb:
@@ -227,7 +225,7 @@ with SB(uc=True, test=True, locale="en") as sb:
227
225
228
226
----
229
227
230
-
<palign="left">📝 <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/raw_cdp_gitlab.py"target="_blank">This example</a> handles a CAPTCHA page with Pure CDP Mode:
228
+
<palign="left"><b>📝 <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/raw_cdp_gitlab.py"target="_blank">This example</a> handles a CAPTCHA page with Pure CDP Mode:</b></p>
<palign="left">📝 <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_get_swag.py"target="_blank">This example</a> tests an e-commerce site with <code>pytest</code>:
243
+
<palign="left"><b>📝 <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_get_swag.py"target="_blank">This example</a> tests an e-commerce site with <code>pytest</code>:</b></p>
246
244
247
245
```python
248
246
from seleniumbase import BaseCase
@@ -272,7 +270,7 @@ class MyTestClass(BaseCase):
272
270
273
271
--------
274
272
275
-
<palign="left">📝 <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_coffee_cart.py"target="_blank">This example</a> tests another e-commerce site with <code>pytest</code>:
273
+
<palign="left"><b>📝 <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_coffee_cart.py"target="_blank">This example</a> tests another e-commerce site with <code>pytest</code>:</b></p>
0 commit comments