-
| Hello everyone, I am using Seleniumbase version - seleniumbase==4.30.8 Exception: Text {Checking} in {html} was still visible after 12 seconds! seleniumbase.common.exceptions.NoSuchElementException: Message: The problem is that the page contains those elements, but Seleniumbase cannot find those elements. My script is almost the same as on the Seleniumbase docs: with SB(uc=True, test=True, incognito=True, xvfb=True, locale_code="en") as sb:  | 
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
| This script is working for me: from seleniumbase import SB
with SB(uc=True, test=True, incognito=True, locale_code="en") as sb:
    url = "https://ahrefs.com/website-authority-checker"
    input_field = 'input[placeholder="Enter domain"]'
    submit_button = 'span:contains("Check Authority")'
    sb.uc_open_with_reconnect(url)  # The bot-check is later
    sb.type(input_field, "github.com/seleniumbase/SeleniumBase")
    sb.reconnect(0.1)
    sb.uc_click(submit_button, reconnect_time=3.25)
    sb.uc_gui_click_captcha()
    sb.wait_for_text_not_visible("Checking", timeout=11.5)
    sb.highlight('p:contains("github.com/seleniumbase/SeleniumBase")')
    sb.highlight('a:contains("Top 100 backlinks")')
    sb.set_messenger_theme(location="bottom_center")
    sb.post_message("SeleniumBase wasn't detected!")Note that UC Mode is not fully compatible with Docker because Docker adds a fingerprint that makes UC Mode detectable. | 
Beta Was this translation helpful? Give feedback.


This script is working for me: