You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When accessing driverpracticaltest website was loading fine initially. After a while, it has now lead to Error 15.
My project itself is rather long and hence will be impractical to paste below, but the code below will suffice as a valid example:
user_agent = "Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36"
driver = webdriver.Chrome(options=options, version_main=113)
driver.execute_cdp_cmd('Network.setUserAgentOverride', {"userAgent":user_agent })
driver.get("https://driverpracticaltest.dvsa.gov.uk/login")
When running the script, I get the error 15
But, what's more amazing is, when running the same script on another local machine. No error 15 - can browse normally. I suspect This is temporary and will get banned later after long use.
I have also tested the theory with rotating ip address, with and without user-agent and the same pattern follows.
Will running a script inside a rotating vm (different vm per day) be a solution?
update: I have tired the propose solution by #690 and #986 and as rightly pointed by #1210 it no longer works
The text was updated successfully, but these errors were encountered:
I am experiencing the same issue. I believe we just have to wait until an update comes for undetected-chromedriver to bypass Imperva. This has happened previously.
When accessing driverpracticaltest website was loading fine initially. After a while, it has now lead to Error 15.
My project itself is rather long and hence will be impractical to paste below, but the code below will suffice as a valid example:
When running the script, I get the error 15
![image](https://private-user-images.githubusercontent.com/78536809/247928999-2cc9b968-fd44-47c7-9b95-b1d5c305efd2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NzUxMzUsIm5iZiI6MTczOTQ3NDgzNSwicGF0aCI6Ii83ODUzNjgwOS8yNDc5Mjg5OTktMmNjOWI5NjgtZmQ0NC00N2M3LTliOTUtYjFkNWMzMDVlZmQyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDE5MjcxNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTI5NTMwZDg4Yzk0ZDY4ODJkNDczMTQ0YTE2Y2FkNTNkNzFhNjk2NDkyNjg1NzdjMzMwN2RiZDNkZTFmMTZmNzMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.HY6efzY3L3DTx5WvC1Rxi6IkTg5afnE8eh95vwvpRO0)
But, what's more amazing is, when running the same script on another local machine. No error 15 - can browse normally. I suspect This is temporary and will get banned later after long use.
I have also tested the theory with rotating ip address, with and without user-agent and the same pattern follows.
Will running a script inside a rotating vm (different vm per day) be a solution?
update: I have tired the propose solution by #690 and #986 and as rightly pointed by #1210 it no longer works
The text was updated successfully, but these errors were encountered: