feature #2 add prefs node to chrome configuration (smildev)
This PR was merged into the 2.1.x-dev branch.
Discussion
----------
It adds the capability to configure a new key 'prefs' to chrome configuration.
We need this to configure the default directory download of chrome.
> example:
Behat\MinkExtension:
sessions:
chrome:
selenium2:
browser: chrome
capabilities:
.....
chrome:
switches:
- "start-fullscreen"
- "start-maximized"
- "no-sandbox"
- "headless"
prefs:
download:
default_directory: etc/downloads
Commits
-------
c9bc6c9999 add prefs node to chrome configuration
This commit is contained in:
@@ -146,6 +146,7 @@ class Selenium2Factory implements DriverFactory
|
||||
->arrayNode('switches')->prototype('scalar')->end()->end()
|
||||
->scalarNode('binary')->end()
|
||||
->arrayNode('extensions')->prototype('scalar')->end()->end()
|
||||
->arrayNode('prefs')->prototype('variable')->end()->end()
|
||||
->end()
|
||||
->end()
|
||||
->arrayNode('extra_capabilities')
|
||||
|
||||
Reference in New Issue
Block a user