Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

Set the default value for Marionette to True #50

Closed
wants to merge 1 commit into from

Conversation

andrewnicols
Copy link
Contributor

Selenium 4+ validates Capabilities now, and will not accept a Null value
for a Boolean property (marionette).

The real issue here is that the Selenium2Factory is very opionated and
defaults to Firefox with a load of properties.

This is the only one which is really problematic as the rest have either
no default, or sensible defaults.

Where a property has no default, it is considered optional, and is
removed. Where a default is specified, then it will be applied.

There is no way to entirely remove a property once specified using the
Builder. The only way is to specify a new sensible default.

Selenium 4+ validates Capabilities now, and will not accept a Null value
for a Boolean property (marionette).

The real issue here is that the Selenium2Factory is very opionated and
defaults to Firefox with a load of properties.

This is the only one which is really problematic as the rest have either
no default, or sensible defaults.

Where a property has no default, it is considered optional, and is
removed. Where a default is specified, then it will be applied.

There is no way to entirely remove a property once specified using the
Builder. The only way is to specify a new sensible default.
@stronk7
Copy link
Member

stronk7 commented Dec 1, 2021

Copying from moodlehq/moodle-ci-runner#66 ...

if we apply this fix to our very own https://github.com/moodlehq/MinkExtension.git fork... do we still need these PRs in the behat-extension ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants