Selenium with chrome – chrome is being controlled by automated software

With chromedriver.exe with version 2.28 on wards, when tried to invoke chrome browser using selenium, getting below notification as “Chrome is being controlled by automated test software”

This is just a warning or notification from chrome browser, no harm if pops up,

This just tells to make you aware that some body is controlling your application [here, the selenium scripts]

How to get rid of this

Using chrome options


Some times below combination may throw error while invoking url

Better to use 

instead

Another safe option is to use

So the code is something like

 

Content posted is based on learning or working experience, Share the post with others if find useful, Any queries?, leave comments or discuss on our facebook:qavalidation.com, Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: