Skip to content

Commit 1d1f0d1

Browse files
committed
Update the ReadMe
1 parent 920e65b commit 1d1f0d1

1 file changed

Lines changed: 13 additions & 10 deletions

File tree

README.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060

6161
--------
6262

63-
<b>📝 Here's a Python example that uses <a href="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><br />(It navigates to Browserscan to show it bypassing bot-detection.)
63+
<b>📝 Here's a Python example that uses <a href="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><br />(It navigates to Browserscan where it bypasses bot-detection.)
6464

6565
```python
6666
from seleniumbase import sb_cdp
@@ -73,7 +73,7 @@ sb.quit()
7373

7474
<p align="center">
7575
<img src="https://seleniumbase.github.io/cdn/img/results_normal.jpg" width="578" alt="BrowserScan Test Results: Normal">
76-
<br><em>(All BrowserScan bot-detection checks were passed successfully.)</em>
76+
<br><em>(All BrowserScan bot-detection checks were passed successfully.)</em></br>
7777
</p>
7878

7979
<b>🎭 Here's an example script that uses <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/playwright/ReadMe.md"><span translate="no">Stealthy Playwright Mode</span></a>:</b><br />(Playwright connects to a stealthy SeleniumBase browser session.)
@@ -136,7 +136,7 @@ for element in elements:
136136

137137
<p align="center">
138138
<img src="https://seleniumbase.github.io/other/sb_architecture.png" width="646" alt="Stealthy architecture flowchart">
139-
<br><em>(For maximum stealth, use <a translate="no" href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/ReadMe.md">CDP Mode</a>, which includes <a translate="no" href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/playwright/ReadMe.md">Stealthy Playwright Mode</a>)</em>
139+
<br><em>(For maximum stealth, use <a translate="no" href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/ReadMe.md">CDP Mode</a>, which includes <a translate="no" href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/playwright/ReadMe.md">Stealthy Playwright Mode</a>.)</em></br>
140140
</p>
141141

142142
--------
@@ -162,7 +162,7 @@ sb = sb_cdp.Chrome(url, use_chromium=True)
162162

163163
--------
164164

165-
<p align="left"><b>📝 <a href="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>
165+
<p align="left"><b>📝 <a href="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 to <code>./latest_logs/</code>)</p>
166166

167167
```python
168168
from seleniumbase import SB
@@ -183,7 +183,7 @@ with SB(uc=True, test=True) as sb:
183183

184184
--------
185185

186-
<p align="left"><b>📝 <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/raw_gitlab.py" target="_blank">This example</a> bypasses Cloudflare's challenge page with UC + CDP Mode:</b></p>
186+
<p align="left"><b>📝 <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/raw_gitlab.py" target="_blank">This example</a> bypasses Cloudflare's challenge page with UC + CDP Mode:</b><br />(If the Turnstile isn't bypassed automatically, <b><code>sb.solve_captcha()</code></b> handles it.)</p>
187187

188188
```python
189189
from seleniumbase import SB
@@ -201,9 +201,12 @@ with SB(uc=True, test=True, locale="en") as sb:
201201
sb.post_message("SeleniumBase wasn't detected", duration=4)
202202
```
203203

204+
<p align="center">
204205
<img src="https://seleniumbase.github.io/other/cf_sec.jpg" alt="SeleniumBase" width="346"> <img src="https://seleniumbase.github.io/other/gitlab_bypass.png" alt="SeleniumBase" width="300">
206+
<br><em>(Successfully bypassed bot-detection on a Cloudflare challenge page.)</em></br>
207+
</p>
205208

206-
(<b><code>sb.solve_captcha()</code></b> <b>handles CAPTCHAs</b> that aren't bypassed automatically.)
209+
💡 <b><code>sb.solve_captcha()</code></b> handles CAPTCHAs that aren't bypassed automatically.<br />(If no CAPTCHA is present on the current page, then nothing happens.)
207210

208211
--------
209212

@@ -501,10 +504,10 @@ pip install -e .
501504
<summary> ▶️ Here's sample output from a chromedriver download. (<b>click to expand</b>)</summary>
502505
503506
```zsh
504-
*** chromedriver to download = 141.0.7390.78 (Latest Stable)
507+
*** chromedriver to download = 148.0.7778.178 (Latest Stable)
505508
506509
Downloading chromedriver-mac-arm64.zip from:
507-
https://storage.googleapis.com/chrome-for-testing-public/141.0.7390.78/mac-arm64/chromedriver-mac-arm64.zip ...
510+
https://storage.googleapis.com/chrome-for-testing-public/148.0.7778.178/mac-arm64/chromedriver-mac-arm64.zip ...
508511
Download Complete!
509512
510513
Extracting ['chromedriver'] from chromedriver-mac-arm64.zip ...
@@ -514,8 +517,8 @@ The file [chromedriver] was saved to:
514517
~/github/SeleniumBase/seleniumbase/drivers/
515518
chromedriver
516519
517-
Making [chromedriver 141.0.7390.78] executable ...
518-
[chromedriver 141.0.7390.78] is now ready for use!
520+
Making [chromedriver 148.0.7778.178] executable ...
521+
[chromedriver 148.0.7778.178] is now ready for use!
519522
```
520523
521524
</details>

0 commit comments

Comments
 (0)