File tree Expand file tree Collapse file tree 5 files changed +17
-2
lines changed Expand file tree Collapse file tree 5 files changed +17
-2
lines changed Original file line number Diff line number Diff 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.)
Original file line number Diff line number Diff 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.)
Original file line number Diff line number Diff line change @@ -993,10 +993,16 @@ driver.highlight_click(selector)
993993
994994driver.sleep(seconds)
995995
996+ driver.locator(selector)
997+
998+ driver.get_attribute(selector, attribute)
999+
9961000driver.get_page_source()
9971001
9981002driver.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
10081014driver.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--------
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 33
44regex >= 2023.10.3
55PyYAML >= 6.0.1
6- pymdown-extensions >= 10.3.1
6+ pymdown-extensions >= 10.4
77pipdeptree >= 2.13.1
88python-dateutil >= 2.8.2
99Markdown == 3.5.1
You can’t perform that action at this time.
0 commit comments