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
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.