Closed OmanF closed 4 years ago
I have never done this, but I think I found how. I dont have a F# project handy, so here is the answer in C#.
var options = new ChromeOptions();
options.AddAdditionalCapability(CapabilityType.AcceptSslCertificates, true, true);
options.AddAdditionalCapability(CapabilityType.IsJavaScriptEnabled, true, true);
Then you can start chromeWithOptions like I linked to in your other ticket.
Alright. I'll verify it in the next day or so and give an answer.
Thanks! (Keeping open until I verify).
This are a simple case of adding ChromeOptions the usual way. Easy-peasy. Thanks.
What the title says.
I basically got
let browserCap = OpenQA.Selenium.Chrome.<what here?>
(where the browser doesn't need to be Chrome, of course), but when I put that last dot, IntelliSense does not give meDesiredCapabilities
.If I do
let bC = OpenQA.Selenium.Remote...
the IntelliSense only gives meReadOnlyDesiredCapabilities
(and besides, I'm running tests on the local machine, not remote).Specifically, how do I add the capabilities
javascriptEnabled
andacceptSslCerts
?Thanks in advance.