This repository has been archived by the owner on Mar 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 276
Unable to use with non-Firefox drivers and Selenium 4+ #376
Comments
andrewnicols
added a commit
to moodlehq/moodle-ci-runner
that referenced
this issue
Dec 1, 2021
This works around Behat/MinkExtension#376.
andrewnicols
added a commit
to moodlehq/moodle-ci-runner
that referenced
this issue
Dec 1, 2021
This works around Behat/MinkExtension#376.
andrewnicols
added a commit
to moodlehq/moodle-ci-runner
that referenced
this issue
Dec 1, 2021
This works around Behat/MinkExtension#376.
andrewnicols
added a commit
to moodlehq/moodle-ci-runner
that referenced
this issue
Dec 1, 2021
This works around Behat/MinkExtension#376.
andrewnicols
added a commit
to andrewnicols/MinkExtension
that referenced
this issue
Dec 1, 2021
The marionette capability is a Firefox-specific capability to aid in the transition from legacy versions of Firefox (47.0.1 and earlier). It is a `Boolean` and this value is now checked aggressively in Selenium 4.0.0 onwards. Since `null` is not a Boolean, this leads to an error. This patch removes the default value, which means that if no value is specified then it will not be included in the output, and the defaults will apply (True for Firefox; Unset for other browsers). Without this patch you must jump through hoops to run against Selenium 4. Fixes Behat#376
This was referenced Dec 1, 2021
andrewnicols
added a commit
to andrewnicols/moodle-browser-config
that referenced
this issue
Dec 1, 2021
This works around Behat/MinkExtension#376.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When trying to start with a default configuration using Selenium 4.0 or 4.1 (3.X is now unsupported), the presence of the empty
marionette
variable leads to an invalid capability exception in Selenium:A Boolean attribute must be a boolean (True/False) and must not be Null.
The marionette value should either set a Boolean default, or not set any at all.
The marionette value is purely present to support legacy versions of Firefox and should be removed.
The text was updated successfully, but these errors were encountered: