Skip to content

Automation Script is triggering "slider" captcha using uc mode and proxy #2502

@cohnhead66

Description

@cohnhead66

I had a working automation script using standard selenium that was working for some time until the target web site was upgraded causing my automation to trigger a slider Captcha.
image
even if I solve it manually, it still throws a block.
image

I transitioned script to seleniumbase, using uc mode and proxy with authorization with the same results as I was getting with standard selenium. I am able to login and navigate as necessary until i get to the page where the captcha kicks in. Proxy is definitely working because every time i run script it reports a different ip.

Here is code:

from seleniumbase import Driver
driver = Driver(uc=True, proxy=proxy, undetectable=True, )
driver.uc_open_with_reconnect(webSite, reconnect_time=10)
driver.sleep(10)
driver.type("#lgUserName", memberNumber)
driver.type("#lgPassword", password+"\n")
driver.click("#hovDiv")
driver.sleep(5)
driver.click('a:contains('+memberName+')')
driver.sleep(5)
timer = driver.get_text('#tt1_left > p > span.serverClock > span > b',by="css selector")
print(timer)
driver.click('a:contains("21")') ### this triggers Captcha
driver.sleep(5)
input()
driver.quit()

Any help is appreciated. I think i am going to love using Seleniumbase if I can get a solution
I can share web site and log in credentials as needed to help solve.

Metadata

Metadata

Assignees

No one assigned

    Labels

    UC Mode / CDP ModeUndetected Chromedriver Mode / CDP ModeduplicateThe answer/solution already exists somewherequestionSomeone is looking for answers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions