allow command line switches to the webdriver when it starts #469
Comments
|
If I understand you correctly we are using the prebuilt
I also tried running the bin executable directly |
Okay, I got confused by the original message. We consider the I did a quick search and couldn't find an obvious analog to Let me know if you need any more pointers to get started. |
I think the setting I'd like to experiment with is this one: QWebSettings::XSSAuditingEnabled |
The pipeline looks roughly like this from that point:
A lot of commands just call something on There's a rake task for adding new commands, so you don't have to add all the files by hand. It works like |
It looks as if the Connection class already parses a small subset of options on initialize, it would be nice if we could supply a set of switches that would customize how the webdriver starts up.
At the exact moment it would be really helpful to have the
--disable-web-security
switch in order to prevent the webdriver from shifting focus when there is an error from an outside library I don't control, like facebook, from taking over the javascript context (see #349). In general, it seems like a nice thing to have.I'd be happy to implement, but unsure on how to pass the swtiches array to the webdriver. a little guidance and I'll do my best to add this feature, or is there a reason we wouldn't be able to do this?
Thanks!
reference:
http://code.google.com/p/chromedriver/wiki/CapabilitiesAndSwitches
http://peter.sh/experiments/chromium-command-line-switches/
The text was updated successfully, but these errors were encountered: