seleniumbase / SeleniumBase

📊 Python's all-in-one framework for web crawling, scraping, testing, and reporting. Supports pytest. UC Mode provides stealth. Includes many tools.
https://seleniumbase.io
MIT License
4.46k stars 909 forks source link

Not able to Login on ticketmaster #2750

Closed waysiPire0 closed 2 months ago

waysiPire0 commented 2 months ago

i am trying with syntax "SeleniumBase SB (Python context manager)". I am trying to login on ticketmaster website. but everytime i filled the login form, the px-captcha appear. i tried both methods (manual and automated) to solve this "press and hold" captcha. but it reppear again and again.

My code:

Screenshot 2024-05-05 at 3 56 04 PM

captcha:

Screenshot 2024-05-05 at 4 01 04 PM
mdmintz commented 2 months ago

How to press and hold in Selenium Python: https://stackoverflow.com/questions/68636955/how-to-long-press-press-and-hold-mouse-left-key-using-only-selenium-in-python

How to press and hold in JavaScript: (Use sb.driver.execute_script() to call JS from Python.) https://stackoverflow.com/questions/64068697/how-to-simulate-a-hold-click-on-a-button-class

waysiPire0 commented 1 month ago

@mdmintz is it not possible that the website not mark the browser as bot and this captcha not be shown ?

mdmintz commented 1 month ago

Make sure you optimized the launch command. (See examples/raw_pixelscan.py, which needed both uc=True and incognito=True to maximize stealth on that website.)