Skip to content

Commit 446d99b

Browse files
committed
Update the documentation
1 parent 5c54dfe commit 446d99b

File tree

4 files changed

+15
-22
lines changed

4 files changed

+15
-22
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@
5353
<br />
5454
</p>
5555

56+
<p>SeleniumBase is a high-end framework for web automation and testing. Built for handling tricky tasks, such as bypassing bot-detection and handling CAPTCHAs with <a translate="no" href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/ReadMe.md">CDP Mode</a> and special methods. SeleniumBase can enhance productivity, automate tedious browser actions, and help scale businesses.</p>
57+
5658
--------
5759

5860
📚 Learn from [**over 200 examples** in the **SeleniumBase/examples/** folder](https://github.com/seleniumbase/SeleniumBase/tree/master/examples).
@@ -325,7 +327,6 @@ pip install seleniumbase
325327

326328
* (Add ``--upgrade`` OR ``-U`` to upgrade SeleniumBase.)
327329
* (Add ``--force-reinstall`` to upgrade indirect packages.)
328-
* (Use ``pip3`` if multiple versions of Python are present.)
329330

330331
🔵 **How to install ``seleniumbase`` from a GitHub clone:**
331332

@@ -399,10 +400,10 @@ pip install -e .
399400
<summary> ▶️ Here's sample output from a chromedriver download. (<b>click to expand</b>)</summary>
400401
401402
```zsh
402-
*** chromedriver to download = 131.0.6778.108 (Latest Stable)
403+
*** chromedriver to download = 141.0.7390.78 (Latest Stable)
403404
404405
Downloading chromedriver-mac-arm64.zip from:
405-
https://storage.googleapis.com/chrome-for-testing-public/131.0.6778.108/mac-arm64/chromedriver-mac-arm64.zip ...
406+
https://storage.googleapis.com/chrome-for-testing-public/141.0.7390.78/mac-arm64/chromedriver-mac-arm64.zip ...
406407
Download Complete!
407408
408409
Extracting ['chromedriver'] from chromedriver-mac-arm64.zip ...
@@ -412,8 +413,8 @@ The file [chromedriver] was saved to:
412413
~/github/SeleniumBase/seleniumbase/drivers/
413414
chromedriver
414415
415-
Making [chromedriver 131.0.6778.108] executable ...
416-
[chromedriver 131.0.6778.108] is now ready for use!
416+
Making [chromedriver 141.0.7390.78] executable ...
417+
[chromedriver 141.0.7390.78] is now ready for use!
417418
```
418419
419420
</details>

examples/cdp_mode/ReadMe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [<img src="https://seleniumbase.github.io/img/logo6.png" title="SeleniumBase" width="32">](https://github.com/seleniumbase/SeleniumBase/) CDP Mode 🐙
44

5-
🐙 <b translate="no">SeleniumBase</b> <b translate="no">CDP Mode</b> (Chrome Devtools Protocol Mode) is a special mode inside of <b><a href="https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/uc_mode.md" translate="no"><span translate="no">SeleniumBase UC Mode</span></a></b> that lets bots appear human while controlling the browser with the <b translate="no">CDP-Driver</b>. Although regular <b translate="no">UC Mode</b> can't perform <span translate="no">WebDriver</span> actions while the <code>driver</code> is disconnected from the browser, the <b translate="no">CDP-Driver</b> can.
5+
🐙 <b translate="no">SeleniumBase</b> <b translate="no">CDP Mode</b> (<a href="https://chromedevtools.github.io/devtools-protocol/" translate="no"><span translate="no">Chrome Devtools Protocol</span></a> Mode) is a special mode inside of <b><a href="https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/uc_mode.md" translate="no"><span translate="no">SeleniumBase UC Mode</span></a></b> that lets bots appear human while controlling the browser with <b translate="no">CDP</b> (via <a href="https://github.com/mdmintz/MyCDP" translate="no"><span translate="no">MyCDP</span></a>). Although regular <b translate="no">UC Mode</b> can't perform <span translate="no">WebDriver</span> actions while the <code>driver</code> is disconnected from the browser, <b translate="no">CDP</b> can. <b translate="no">CDP Mode</b> can also be used independently of WebDriver via <b translate="no">Pure CDP Mode</b> (<code>sb_cdp</code>).
66

77
--------
88

help_docs/mobile_testing.md

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,12 @@ Use ``--mobile`` to run SeleniumBase tests using Chrome's mobile device emulator
66

77
<b>Here's an example mobile test:</b>
88

9-
[SeleniumBase/examples/test_skype_site.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_skype_site.py)
9+
[SeleniumBase/examples/test_roblox_mobile.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_roblox_mobile.py)
1010

1111
```zsh
12-
pytest test_skype_site.py --mobile
12+
pytest test_roblox_mobile.py --mobile
1313
```
1414

15-
[<img src="https://seleniumbase.github.io/cdn/gif/skype_mobile_test_2.gif" title="SeleniumBase Mobile Testing">](https://seleniumbase.github.io/cdn/gif/skype_mobile_test_2.gif)
16-
1715
To configure Device Metrics, use:
1816

1917
```zsh
@@ -68,17 +66,11 @@ from seleniumbase import Driver
6866

6967
driver = Driver(mobile=True)
7068
try:
71-
driver.open("https://www.skype.com/en/get-skype/")
72-
driver.assert_element('[aria-label="Microsoft"]')
73-
driver.assert_text("Download Skype", "h1")
74-
driver.highlight("div.appBannerContent")
75-
driver.highlight("h1")
76-
driver.assert_text("Skype for Mobile", "h2")
77-
driver.highlight("h2")
78-
driver.highlight("#get-skype-0")
79-
driver.highlight_click("span[data-dropdown-icon]")
80-
driver.highlight("#get-skype-0_android-download")
81-
driver.highlight('[data-bi-id*="ios"]')
69+
driver.open("https://www.roblox.com/")
70+
driver.assert_element("#download-the-app-container")
71+
driver.assert_text("Roblox for Android")
72+
driver.highlight('span:contains("Roblox for Android")', loops=8)
73+
driver.highlight('span:contains("Continue in App")', loops=8)
8274
finally:
8375
driver.quit()
8476
```

integrations/azure/jenkins/ReadMe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### Building a browser-based test automation server with Jenkins on Azure by using SeleniumBase
22

3-
(**2022 NOTE:** Steps from [this 2019 tutorial from Boston Code Camp](https://www.bostoncodecamp.com/CC31/sessions/details/16741) are now **out-of-date**. For installing Jenkins from the Azure Marketplace, you can try using [Bitnami Jenkins](https://azuremarketplace.microsoft.com/en-us/marketplace/apps/bitnami.jenkins). **Or**, for the newer official Microsoft tutorial, see [Get Started: Install Jenkins on an Azure Linux VM](https://docs.microsoft.com/en-us/azure/developer/jenkins/configure-on-linux-vm), and then continue with [Step 4](#step4) below to resume SeleniumBase setup after you've created your Jenkins instance.)
3+
(For the official Microsoft tutorial, see [Get Started: Install Jenkins on an Azure Linux VM](https://docs.microsoft.com/en-us/azure/developer/jenkins/configure-on-linux-vm), and then continue with [Step 4](#step4) below to resume SeleniumBase setup after you've created your Jenkins instance.)
44

55
----------
66

0 commit comments

Comments
 (0)