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
Post a Comment