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
6,159 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 28, 2018 by Meci Matt
• 9,460 points

Related Questions In Selenium

0 votes
1 answer
+1 vote
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 4, 2020 in Selenium by Sri
• 3,190 points
27,475 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
26,074 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,500 points
13,674 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

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

answered Aug 31, 2020 in Selenium by Sri
• 3,190 points
9,143 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,910 points
7,221 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 3, 2020 in Selenium by Sri
• 3,190 points
7,874 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
25,142 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
12,035 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP