Skip to content

Commit 43b78ce

Browse files
committed
Update the docs
1 parent e010a89 commit 43b78ce

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ with SB(uc=True, test=True, locale="en") as sb:
103103
sb.assert_text("Username", '[for="user_login"]', timeout=3)
104104
sb.assert_element('label[for="user_login"]')
105105
sb.highlight('button:contains("Sign in")')
106-
sb.highlight('h1:contains("GitLab.com")')
106+
sb.highlight('h1:contains("GitLab")')
107107
sb.post_message("SeleniumBase wasn't detected", duration=4)
108108
```
109109

@@ -118,13 +118,11 @@ url = "https://gitlab.com/users/sign_in"
118118
sb = sb_cdp.Chrome(url)
119119
sb.sleep(2.5)
120120
sb.gui_click_captcha()
121-
sb.highlight('h1:contains("GitLab.com")')
121+
sb.highlight('h1:contains("GitLab")')
122122
sb.highlight('button:contains("Sign in")')
123123
sb.driver.stop()
124124
```
125125

126-
> (Due to changes in Chrome 137 where the `--load-extension` switch was removed, you can't load extensions directly from this format.)
127-
128126
--------
129127

130128
<p align="left">📗 Here's <a href="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>

help_docs/uc_mode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ with SB(uc=True, test=True) as sb:
7373
sb.assert_text("Username", '[for="user_login"]', timeout=3)
7474
sb.assert_element('label[for="user_login"]')
7575
sb.highlight('button:contains("Sign in")')
76-
sb.highlight('h1:contains("GitLab.com")')
76+
sb.highlight('h1:contains("GitLab")')
7777
sb.post_message("SeleniumBase wasn't detected", duration=4)
7878
```
7979

0 commit comments

Comments
 (0)