#874207 geckodriver: please enable

Package:
firefox
Source:
firefox
Description:
Mozilla Firefox web browser
Submitter:
Matthias Urlichs
Date:
2021-08-26 12:45:03 UTC
Severity:
normal
Tags:
#874207#5
Date:
2017-09-04 09:02:06 UTC
From:
To:
Firefox does not work with python{,3}-selenium because you don't build the
"geckodriver" executable.

The end of testing/geckodriver/README.md states:

    geckodriver is built in the Firefox CI by default but not if you build
    Firefox locally. To enable building of geckodriver locally, ensure you
    put this in your mozconfig:

        ac_add_options --enable-geckodriver

    The geckodriver binary will appear in ${objdir}/dist/bin/geckodriver alongside firefox-bin.

Please enable and install it so that Firefox may be used with Selenium.

#874207#10
Date:
2017-11-16 18:40:45 UTC
From:
To:
Howdy,

The Wikimedia project has some work on the Debian packaging of
‘geckodriver’ <URL:https://phabricator.wikimedia.org/T137797>.

Hopefully that can be some help to get ‘geckodriver’ into Debian.

#874207#19
Date:
2020-02-26 08:09:20 UTC
From:
To:
Unfortunately I note that they have abandoned that effort.

I noticed that Ubuntu have a firefox-geckodriver package built from
their firefox source package, so perhaps that could be used:

https://launchpad.net/ubuntu/+search?text=firefox-geckodriver
https://bugs.launchpad.net/bugs/1831204

Here are the relevant parts of their debian/ directory:

debian/control.in:Package: @MOZ_PKG_NAME@-geckodriver
debian/control.in-Architecture: any
debian/control.in-Depends: ${shlibs:Depends},
debian/control.in-	${misc:Depends},
debian/control.in-	@MOZ_PKG_NAME@ (= ${binary:Version})
debian/control.in:Description: Safe and easy web browser from Mozilla - geckodriver
debian/control.in- Firefox delivers safe, easy web browsing. A familiar user interface,
debian/control.in- enhanced security features including protection from online identity theft,
debian/control.in- and integrated search let you get the most out of the web.
debian/control.in- .
debian/control.in: This package contains geckodriver, a proxy for using W3C WebDriver-compatible
debian/control.in- clients (such as selenium) to interact with Gecko-based browsers. See
debian/control.in: https://firefox-source-docs.mozilla.org/testing/geckodriver/ for details.


debian/tests/control-Test-Command: timeout -v 600 debian/tests/firefox-version
debian/tests/control:Depends: coreutils, firefox, firefox-geckodriver, python3-apt, python3-selenium
debian/tests/control-
debian/tests/control-Test-Command: timeout -v 600 debian/tests/html5test
debian/tests/control:Depends: coreutils, firefox, firefox-geckodriver, python3-selenium
debian/tests/control-Restrictions: allow-stderr


debian/build/rules.mk:install-geckodriver: debian/stamp-installgeckodriver
debian/build/rules.mk:debian/stamp-installgeckodriver: debian/stamp-makefile-install
debian/build/rules.mk:	install -D $(MOZ_DISTDIR)/bin/geckodriver $(CURDIR)/debian/$(MOZ_PKG_NAME)-geckodriver/usr/bin/geckodriver
debian/build/rules.mk-	@touch $@
...
debian/build/rules.mk:common-install-arch:: install-geckodriver

#874207#24
Date:
2021-06-04 05:42:23 UTC
From:
To:
Control: clone -1 -2
Control: reassign -2 firefox-esr

Presumably we will want firefox-esr-geckodriver too, cloning.

#874207#31
Date:
2021-08-26 12:21:27 UTC
From:
To:
Hello,

Is anybody working on this?

Michel Le Bihan

#874207#36
Date:
2021-08-26 12:33:43 UTC
From:
To:
Hello,

Le 26/08/2021 à 14:21, Michel Le Bihan a écrit :


I don't think anyone is working on this

Cheers

Sylvestre