Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Selenium2 driver to accept unexpectedAlertBehavior option #338

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ protected function getCapabilitiesNode()
->addDefaultsIfNotSet()
->normalizeKeys(false)
->children()
->scalarNode('unexpectedAlertBehaviour')->defaultValue('ignore')->end()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest we put no default value, as done for others. We rely on Selenium's default for most of them (especially given that different implementations might support different ones)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, makes sense, I will change it.
Thanks for the review :)

What about the Travis failures below? They don't seem to be related to my change?

->scalarNode('browserName')->end()
->scalarNode('version')->end()
->scalarNode('platform')->end()
Expand Down