Is it possible for a website to detect that we are using Selenium with ChromeDriver

0 votes

I am using Selenium with Chrome driver and I noticed that some web pages can detect that I am using Selenium. I always get a page like "suspicious activity was detected". I have checked it with my user agent and it is exactly identical to chrome

When I normally use the chrome browse everything is fine, but whenever I use Selenium I'm detected.

Apr 27, 2018 in Selenium by Perry
• 17,020 points
2,288 views

1 answer to this question.

0 votes

Selenium tests for pre-defined javascript variables which appear when executing selenium. 

The detection scripts usually have word like "selenium" / "webdriver" in any of the variables and also the document variables called $cdc_ and $wdc_. All these depends on the browser you are using. Different browsers expose different things.

I used chrome all that I had to do was to ensure that $cdc_ didn't exist anymore as document variable, also download chrome driver source code, modify chrome driver and re-compile $cdc_ with different names.

answered Apr 27, 2018 by Meci Matt
• 9,420 points

Related Questions In Selenium

0 votes
1 answer
0 votes
1 answer

Is it possible to manually set the attribute value of a Web Element using Selenium?

Yes, its very much possible. You just ...READ MORE

answered May 8, 2018 in Selenium by king_kenny
• 3,650 points
6,346 views
+1 vote
2 answers
0 votes
1 answer

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,090 points
771 views
0 votes
1 answer
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,130 points
1,016 views
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

answered Jun 14, 2018 in Selenium by Samarpit
• 5,130 points
719 views
0 votes
1 answer

To check that the web page is loaded or not using Selenium Web Driver?

The solution is using Implicit Wait which ...READ MORE

answered May 24, 2018 in Selenium by Meci Matt
• 9,420 points
5,486 views
0 votes
1 answer

How to start with a POST request using Selenium?

No, you cannot do this. But you ...READ MORE

answered Jun 25, 2018 in Selenium by Meci Matt
• 9,420 points
2,096 views