kctvt Posted June 26, 2022 Share Posted June 26, 2022 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 comment Share on other sites More sharing options...
Danp2 Posted June 26, 2022 Share Posted June 26, 2022 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 Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
kctvt Posted June 30, 2022 Author Share Posted June 30, 2022 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 comment Share on other sites More sharing options...
iSan Posted May 11, 2023 Share Posted May 11, 2023 (edited) Thanks Edited May 11, 2023 by iSan Del Link to comment Share on other sites More sharing options...
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