Re: controlling Firefox using Perl
Илья <[email protected]>
| Newsgroups | gmane.comp.lang.perl.beginners |
|---|---|
| Message-ID | <[email protected]> |
You can easily use any perl version you want with plenv (my favourite), perlbrew or docker. Check this guides to find details about how to install and use them https://stackoverflow.com/questions/21980853/install-another-perl-in-linux https://christopher.rasch-olsen.no/perl-dependency-management https://weblog.bulknews.net/plenv-alternative-for-perlbrew-7b5bf00a419e?gi=3984bd729b96 https://xdg.me/setting-up-a-perl-development-environment-with-plenv/ And general advice - do not use system perl for your own projects https://www.effectiveperlprogramming.com/2015/11/apple-recommends-installing-your-own-perl/ On 12.03.2021 20:14, Gary Stainburn wrote: > On 12/03/2021 15:52, Dermot wrote: >> In the past I have opted to use Webdriver::Tiny. However I've only >> ever used it with Chromium browser but the documentation says it can >> work with Geckodriver. >> >> The API for Webdriver::Tiny is slightly different from >> Selenium::Firefox <https://metacpan.org/pod/Selenium::Firefox> so >> your code will need to be modified. >> >> https://metacpan.org/pod/distribution/WebDriver-Tiny/lib/WebDriver/Tiny.pod#geckodriver >> <https://metacpan.org/pod/distribution/WebDriver-Tiny/lib/WebDriver/Tiny.pod#geckodriver> >> > I've just had a go at installing WebDriver::Tiny but it appears to > need Perl >= 5.20. An fully up to date Centos 7 only has 5.16.3. I've > no idea how to upgrade to 5.20 safely without breaking what is already > installed. > > I do find it frustrating that I have a working Selenium::Firefox > setup, but can't find usable documentation.