Automated Execution of Selenium with Activated Extension
I want to run several Selenium tests automatically in Google Chrome from a .side file. Therefore, I need an activated extension. Also, I want to start the tests automatically and the first test should start again as soon as the last finishes. Since I want to run the tests automatically (and not clicking through the Selenium IDE), I thought about using selenium-side-runner. However, I could not find an option to use the activated extension and selenium-side-runner starts a new Google Chrome window for each test. Instead, I would like to run all tests in sequence on the same window with the activated extension.
Does anybody know whether there is a way to use selenium-side-runner for my requirements? Or does anyone have other suggestions on how I can execute my tests automatically?
Thank you very much in advance!
Or does anyone have other suggestions on how I can execute my tests automatically?
On Windows, you can start the tests automatically with
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" "file:///c:/nodetests/test23.html?direct=1&savelog=test23.txt"
or on Mac:
osascript -e 'tell application "Google Chrome" to open location "file:///Users/tests/nodetests/test23.html?direct=1&savelog=test23mac.txt"'
Instead, I would like to run all tests in sequence on the same window with the activated extension.
That works with the cmd line option. In this case do not use the