sudo apt install firefoxdriver does what?












1















Using Java for Selenium, and am curious about the firefoxdriver package. There are several python specific packages, but does firefoxdriver perhaps install the geckodriver to the system in a way which is easy for a Java based Selenium project to find?



I've been using a properties file:



<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
<comment>selenium config and vehicle type</comment>
<entry key="gecko">/home/thufir/.gecko/geckodriver</entry>
<entry key="url">http://books.toscrape.com/</entry>
<entry key="driver">webdriver.gecko.driver</entry>
<entry key="usr">admin</entry>
<entry key="pwd">12345</entry>
<entry key="option01">--headless</entry>
</properties>


Which would be slightly less fragile if it point to some standard place on the system. (I suppose it's probably possible to bundle it in the JAR, also.)



thufir@dur:~$ 
thufir@dur:~$ sudo apt install firefoxdriver
Reading package lists... Done
Building dependency tree
Reading state information... Done
firefoxdriver is already the newest version (3.8.0-1).
0 upgraded, 0 newly installed, 0 to remove and 98 not upgraded.
thufir@dur:~$









share|improve this question


















  • 1





    Have you tried dpkg -L firefoxdriver to see where all the package files are installed to?

    – user535733
    Dec 26 '18 at 20:35
















1















Using Java for Selenium, and am curious about the firefoxdriver package. There are several python specific packages, but does firefoxdriver perhaps install the geckodriver to the system in a way which is easy for a Java based Selenium project to find?



I've been using a properties file:



<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
<comment>selenium config and vehicle type</comment>
<entry key="gecko">/home/thufir/.gecko/geckodriver</entry>
<entry key="url">http://books.toscrape.com/</entry>
<entry key="driver">webdriver.gecko.driver</entry>
<entry key="usr">admin</entry>
<entry key="pwd">12345</entry>
<entry key="option01">--headless</entry>
</properties>


Which would be slightly less fragile if it point to some standard place on the system. (I suppose it's probably possible to bundle it in the JAR, also.)



thufir@dur:~$ 
thufir@dur:~$ sudo apt install firefoxdriver
Reading package lists... Done
Building dependency tree
Reading state information... Done
firefoxdriver is already the newest version (3.8.0-1).
0 upgraded, 0 newly installed, 0 to remove and 98 not upgraded.
thufir@dur:~$









share|improve this question


















  • 1





    Have you tried dpkg -L firefoxdriver to see where all the package files are installed to?

    – user535733
    Dec 26 '18 at 20:35














1












1








1








Using Java for Selenium, and am curious about the firefoxdriver package. There are several python specific packages, but does firefoxdriver perhaps install the geckodriver to the system in a way which is easy for a Java based Selenium project to find?



I've been using a properties file:



<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
<comment>selenium config and vehicle type</comment>
<entry key="gecko">/home/thufir/.gecko/geckodriver</entry>
<entry key="url">http://books.toscrape.com/</entry>
<entry key="driver">webdriver.gecko.driver</entry>
<entry key="usr">admin</entry>
<entry key="pwd">12345</entry>
<entry key="option01">--headless</entry>
</properties>


Which would be slightly less fragile if it point to some standard place on the system. (I suppose it's probably possible to bundle it in the JAR, also.)



thufir@dur:~$ 
thufir@dur:~$ sudo apt install firefoxdriver
Reading package lists... Done
Building dependency tree
Reading state information... Done
firefoxdriver is already the newest version (3.8.0-1).
0 upgraded, 0 newly installed, 0 to remove and 98 not upgraded.
thufir@dur:~$









share|improve this question














Using Java for Selenium, and am curious about the firefoxdriver package. There are several python specific packages, but does firefoxdriver perhaps install the geckodriver to the system in a way which is easy for a Java based Selenium project to find?



I've been using a properties file:



<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
<comment>selenium config and vehicle type</comment>
<entry key="gecko">/home/thufir/.gecko/geckodriver</entry>
<entry key="url">http://books.toscrape.com/</entry>
<entry key="driver">webdriver.gecko.driver</entry>
<entry key="usr">admin</entry>
<entry key="pwd">12345</entry>
<entry key="option01">--headless</entry>
</properties>


Which would be slightly less fragile if it point to some standard place on the system. (I suppose it's probably possible to bundle it in the JAR, also.)



thufir@dur:~$ 
thufir@dur:~$ sudo apt install firefoxdriver
Reading package lists... Done
Building dependency tree
Reading state information... Done
firefoxdriver is already the newest version (3.8.0-1).
0 upgraded, 0 newly installed, 0 to remove and 98 not upgraded.
thufir@dur:~$






firefox java browser programming selenium






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 26 '18 at 19:10









ThufirThufir

1,53584395




1,53584395








  • 1





    Have you tried dpkg -L firefoxdriver to see where all the package files are installed to?

    – user535733
    Dec 26 '18 at 20:35














  • 1





    Have you tried dpkg -L firefoxdriver to see where all the package files are installed to?

    – user535733
    Dec 26 '18 at 20:35








1




1





Have you tried dpkg -L firefoxdriver to see where all the package files are installed to?

– user535733
Dec 26 '18 at 20:35





Have you tried dpkg -L firefoxdriver to see where all the package files are installed to?

– user535733
Dec 26 '18 at 20:35










1 Answer
1






active

oldest

votes


















0














Not exactly sure where the geckodriver file is, but it might be in there somewhere:



thufir@dur:~$ 
thufir@dur:~$ cat /usr/share/doc/firefoxdriver/README.Debian
selenium-firefoxdriver for Debian
------------------------

This package contains the prebuilded shared objects for x386 and amd64 to
use firefox webdriver with e.g. python-selenium. Some of the shared objects
are packed inside the webdriver.xpi. The python bindings, which this package
is for, requires the path of all .so and select/copy them files by themself.

The source for selenium-firefoxdriver is the same like the python-bindings but we filter out all other stuff except the webdriver.xpi.

-- Sascha Girrulat <sascha@girrulat.de> Sat, 22 Aug 2015 11:43:04 +0200
thufir@dur:~$
thufir@dur:~$ dpkg -L firefoxdriver
/.
/usr
/usr/lib
/usr/lib/firefoxdriver
/usr/lib/firefoxdriver/amd64
/usr/lib/firefoxdriver/amd64/x_ignore_nofocus.so
/usr/lib/firefoxdriver/webdriver.xpi
/usr/lib/firefoxdriver/x86
/usr/lib/firefoxdriver/x86/x_ignore_nofocus.so
/usr/share
/usr/share/doc
/usr/share/doc/firefoxdriver
/usr/share/doc/firefoxdriver/README.Debian
/usr/share/doc/firefoxdriver/README.rst.gz
/usr/share/doc/firefoxdriver/changelog.Debian.gz
/usr/share/doc/firefoxdriver/copyright
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/firefoxdriver
thufir@dur:~$


Better answer appreciated. There's an xpi file, which looks to be an installer for firefox(?) which might have the geckodriver compressed.






share|improve this answer

























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1104721%2fsudo-apt-install-firefoxdriver-does-what%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Not exactly sure where the geckodriver file is, but it might be in there somewhere:



    thufir@dur:~$ 
    thufir@dur:~$ cat /usr/share/doc/firefoxdriver/README.Debian
    selenium-firefoxdriver for Debian
    ------------------------

    This package contains the prebuilded shared objects for x386 and amd64 to
    use firefox webdriver with e.g. python-selenium. Some of the shared objects
    are packed inside the webdriver.xpi. The python bindings, which this package
    is for, requires the path of all .so and select/copy them files by themself.

    The source for selenium-firefoxdriver is the same like the python-bindings but we filter out all other stuff except the webdriver.xpi.

    -- Sascha Girrulat <sascha@girrulat.de> Sat, 22 Aug 2015 11:43:04 +0200
    thufir@dur:~$
    thufir@dur:~$ dpkg -L firefoxdriver
    /.
    /usr
    /usr/lib
    /usr/lib/firefoxdriver
    /usr/lib/firefoxdriver/amd64
    /usr/lib/firefoxdriver/amd64/x_ignore_nofocus.so
    /usr/lib/firefoxdriver/webdriver.xpi
    /usr/lib/firefoxdriver/x86
    /usr/lib/firefoxdriver/x86/x_ignore_nofocus.so
    /usr/share
    /usr/share/doc
    /usr/share/doc/firefoxdriver
    /usr/share/doc/firefoxdriver/README.Debian
    /usr/share/doc/firefoxdriver/README.rst.gz
    /usr/share/doc/firefoxdriver/changelog.Debian.gz
    /usr/share/doc/firefoxdriver/copyright
    /usr/share/lintian
    /usr/share/lintian/overrides
    /usr/share/lintian/overrides/firefoxdriver
    thufir@dur:~$


    Better answer appreciated. There's an xpi file, which looks to be an installer for firefox(?) which might have the geckodriver compressed.






    share|improve this answer






























      0














      Not exactly sure where the geckodriver file is, but it might be in there somewhere:



      thufir@dur:~$ 
      thufir@dur:~$ cat /usr/share/doc/firefoxdriver/README.Debian
      selenium-firefoxdriver for Debian
      ------------------------

      This package contains the prebuilded shared objects for x386 and amd64 to
      use firefox webdriver with e.g. python-selenium. Some of the shared objects
      are packed inside the webdriver.xpi. The python bindings, which this package
      is for, requires the path of all .so and select/copy them files by themself.

      The source for selenium-firefoxdriver is the same like the python-bindings but we filter out all other stuff except the webdriver.xpi.

      -- Sascha Girrulat <sascha@girrulat.de> Sat, 22 Aug 2015 11:43:04 +0200
      thufir@dur:~$
      thufir@dur:~$ dpkg -L firefoxdriver
      /.
      /usr
      /usr/lib
      /usr/lib/firefoxdriver
      /usr/lib/firefoxdriver/amd64
      /usr/lib/firefoxdriver/amd64/x_ignore_nofocus.so
      /usr/lib/firefoxdriver/webdriver.xpi
      /usr/lib/firefoxdriver/x86
      /usr/lib/firefoxdriver/x86/x_ignore_nofocus.so
      /usr/share
      /usr/share/doc
      /usr/share/doc/firefoxdriver
      /usr/share/doc/firefoxdriver/README.Debian
      /usr/share/doc/firefoxdriver/README.rst.gz
      /usr/share/doc/firefoxdriver/changelog.Debian.gz
      /usr/share/doc/firefoxdriver/copyright
      /usr/share/lintian
      /usr/share/lintian/overrides
      /usr/share/lintian/overrides/firefoxdriver
      thufir@dur:~$


      Better answer appreciated. There's an xpi file, which looks to be an installer for firefox(?) which might have the geckodriver compressed.






      share|improve this answer




























        0












        0








        0







        Not exactly sure where the geckodriver file is, but it might be in there somewhere:



        thufir@dur:~$ 
        thufir@dur:~$ cat /usr/share/doc/firefoxdriver/README.Debian
        selenium-firefoxdriver for Debian
        ------------------------

        This package contains the prebuilded shared objects for x386 and amd64 to
        use firefox webdriver with e.g. python-selenium. Some of the shared objects
        are packed inside the webdriver.xpi. The python bindings, which this package
        is for, requires the path of all .so and select/copy them files by themself.

        The source for selenium-firefoxdriver is the same like the python-bindings but we filter out all other stuff except the webdriver.xpi.

        -- Sascha Girrulat <sascha@girrulat.de> Sat, 22 Aug 2015 11:43:04 +0200
        thufir@dur:~$
        thufir@dur:~$ dpkg -L firefoxdriver
        /.
        /usr
        /usr/lib
        /usr/lib/firefoxdriver
        /usr/lib/firefoxdriver/amd64
        /usr/lib/firefoxdriver/amd64/x_ignore_nofocus.so
        /usr/lib/firefoxdriver/webdriver.xpi
        /usr/lib/firefoxdriver/x86
        /usr/lib/firefoxdriver/x86/x_ignore_nofocus.so
        /usr/share
        /usr/share/doc
        /usr/share/doc/firefoxdriver
        /usr/share/doc/firefoxdriver/README.Debian
        /usr/share/doc/firefoxdriver/README.rst.gz
        /usr/share/doc/firefoxdriver/changelog.Debian.gz
        /usr/share/doc/firefoxdriver/copyright
        /usr/share/lintian
        /usr/share/lintian/overrides
        /usr/share/lintian/overrides/firefoxdriver
        thufir@dur:~$


        Better answer appreciated. There's an xpi file, which looks to be an installer for firefox(?) which might have the geckodriver compressed.






        share|improve this answer















        Not exactly sure where the geckodriver file is, but it might be in there somewhere:



        thufir@dur:~$ 
        thufir@dur:~$ cat /usr/share/doc/firefoxdriver/README.Debian
        selenium-firefoxdriver for Debian
        ------------------------

        This package contains the prebuilded shared objects for x386 and amd64 to
        use firefox webdriver with e.g. python-selenium. Some of the shared objects
        are packed inside the webdriver.xpi. The python bindings, which this package
        is for, requires the path of all .so and select/copy them files by themself.

        The source for selenium-firefoxdriver is the same like the python-bindings but we filter out all other stuff except the webdriver.xpi.

        -- Sascha Girrulat <sascha@girrulat.de> Sat, 22 Aug 2015 11:43:04 +0200
        thufir@dur:~$
        thufir@dur:~$ dpkg -L firefoxdriver
        /.
        /usr
        /usr/lib
        /usr/lib/firefoxdriver
        /usr/lib/firefoxdriver/amd64
        /usr/lib/firefoxdriver/amd64/x_ignore_nofocus.so
        /usr/lib/firefoxdriver/webdriver.xpi
        /usr/lib/firefoxdriver/x86
        /usr/lib/firefoxdriver/x86/x_ignore_nofocus.so
        /usr/share
        /usr/share/doc
        /usr/share/doc/firefoxdriver
        /usr/share/doc/firefoxdriver/README.Debian
        /usr/share/doc/firefoxdriver/README.rst.gz
        /usr/share/doc/firefoxdriver/changelog.Debian.gz
        /usr/share/doc/firefoxdriver/copyright
        /usr/share/lintian
        /usr/share/lintian/overrides
        /usr/share/lintian/overrides/firefoxdriver
        thufir@dur:~$


        Better answer appreciated. There's an xpi file, which looks to be an installer for firefox(?) which might have the geckodriver compressed.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Dec 27 '18 at 13:24

























        answered Dec 27 '18 at 13:17









        ThufirThufir

        1,53584395




        1,53584395






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1104721%2fsudo-apt-install-firefoxdriver-does-what%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Ellipse (mathématiques)

            Quarter-circle Tiles

            Mont Emei