Skip to content

Commit 8fca84f

Browse files
committed
Update an example
1 parent 43b11b2 commit 8fca84f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/raw_ahrefs.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
from seleniumbase import SB
22

3-
with SB(uc=True, test=True, locale_code="en") as sb:
3+
with SB(uc=True, test=True, incognito=True, locale_code="en") as sb:
44
url = "https://ahrefs.com/website-authority-checker"
55
input_field = 'input[placeholder="Enter domain"]'
66
submit_button = 'span:contains("Check Authority")'
7-
sb.driver.uc_open_with_reconnect(url, 1) # The bot-check is later
7+
sb.driver.uc_open_with_reconnect(url, 2) # The bot-check is later
88
sb.type(input_field, "github.com/seleniumbase/SeleniumBase")
99
sb.driver.reconnect(0.1)
1010
sb.driver.uc_click(submit_button, reconnect_time=4)

0 commit comments

Comments
 (0)