We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b882b5 commit 2ccb7b5Copy full SHA for 2ccb7b5
examples/raw_uc_mode.py
@@ -0,0 +1,11 @@
1
+"""SB Manager using "uc"-mode for evading bot-detection."""
2
+from seleniumbase import SB
3
+
4
+with SB(uc=True) as sb:
5
+ sb.open("https://nowsecure.nl/#relax")
6
+ sb.sleep(2)
7
+ if not sb.is_text_visible("OH YEAH, you passed!", "h1"):
8
+ sb.get_new_driver(uc=True)
9
10
11
+ sb.assert_text("OH YEAH, you passed!", "h1", timeout=3)
0 commit comments