Selenium unsupported command -


i unable run automation script on chrome, showing kind of error like:

you using unsupported command-line-flag:--ignore--certificate--errors.stability , security suffer.

you need add command-line switch chromeoptions().

in python, looks this:

options = webdriver.chromeoptions() switches = ["ignore-certificate-errors"] options.add_experimental_option("excludeswitches", switches) chrome = options.to_capabilities() 

then pass chrome variable initialisation of chromedriver object.

obviously if you're not using python you'll need alter above suite bindings use.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -