We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c28009 commit 5bd9f74Copy full SHA for 5bd9f74
examples/raw_ahrefs.py
@@ -0,0 +1,16 @@
1
+from seleniumbase import SB
2
+
3
4
+with SB(uc=True, test=True, locale_code="en") as sb:
5
+ url = "https://ahrefs.com/website-authority-checker"
6
+ input_field = 'input[placeholder="Enter domain"]'
7
+ submit_button = 'span:contains("Check Authority")'
8
+ sb.driver.uc_open_with_reconnect(url, 1) # The bot-check is later
9
+ sb.type(input_field, "github.com/seleniumbase/SeleniumBase")
10
+ sb.driver.reconnect(0.1)
11
+ sb.driver.uc_click(submit_button, reconnect_time=4)
12
+ sb.wait_for_text_not_visible("Checking", timeout=10)
13
+ sb.highlight('p:contains("github.com/seleniumbase/SeleniumBase")')
14
+ sb.highlight('a:contains("Top 100 backlinks")')
15
+ sb.set_messenger_theme(location="bottom_center")
16
+ sb.post_message("SeleniumBase wasn't detected!")
0 commit comments