My goal is to customize the settings of a Selenium Webdriver.
In this particular case, I am looking to modify a capability of the webdriver
specifically for the Firefox browser. All of this needs to be done using Javascript.
this.driver = new selenium.Builder().forBrowser('firefox').build();
I attempted various methods, including calling .withCapabilities()
, but unfortunately it did not work as expected and caused the program to crash.
More specifically, I need to change the 'acceptSslCerts' capability to true since it defaults to false.
Any suggestions on how to achieve this task? I have searched both the API reference and the internet without success.