NAME

Selenium::Driver::SeleniumHQ::Jar - Download the latest version of seleniumHQ's selenium.jar, and tell Selenium::Client how to spawn it

VERSION

version 1.05

Mode of Operation

Downloads the latest Selenium JAR (or the provided driver_version). Expects java to already be installed.

Spawns a selnium server on the provided port (which the caller will assign randomly) Pipes log output to ~/.selenium/perl-client/$port.log Uses a config file ~/.selenium/perl-client/$port.toml if the selenium version supports this

SUBROUTINES

build_spawn_opts($class,$object)

Builds a command string which can run the driver binary. All driver classes must build this.

find_and_fetch($dir STRING, $version STRING, $user_agent HTTP::Tiny)

Does an index lookup of the various selenium JARs available and returns either the latest one or the version provided. Stores the JAR in the provided directory.

AUTHOR

George S. Baugh <george@troglodyne.net>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2021 by George S. Baugh.

This is free software, licensed under:

The MIT (X11) License