Because life is short, getting test web drivers should be easy. In Ubuntu 14.04, Selenium no longer requires a stand-alone testing Server, so running integration tests is much much more fun! This factory encapsulates all the boring bits about getting a web driver to mimic user behaviour in the GUI. Tests included.
Created attachment 40803 [details] [review] Bug 14495 - WebDriver/WebTester Factory for easy generation of Web testing UserAgents. Because life is short, getting test web drivers must be easy. use t::lib::WebDriverFactory; my ($firefox) = t::lib::WebDriverFactory::getUserAgentDrivers('firefox'); In Ubuntu 14.04, Selenium no longer requires a stand-alone testing Server, so running integration tests is much much more fun! This factory encapsulates all the boring bits about getting a web driver to mimic user behaviour in the GUI. And makes it super easy to get a test driver for any testing type environment. Adds support for Test::Mojo and Selenium, see t::lib::WebDriverFactory for installation and usage instructions. run t::lib::webDriverFactory.t to see your configured capabilities.
Created attachment 40804 [details] [review] Bug 14495 - WebDriver/WebTester Factory for easy generation of Web testing UserAgents.
Created attachment 40809 [details] [review] Bug 14495 - WebDriver/WebTester Factory for easy generation of Web testing UserAgents.
Created attachment 40818 [details] [review] Bug 14495 - WebDriver/WebTester Factory for easy generation of Web testing UserAgents.
Created attachment 41022 [details] [review] Bug 14495 - WebDriver/WebTester Factory for easy generation of Web testing UserAgents.
You need phantomjs version 1.9 or bigger to run browser testing headlessly in a testing server.
Created attachment 41120 [details] [review] Bug 14495 - WebDriver/WebTester Factory for easy generation of Web testing UserAgents.
Created attachment 41155 [details] [review] Bug 14495 - WebDriver/WebTester Factory for easy generation of Web testing UserAgents.
Created attachment 41253 [details] [review] Bug 14495 - WebDriver/WebTester Factory for easy generation of Web testing UserAgents.
Created attachment 41296 [details] [review] Bug 14495 - WebDriver/WebTester Factory for easy generation of Web testing UserAgents. Has an optional dependency to Buugg 13799 Because life is short, getting test web drivers must be easy. use t::lib::WebDriverFactory; my ($firefox) = t::lib::WebDriverFactory::getUserAgentDrivers('firefox'); In Ubuntu 14.04, Selenium no longer requires a stand-alone testing Server, so running integration tests is much much more fun! This factory encapsulates all the boring bits about getting a web driver to mimic user behaviour in the GUI. And makes it super easy to get a test driver for any testing type environment. Adds support for Test::Mojo and Selenium, see t::lib::WebDriverFactory for installation and usage instructions. ---------------------------- -INSTALLATION INSTRUCTIONS:- ---------------------------- -All the WebDriver tests use the Selenium::PhantomJS-package by default. You MUST install the following dependencies: cpanm Selenium::Remote::Driver cpanm Selenium::PhantomJS apt-get install phantomjs #Minimum version acceptable is v1.09 Optionally you can install other Selenium browsers like Firefox Chrome IE But they are only useful when testing the WebDriver scripts on a graphical environment. You are better off using Selenium IDE to learn/test WebDriver scripts. run t::lib::webDriverFactory.t to see your configured capabilities.
Created attachment 41533 [details] [review] Bug 14495 - WebDriver/WebTester Factory for easy generation of Web testing UserAgents.
Created attachment 63234 [details] [review] Bug 14495 - WebDriver/WebTester Factory for easy generation of Web testing UserAgents. Has an optional dependency to Buugg 13799 Because life is short, getting test web drivers must be easy. use t::lib::WebDriverFactory; my ($firefox) = t::lib::WebDriverFactory::getUserAgentDrivers('firefox'); In Ubuntu 14.04, Selenium no longer requires a stand-alone testing Server, so running integration tests is much much more fun! This factory encapsulates all the boring bits about getting a web driver to mimic user behaviour in the GUI. And makes it super easy to get a test driver for any testing type environment. Adds support for Test::Mojo and Selenium, see t::lib::WebDriverFactory for installation and usage instructions. ---------------------------- -INSTALLATION INSTRUCTIONS:- ---------------------------- -All the WebDriver tests use the Selenium::PhantomJS-package by default. You MUST install the following dependencies: cpanm Selenium::Remote::Driver cpanm Selenium::PhantomJS apt-get install phantomjs #Minimum version acceptable is v1.09 Optionally you can install other Selenium browsers like Firefox Chrome IE But they are only useful when testing the WebDriver scripts on a graphical environment. You are better off using Selenium IDE to learn/test WebDriver scripts. run t::lib::webDriverFactory.t to see your configured capabilities.