We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7da760 commit b95e582Copy full SHA for b95e582
examples/raw_bing_captcha.py
@@ -0,0 +1,13 @@
1
+from seleniumbase import SB
2
+
3
4
+with SB(uc=True, test=True) as sb:
5
+ url = "https://www.bing.com/turing/captcha/challenge"
6
+ sb.driver.uc_open_with_tab(url)
7
+ sb.add_css_style("iframe{zoom: 2}") # Make it bigger
8
+ sb.switch_to_frame("iframe")
9
+ sb.activate_demo_mode() # See asserts as they happen
10
+ sb.assert_element("svg#success-icon")
11
+ sb.assert_text("Success!", "span#success-text")
12
+ sb.highlight("div#success", loops=8)
13
+ sb.sleep(1)
0 commit comments