Skip to content

Commit

Permalink
Merge pull request Behat#39 from swestcott/master
Browse files Browse the repository at this point in the history
Set default value for WebDriver proxy config
  • Loading branch information
everzet committed Sep 20, 2012
2 parents e988920 + 0fa25fc commit 37dfaec
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Behat/MinkExtension/Extension.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,11 @@ public function getConfig(ArrayNodeDefinition $builder)
booleanNode('acceptSslCerts')->end()->
booleanNode('nativeEvents')->end()->
arrayNode('proxy')->
useAttributeAsKey('key')->
prototype('variable')->end()->
children()->
scalarNode('proxyType')->
defaultValue(isset($config['selenium2']['capabilities']['proxy']['proxyType']) ? $config['selenium2']['capabilities']['proxy']['proxyType'] : 'system')->
end()->
end()->
end()->
arrayNode('chrome')->
children()->
Expand Down

0 comments on commit 37dfaec

Please sign in to comment.