kctvt 0 Posted June 26 Share Posted June 26 Hello, I'm using _WebDriver, but I dont want to open new chrome for many reason (Ex : these is word "Chrome is being controlled by automated test software" in chromewebdriver and I dont want to see this word.) How to use Webdriver in normal chrome which opened already before ? Link to post Share on other sites
Danp2 1,277 Posted June 26 Share Posted June 26 It's easy to hide the "automated test software" notification. Simple add this line to your setup routine -- _WD_CapabilitiesAdd('excludeSwitches', 'enable-automation') If you aren't using the _WD_Capabilities* functions to build your capabilities string, then simple add this to your existing string -- "excludeSwitches":[ "enable-automation" ] An existing Chrome instance would need to have remote debugging enabled for you to attach to it with webdriver. Suggest that you search the forum on the term "remote-debugging-port" to locate past discussions. DonChunior and kctvt 2 WebDriver UDF [GH&S] Latest version Wiki FAQs Link to post Share on other sites
kctvt 0 Posted June 30 Author Share Posted June 30 On 6/26/2022 at 7:17 PM, Danp2 said: It's easy to hide the "automated test software" notification. Simple add this line to your setup routine -- _WD_CapabilitiesAdd('excludeSwitches', 'enable-automation') If you aren't using the _WD_Capabilities* functions to build your capabilities string, then simple add this to your existing string -- "excludeSwitches":[ "enable-automation" ] An existing Chrome instance would need to have remote debugging enabled for you to attach to it with webdriver. Suggest that you search the forum on the term "remote-debugging-port" to locate past discussions. Ok, thank you Danp2 Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now