Skip to content
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

Unable to use Firefox 48+ with AJAX Spider #2743

Closed
thc202 opened this issue Aug 4, 2016 · 6 comments
Closed

Unable to use Firefox 48+ with AJAX Spider #2743

thc202 opened this issue Aug 4, 2016 · 6 comments

Comments

@thc202
Copy link
Member

thc202 commented Aug 4, 2016

Steps to reproduce the issue:

  1. Run ZAP;
  2. Start the AJAX Spider using Firefox version 48.0;
  3. Note that the browser opens but then nothing happens (for a while);
  4. A pop up is shown saying "Failed to start 'Firefox', is the browser installed/available?";
  5. In the log there's some warnings:
Caused by: org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary(firefox) on port 7055; process output follows:
...

Remarks:
Newer versions of Firefox require the use of geckodriver [1] (which does not support version 47 [2]).
The geckodriver is included in version 3.0.0 of Selenium but it's still in beta and requires Java 8. [3]

ZAP:
2.5.0

Add-ons:
Selenium version 6 or 7.
Ajax Spider version 15.

[1] SeleniumHQ/selenium#2559 (comment)
[2] https://github.com/mozilla/geckodriver/blob/773c87baa4183865a4907824b47737b50284c25b/README.md#supported-firefoxen
[3] https://github.com/SeleniumHQ/selenium/blob/2aa21c1bca3ce863ed19791e20606a007a17dfa7/java/CHANGELOG#L14-L19

@thc202
Copy link
Member Author

thc202 commented Oct 18, 2016

Selenium 3 is no longer in beta. Since the new version requires Java 8 the Selenium add-on will also be changed to depend on Java 8.

@jx6f
Copy link

jx6f commented Nov 2, 2016

I have been using crawljax(selenium 2.53.1) with unbranded build FireFox48.

The problem is due to the Firefox Driver Extension Signing. This discussion will be helpful.
https://groups.google.com/forum/#!topic/selenium-users/kDsWkujq0Y4

However, it might not be a good idea.

@thc202 thc202 self-assigned this Jan 17, 2017
thc202 added a commit to thc202/zap-extensions that referenced this issue Jan 17, 2017
Change ExtensionSelenium to use geckodriver/marionette, allowing to use
newer versions of Firefox (>= 48).
Change options to allow to specify the path to geckodriver.
Backport GeckoDriverService to not require updating Selenium (which
needs Java 8).
Update help pages to mention the supported versions of Firefox.
Bump version and update changes in ZapAddOn.xml file.

Fix zaproxy/zaproxy#2743 - Unable to use Firefox 48+ with AJAX Spider
@thc202
Copy link
Member Author

thc202 commented Jan 17, 2017

It's possible to use geckodriver with the version currently used by Selenium add-on, so, AJAX Spider, Selenium and Zest add-ons do not need to be changed to depend on Java 8.

@thc202
Copy link
Member Author

thc202 commented Jan 17, 2017

@jx6f it's possible to use "normal" Firefox but it must be done with geckodriver/marionette.

thc202 added a commit to thc202/zap-extensions that referenced this issue Jan 18, 2017
Change ExtensionSelenium to use geckodriver/marionette, allowing to use
newer versions of Firefox (>= 48).
Change options to allow to specify the path to geckodriver.
Backport GeckoDriverService to not require updating Selenium (which
needs Java 8).
Update help pages to mention the supported versions of Firefox, fix
typos and add suggested workaround for PhantomJS.
Bump version and update changes in ZapAddOn.xml file.

Fix zaproxy/zaproxy#2743 - Unable to use Firefox 48+ with AJAX Spider
thc202 added a commit to thc202/zap-extensions that referenced this issue Jan 19, 2017
Change ExtensionSelenium to use geckodriver/marionette, allowing to use
newer versions of Firefox (>= 48).
Change options to allow to specify the path to geckodriver.
Backport GeckoDriverService to not require updating Selenium (which
needs Java 8).
Update help pages to mention the supported versions of Firefox, fix
typos and add suggested workaround for PhantomJS.
Bump version and update changes in ZapAddOn.xml file.

Fix zaproxy/zaproxy#2743 - Unable to use Firefox 48+ with AJAX Spider
@thc202
Copy link
Member Author

thc202 commented Jan 27, 2017

Released in version 8 of Selenium add-on.

@lock
Copy link

lock bot commented Feb 1, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Feb 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

3 participants