Update the documentation
This commit is contained in:
parent
1e949977c3
commit
8dca9806bd
|
@ -679,6 +679,7 @@ pytest test_coffee_cart.py --trace
|
|||
--message-duration=SECONDS # (The time length for Messenger alerts.)
|
||||
--check-js # (Check for JavaScript errors after page loads.)
|
||||
--ad-block # (Block some types of display ads from loading.)
|
||||
--host-resolver-rules=RULES # (Set host-resolver-rules, comma-separated.)
|
||||
--block-images # (Block images from loading during tests.)
|
||||
--do-not-track # (Indicate to websites that you don't want to be tracked.)
|
||||
--verify-delay=SECONDS # (The delay before MasterQA verification checks.)
|
||||
|
|
|
@ -159,6 +159,7 @@ pytest my_first_test.py --settings-file=custom_settings.py
|
|||
--message-duration=SECONDS # (The time length for Messenger alerts.)
|
||||
--check-js # (Check for JavaScript errors after page loads.)
|
||||
--ad-block # (Block some types of display ads from loading.)
|
||||
--host-resolver-rules=RULES # (Set host-resolver-rules, comma-separated.)
|
||||
--block-images # (Block images from loading during tests.)
|
||||
--do-not-track # (Indicate to websites that you don't want to be tracked.)
|
||||
--verify-delay=SECONDS # (The delay before MasterQA verification checks.)
|
||||
|
|
|
@ -993,10 +993,16 @@ driver.highlight_click(selector)
|
|||
|
||||
driver.sleep(seconds)
|
||||
|
||||
driver.locator(selector)
|
||||
|
||||
driver.get_attribute(selector, attribute)
|
||||
|
||||
driver.get_page_source()
|
||||
|
||||
driver.get_title()
|
||||
|
||||
driver.switch_to_frame(frame)
|
||||
|
||||
############
|
||||
|
||||
# "driver"-specific methods added by SeleniumBase for UC Mode: "--uc" / uc=True
|
||||
|
@ -1007,7 +1013,13 @@ driver.uc_open_with_tab(url)
|
|||
|
||||
driver.uc_open_with_reconnect(url, reconnect_time=None)
|
||||
|
||||
driver.uc_click(selector)
|
||||
driver.reconnect(timeout)
|
||||
|
||||
driver.uc_click(
|
||||
selector, by="css selector",
|
||||
timeout=settings.SMALL_TIMEOUT, reconnect_time=None)
|
||||
|
||||
driver.uc_switch_to_frame(frame)
|
||||
```
|
||||
|
||||
--------
|
||||
|
|
|
@ -157,6 +157,7 @@ nav:
|
|||
- 🔑 CF Turnstile on Form: https://seleniumbase.io/apps/form_turnstile
|
||||
- 🔐 reCAPTCHA v2 Test: https://seleniumbase.io/apps/recaptcha
|
||||
- 🔐 reCAPTCHA v2 on Form: https://seleniumbase.io/apps/form_recaptcha
|
||||
- 🔐 reCAPTCHA, invisible: https://seleniumbase.io/apps/invisible_recaptcha
|
||||
- Additional Help Docs:
|
||||
- 📑 Table of Contents: help_docs/ReadMe.md
|
||||
- 🖼️ How to handle iframes: help_docs/handling_iframes.md
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
regex>=2023.10.3
|
||||
PyYAML>=6.0.1
|
||||
pymdown-extensions>=10.3.1
|
||||
pymdown-extensions>=10.4
|
||||
pipdeptree>=2.13.1
|
||||
python-dateutil>=2.8.2
|
||||
Markdown==3.5.1
|
||||
|
|
Loading…
Reference in New Issue