partial revert 37dfaec to not set default (as it is browser-specific); define the other Proxy JSON options (previously supported implicitly via useAttributeAsKey); use validation rule to fix #37
This commit is contained in:
@@ -245,9 +245,17 @@ class Extension implements ExtensionInterface
|
|||||||
booleanNode('nativeEvents')->end()->
|
booleanNode('nativeEvents')->end()->
|
||||||
arrayNode('proxy')->
|
arrayNode('proxy')->
|
||||||
children()->
|
children()->
|
||||||
scalarNode('proxyType')->
|
scalarNode('proxyType')->end()->
|
||||||
defaultValue(isset($config['selenium2']['capabilities']['proxy']['proxyType']) ? $config['selenium2']['capabilities']['proxy']['proxyType'] : 'system')->
|
scalarNode('proxyAuthconfigUrl')->end()->
|
||||||
|
scalarNode('ftpProxy')->end()->
|
||||||
|
scalarNode('httpProxy')->end()->
|
||||||
|
scalarNode('sslProxy')->end()->
|
||||||
end()->
|
end()->
|
||||||
|
validate()->
|
||||||
|
ifTrue(function ($v) {
|
||||||
|
return empty($v);
|
||||||
|
})->
|
||||||
|
thenUnset()->
|
||||||
end()->
|
end()->
|
||||||
end()->
|
end()->
|
||||||
arrayNode('chrome')->
|
arrayNode('chrome')->
|
||||||
|
|||||||
Reference in New Issue
Block a user