Fix the config structure for chrome prefs

This is a map node, not a list node.
This commit is contained in:
Christophe Coevoet
2022-03-30 12:31:57 +02:00
parent 35f542a757
commit 8a96a79972

View File

@@ -146,7 +146,11 @@ class Selenium2Factory implements DriverFactory
->arrayNode('switches')->prototype('scalar')->end()->end() ->arrayNode('switches')->prototype('scalar')->end()->end()
->scalarNode('binary')->end() ->scalarNode('binary')->end()
->arrayNode('extensions')->prototype('scalar')->end()->end() ->arrayNode('extensions')->prototype('scalar')->end()->end()
->arrayNode('prefs')->prototype('variable')->end()->end() ->arrayNode('prefs')
->normalizeKeys(false)
->useAttributeAsKey('name')
->prototype('variable')->end()
->end()
->end() ->end()
->end() ->end()
->arrayNode('extra_capabilities') ->arrayNode('extra_capabilities')