Skip to content

Add support for Selenium 3.0.0-beta4 and Firefox 48 & 49 #271

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 7 commits into from

Conversation

davehunt
Copy link
Contributor

@dgangwar
Copy link

dgangwar commented Sep 19, 2016

Hi @davehunt , When can we expect this pull request to be merged and available for public to use?

@davehunt
Copy link
Contributor Author

I'm not sure @dgangwar - I think @kayabendroth has been busy with other projects recently. Hopefully they'll have some time to return to this project. Otherwise, perhaps someone else such as @ddavison could help to get this merged and released? I would do it, but I don't have time to commit to this project beyond the occasional patch.

@eXorus
Copy link

eXorus commented Sep 21, 2016

Good job !!
I'm waiting this release, because the last version is very unstable and I don't know why.

@davehunt
Copy link
Contributor Author

ping @ddavison and @kayabendroth

@abacaj
Copy link

abacaj commented Sep 26, 2016

Need this - firefox node does not work in docker had to build this image from scratch.

&& ln -fs /opt/firefox-$FIREFOX_VERSION/firefox /usr/bin/firefox
&& apt-get -y purge firefox
ENV FIREFOX_VERSION 47.0.1
RUN for VERSION in 48.0.2 47.0.1 46.0.1 45.0.2; do \

Choose a reason for hiding this comment

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

not sure if it is good, as it would have make the image larger, but it did include more versions in one env to make it easy to test

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The image size will be limited to the versions of Firefox supported. That said, my list here is not correct, as Selenium supports "the latest release, the previous release, the latest ESR release and the previous ESR release." I will therefore update this to be: 49.0.1, 48.0.2, 45.4.0esr, 38.8.0esr.

Copy link
Contributor Author

@davehunt davehunt Sep 27, 2016

Choose a reason for hiding this comment

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

I think it makes sense to keep 47.0.1 for now, as it's the latest version supported without GeckoDriver and is the current default version, and I'd like to allow a release of a new docker image without forcing GeckoDriver before Selenium 3 is out of beta.

&& mv /opt/geckodriver /opt/geckodriver-$GECKODRIVER_VERSION \
&& chmod 755 /opt/geckodriver-$GECKODRIVER_VERSION \
&& ln -fs /opt/geckodriver-$GECKODRIVER_VERSION /usr/bin/geckodriver \
&& ln -fs /opt/geckodriver-$GECKODRIVER_VERSION /usr/bin/wires

Choose a reason for hiding this comment

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

for wires rename, do we know which firefox version need that ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is not a requirement of Firefox, but of the Selenium: 2.53.x expects wires but 3.x expects geckodriver.

these using the following environment variables:

- `SELENIUM_VERSION` - version of the Selenium server
- `FIREFOX_VERSION` - version of Firefox (only applies to Firefox images)

Choose a reason for hiding this comment

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

I think it is better to list the version we supported here, since image users not know which versions is included in that image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good idea, I'll update this too.

@davehunt davehunt changed the title Add support for Selenium 3.0.0-beta3 and Firefox 48 Add support for Selenium 3.0.0-beta3 and Firefox 48 & 49 Sep 27, 2016
@davehunt
Copy link
Contributor Author

@HackToday @ddavison @kayabendroth ready for review again

Note that as the latest releases of Firefox work best with Selenium 3.0, which
is currently in beta, the latest release supported by 2.53.x is `47.0.1` and is
also available (and the default).

Choose a reason for hiding this comment

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

If I remember my test before, the 2.53.x can work with Firefox 47.0.1 if not use caps["marionette"] = True.

if you use caps["marionette"] = True to run selenium test. it would fail.

This is my only concern here for various versions matrix.

Other code LGTM.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

2.53.x should work against Firefox 47.0.1 with marionette=True. It's the first version of Firefox that was officially supported by GeckoDriver, so there certainly were more bugs in that version than there are in later releases.

@davehunt davehunt changed the title Add support for Selenium 3.0.0-beta3 and Firefox 48 & 49 Add support for Selenium 3.0.0-beta4 and Firefox 48 & 49 Sep 30, 2016
@davehunt
Copy link
Contributor Author

Updated to beta4.

@ddavison ddavison closed this in 261242d Oct 2, 2016
@davehunt
Copy link
Contributor Author

davehunt commented Oct 4, 2016

@ddavison did you mean to close this? 261242d does not include the changes for Firefox or Selenium..?

@davehunt davehunt reopened this Oct 4, 2016
@ddavison
Copy link
Member

ddavison commented Oct 4, 2016

closed with mutual respect. 😉

@ddavison ddavison closed this Oct 4, 2016
@HackToday
Copy link

@ddavison did 261242d include selenium 3.0 and firefox 48 , 49? Not quite understand above comments, since not clearly explain why close with that commit.

@ddavison
Copy link
Member

ddavison commented Oct 8, 2016

not necessary just that commit @HackToday .

I've pushed up a 3.0.0-beta4 and 3.0.0-beta3 tag. both beta versions have firefox 49.0.1

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

Successfully merging this pull request may close these issues.

6 participants