This is a custom-made subclass to My::Module::Build that knows how to build Alien::Selenium. Its package name is a nonce chosen by Module::Build.
The Selenium version that one wishes to package. By default, will use whatever is the current value of the variable $SELENIUM_VERSION in Alien::Selenium's source code.
Overloaded from Module::Build so as to also "fetch_selenium", "extract_selenium" and/or "install_selenium".
Overloaded from parent class so as to reserve a special treatment to Alien::Selenium; namely, the value of $SELENIUM_VERSION is changed in place to reflect that of the --selenium-version command-line switch.
As the name implies, fetches Selenium over the interweb. Does nothing if the Selenium zipball is already here.
Unpacks the Selenium zipball.
Copies select bits of the unpacked copy of Selenium into blib/lib/, so that they get embedded into the Alien::Selenium Perl package.
Returns the basename of the Selenium zipball with version number, e.g. selenium-0.x or selenium-core-0.x
selenium-0.x
selenium-core-0.x
Returns the full name of the Selenium zipball, e.g. selenium-0.x.zip
selenium-0.x.zip
Returns the URL that we should attempt to fetch the Selenium tarball from.
Returns the directory in which Selenium is (to be) unpacked. Grovels around a bit looking for already existing directories, and returns "selenium_archive_basename" if none is found.
To install Alien::Selenium, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Alien::Selenium
CPAN shell
perl -MCPAN -e shell install Alien::Selenium
For more information on module installation, please visit the detailed CPAN module installation guide.