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/"><btranslate="no">SeleniumBase</b></a> is a complete framework for browser automation, testing, and web-scraping with Python. Includes multiple advanced modes and tools.
56
+
📊 <ahref="https://github.com/seleniumbase/SeleniumBase/"><btranslate="no">SeleniumBase</b></a> is a complete framework for browser automation, testing, and web-scraping with Python.
57
57
58
58
🐙 Stealth modes: <atranslate="no"href="https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/uc_mode.md">UC Mode</a> and <atranslate="no"href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/ReadMe.md"><b>CDP Mode</b></a> can bypass bot-detection, solve CAPTCHAs, and call methods from the <ahref="https://chromedevtools.github.io/devtools-protocol/"translate="no">Chrome Devtools Protocol</a>. Includes <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/playwright/ReadMe.md"><b><spantranslate="no">Stealthy Playwright Mode</span></b></a>, which makes Playwright stealthy via CDP Mode.
59
59
60
-
ℹ️ Some <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/syntax_formats.md">Syntax Formats</a> use <ahref="https://docs.pytest.org/en/latest/how-to/usage.html"translate="no"><b>pytest</b></a> (a Python unit-testing framework included with SeleniumBase that can discover, collect, and run tests automatically).
60
+
🔧 Includes advanced tools, such as a <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/recorder_mode.md">Recorder</a> for generating tests, a <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/commander.md">GUI</a> for running tests, and a <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/example_logs/ReadMe.md">Dashboard</a> for displaying results.
61
+
62
+
ℹ️ Some <ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/syntax_formats.md">Syntax Formats</a> use <ahref="https://docs.pytest.org/en/latest/how-to/usage.html"translate="no">pytest</a> (a Python unit-testing framework included with SeleniumBase that can discover, collect, and run tests automatically).
61
63
62
64
📚 Example scripts & tests are located in [**SeleniumBase/examples/**](https://github.com/seleniumbase/SeleniumBase/tree/master/examples).
sb.save_as_pdf_to_logs() # Saved to ./latest_logs/
82
+
sb.save_as_pdf_to_logs()
84
83
sb.save_page_source_to_logs()
85
84
sb.save_screenshot_to_logs()
85
+
print("Logs have been saved to: ./latest_logs/")
86
86
```
87
87
88
88
> `python raw_google.py`
89
89
90
-
<ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/raw_google.py"><imgsrc="https://seleniumbase.github.io/cdn/img/google_sb_result.png"alt="SeleniumBase on Google"title="SeleniumBase on Google"width="538" /></a>
90
+
<ahref="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/raw_google.py"><imgsrc="https://seleniumbase.github.io/cdn/img/google_sb_result.jpg"alt="SeleniumBase on Google"title="SeleniumBase on Google"width="580" /></a>
91
91
92
92
--------
93
93
@@ -109,7 +109,7 @@ with SB(uc=True, test=True, locale="en") as sb:
<palign="left">📙 There's also SeleniumBase's "Pure CDP Mode", which doesn't use WebDriver or Selenium at all: <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>
0 commit comments