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
Copy file name to clipboardExpand all lines: README.md
+7-11Lines changed: 7 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,7 +70,7 @@
70
70
71
71
--------
72
72
73
-
Here's a [Pure CDP Mode](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/ReadMe.md#-pure-cdp-mode-sb_cdp) example of scraping Hacker News:
<palign="left">📗 Here's a Google Search with UC + CDP Mode:<br /><ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/raw_google.py">SeleniumBase/examples/raw_google.py</a> (Results are saved as PDF, HTML, and PNG)</p>
87
+
<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>
90
88
91
89
```python
92
90
from seleniumbase importSB
@@ -106,7 +104,7 @@ with SB(uc=True, test=True) as sb:
106
104
107
105
--------
108
106
109
-
<palign="left">📗 Here's a script that bypasses Cloudflare's challenge page with UC Mode + CDP Mode: <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/raw_gitlab.py">SeleniumBase/examples/cdp_mode/raw_gitlab.py</a></p>
@@ -128,7 +126,7 @@ with SB(uc=True, test=True, locale="en") as sb:
128
126
129
127
----
130
128
131
-
<palign="left">📙 Here's a "Pure CDP Mode" example that handles a CAPTCHA page: <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/raw_cdp_gitlab.py">SeleniumBase/examples/cdp_mode/raw_cdp_gitlab.py</a></p>
129
+
<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:
132
130
133
131
```python
134
132
from seleniumbase import sb_cdp
@@ -144,7 +142,7 @@ sb.driver.stop()
144
142
145
143
--------
146
144
147
-
<palign="left">📗 Here's <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_get_swag.py">SeleniumBase/examples/test_get_swag.py</a>, which tests an e-commerce site:</p>
145
+
<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>:
<palign="left">📗 Here's <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_coffee_cart.py"target="_blank">SeleniumBase/examples/test_coffee_cart.py</a>, which verifies an e-commerce site:</p>
175
+
<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>:
<palign="left">📗 Here's <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_demo_site.py"target="_blank">SeleniumBase/examples/test_demo_site.py</a>, which covers several actions:</p>
189
+
<palign="left">📗 <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_demo_site.py"target="_blank">This example</a>covers multiple actions with <code>pytest</code>:
0 commit comments