1

Can a website detect when you are using selenium with chromedriver?

I refer to the answer in the link above

I used vim to modify the chromedriver source code

Replace the $cdc_lasutopfhvcZLmcfl field with the same amount of other code

After modification, the chromedrvier can also work properly

But my selenium is still recognized by the site

Such as

https://login.taobao.com/member/login.jhtml?redirectURL=https://www.taobao.com/

This website in China

A manual swipe of the verification code after you enter your account and password will still not pass without selenium

This thing has been bothering me for a long time. I really don't know how to solve it. I hope I can get your help

jianyi
  • 151
  • 1
  • 3
  • 11
  • If you use Windows, you might consider trying Explorer. Of course IEDriverServer is horrible (okay, to defend the author, it is as good as it can be), as IE does not support the WebDriver protocol (provided you use an old enough IE, e.g you are on Win7). I have not tried it, but would be surprised if it could be detected, considering that not even IE can detect it. Otherwise you could modify the headers on the fly, e.g. with Fiddler. – skandigraun Sep 26 '18 at 17:54
  • Can you provide the exact _url_ you are trying to access as there seems a **space** is present within the _url_ you have provided as `https://login.taobao.com/member/login.jhtml? redirectURL=https://www.taobao.com/` which is getting resolved as `https://login.taobao.com/member/login.jhtml?%20redirectURL=https://www.taobao.com/`. Also let us know if you have a dummy/demo credentials to login. – undetected Selenium Sep 26 '18 at 17:54
  • I have changed the address and now it is correct Simply use the modified chromedriver Browser = webdriver. Chrome () The get (url) After the account and password are entered, the verification code cannot be swiped @Newcontributor – jianyi Sep 26 '18 at 19:06
  • So did your question got addressed or you are still looking for an answer? – undetected Selenium Sep 26 '18 at 19:09
  • The problem is not solved, and selenium will still be recognized @Newcontributor – jianyi Sep 27 '18 at 06:35
  • @jianyi Let us know if you have a dummy/demo credentials to login – undetected Selenium Sep 27 '18 at 06:53

0 Answers0