Closed jurgelenas closed 5 years ago
Capabilities
is just a map[string]interface{}
. You can set custom capabilities with:
myCapabilities["customKey"] = "value"
Capabilities
is just amap[string]interface{}
. You can set custom capabilities with:myCapabilities["customKey"] = "value"
That is correct. But with my PR you can chain capabilities changes:
capabilities := agouti.NewCapabilities().Browser("firefox").Without("javascriptEnabled").Capability("key", "value")
If you think that modifying map
directly is sufficient solution feel free to close my PR :)
Merged #187 (prefer Set
to Capability
).
I had to set a custom vendor specific capability with custom WebDriver.