Skip to content

Commit 8dca980

Browse files
committed
Update the documentation
1 parent 1e94997 commit 8dca980

File tree

5 files changed

+17
-2
lines changed

5 files changed

+17
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -679,6 +679,7 @@ pytest test_coffee_cart.py --trace
679679
--message-duration=SECONDS # (The time length for Messenger alerts.)
680680
--check-js # (Check for JavaScript errors after page loads.)
681681
--ad-block # (Block some types of display ads from loading.)
682+
--host-resolver-rules=RULES # (Set host-resolver-rules, comma-separated.)
682683
--block-images # (Block images from loading during tests.)
683684
--do-not-track # (Indicate to websites that you don't want to be tracked.)
684685
--verify-delay=SECONDS # (The delay before MasterQA verification checks.)

help_docs/customizing_test_runs.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ pytest my_first_test.py --settings-file=custom_settings.py
159159
--message-duration=SECONDS # (The time length for Messenger alerts.)
160160
--check-js # (Check for JavaScript errors after page loads.)
161161
--ad-block # (Block some types of display ads from loading.)
162+
--host-resolver-rules=RULES # (Set host-resolver-rules, comma-separated.)
162163
--block-images # (Block images from loading during tests.)
163164
--do-not-track # (Indicate to websites that you don't want to be tracked.)
164165
--verify-delay=SECONDS # (The delay before MasterQA verification checks.)

help_docs/method_summary.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -993,10 +993,16 @@ driver.highlight_click(selector)
993993

994994
driver.sleep(seconds)
995995

996+
driver.locator(selector)
997+
998+
driver.get_attribute(selector, attribute)
999+
9961000
driver.get_page_source()
9971001

9981002
driver.get_title()
9991003

1004+
driver.switch_to_frame(frame)
1005+
10001006
############
10011007

10021008
# "driver"-specific methods added by SeleniumBase for UC Mode: "--uc" / uc=True
@@ -1007,7 +1013,13 @@ driver.uc_open_with_tab(url)
10071013

10081014
driver.uc_open_with_reconnect(url, reconnect_time=None)
10091015

1010-
driver.uc_click(selector)
1016+
driver.reconnect(timeout)
1017+
1018+
driver.uc_click(
1019+
selector, by="css selector",
1020+
timeout=settings.SMALL_TIMEOUT, reconnect_time=None)
1021+
1022+
driver.uc_switch_to_frame(frame)
10111023
```
10121024

10131025
--------

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ nav:
157157
- 🔑 CF Turnstile on Form: https://seleniumbase.io/apps/form_turnstile
158158
- 🔐 reCAPTCHA v2 Test: https://seleniumbase.io/apps/recaptcha
159159
- 🔐 reCAPTCHA v2 on Form: https://seleniumbase.io/apps/form_recaptcha
160+
- 🔐 reCAPTCHA, invisible: https://seleniumbase.io/apps/invisible_recaptcha
160161
- Additional Help Docs:
161162
- 📑 Table of Contents: help_docs/ReadMe.md
162163
- 🖼️ How to handle iframes: help_docs/handling_iframes.md

mkdocs_build/requirements.txt

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

44
regex>=2023.10.3
55
PyYAML>=6.0.1
6-
pymdown-extensions>=10.3.1
6+
pymdown-extensions>=10.4
77
pipdeptree>=2.13.1
88
python-dateutil>=2.8.2
99
Markdown==3.5.1

0 commit comments

Comments
 (0)