You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 13, 2023. It is now read-only.
Spent a little bit of time trying to figure out getting Selenium 3 working with Firefox to get our behat tests with javascript working. Turns out it's pretty simple!
Drupal VM installs the latest version of Firefox which needs to use the GeckoDriver. FF greater than 48.x needs this driver for Selenium to work. You can download it from:
if [ ! -e "$GECKO_FULL_PATH" ]; then
wget -qO- $GECKO_DOWNLOAD | tar xvz -C $GECKO_DOWNLOAD_DIR
sudo cp -a $GECKO_DOWNLOAD_DIR/$GECKO_NAME $GECKO_PATH
else
exit 0
fi
This installs the driver in a location that selenium can find it. Simple as that and it appears to be working as expected.