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,100 points
4,344 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,460 points

Related Questions In Selenium

0 votes
1 answer
0 votes
2 answers

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

WebDriver driver; JavascriptExecutor js = (JavascriptExecutor) driver; js.executeScript("document.getElementById('id123').setAttribute('attr', ...READ MORE

answered Sep 3 in Selenium by Sri
• 2,970 points
15,720 views
+1 vote
2 answers

Is it possible to scroll down in a webpage using selenium webdriver programmed on python?

I using next code for facebook for ...READ MORE

answered May 16, 2019 in Selenium by mslavikas@gmail.com
18,770 views
0 votes
1 answer
0 votes
2 answers

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,520 points
3,805 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

enable trusted connection  in internet explorer by ...READ MORE

answered Aug 31 in Selenium by Sri
• 2,970 points
4,786 views
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,890 points
2,758 views
0 votes
2 answers

How to use such xpath to find web elements

xpath are two types. 1) Absolute XPath:    /html/b ...READ MORE

answered Sep 2 in Selenium by Sri
• 2,970 points
3,120 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,460 points
14,891 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,460 points
6,405 views