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
679
679
--message-duration=SECONDS # (The time length for Messenger alerts.)
680
680
--check-js # (Check for JavaScript errors after page loads.)
681
681
--ad-block # (Block some types of display ads from loading.)
682
+ --host-resolver-rules=RULES # (Set host-resolver-rules, comma-separated.)
682
683
--block-images # (Block images from loading during tests.)
683
684
--do-not-track # (Indicate to websites that you don't want to be tracked.)
684
685
--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
159
159
--message-duration=SECONDS # (The time length for Messenger alerts.)
160
160
--check-js # (Check for JavaScript errors after page loads.)
161
161
--ad-block # (Block some types of display ads from loading.)
162
+ --host-resolver-rules=RULES # (Set host-resolver-rules, comma-separated.)
162
163
--block-images # (Block images from loading during tests.)
163
164
--do-not-track # (Indicate to websites that you don't want to be tracked.)
164
165
--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)
993
993
994
994
driver.sleep(seconds)
995
995
996
+ driver.locator(selector)
997
+
998
+ driver.get_attribute(selector, attribute)
999
+
996
1000
driver.get_page_source()
997
1001
998
1002
driver.get_title()
999
1003
1004
+ driver.switch_to_frame(frame)
1005
+
1000
1006
# ###########
1001
1007
1002
1008
# "driver"-specific methods added by SeleniumBase for UC Mode: "--uc" / uc=True
@@ -1007,7 +1013,13 @@ driver.uc_open_with_tab(url)
1007
1013
1008
1014
driver.uc_open_with_reconnect(url, reconnect_time = None )
1009
1015
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)
1011
1023
```
1012
1024
1013
1025
--------
Original file line number Diff line number Diff line change 157
157
- 🔑 CF Turnstile on Form : https://seleniumbase.io/apps/form_turnstile
158
158
- 🔐 reCAPTCHA v2 Test : https://seleniumbase.io/apps/recaptcha
159
159
- 🔐 reCAPTCHA v2 on Form : https://seleniumbase.io/apps/form_recaptcha
160
+ - 🔐 reCAPTCHA, invisible : https://seleniumbase.io/apps/invisible_recaptcha
160
161
- Additional Help Docs :
161
162
- 📑 Table of Contents : help_docs/ReadMe.md
162
163
- 🖼️ How to handle iframes : help_docs/handling_iframes.md
Original file line number Diff line number Diff line change 3
3
4
4
regex >= 2023.10.3
5
5
PyYAML >= 6.0.1
6
- pymdown-extensions >= 10.3.1
6
+ pymdown-extensions >= 10.4
7
7
pipdeptree >= 2.13.1
8
8
python-dateutil >= 2.8.2
9
9
Markdown == 3.5.1
You can’t perform that action at this time.
0 commit comments