java - Chromium with SeleneseTestCase -
I want to run Selenium Test case with Chromium under Debian 6, which does not have any user interface. I am using 'xsimulator' for this: I am setting up my test:
The Chromium instance begins without any problems, but, Because it is in the first part of Chromium, it asks me to make the default browser. Without the UI (I'm on Exximeter) I can not click and can not make any choice. Actually, Chromium has default browser check 'No-default-browser-check'), but only in the terminal When I set up the test like this: Thumb pointer throws exclamation: Another alternative solution can be to make Chrome default by making it the '-make-default-browser' argument on the terminal Using, but drought This 'xdg' leads to error: My question is: how the browser-specific The above problem was mentioned above or to avoid checking the default browser as well as to install the Chromium browser in the Selenium test case. The main problem was to force Chromium to operate without any specific first-run operation, either Selenia Or manually. I can not get the browser to install the Chromium browser in the Selenium test case with specific logic, but I think I do not have to For this: This will force Chromium to start normally. Public zero set up () throws exception {setName ("test"); Super.setup ("http://www.wikipedia.org/", "* googlechrome chromium-browser);}
super.setUp ("http://www.wikipedia.org/", "* googlechrome usr / bin / Chromium Browser - -no-default browser-checking ");
org.openqa.selenium.server.browserlaunchers.GoogleChromeLauncher.createCommandArray (GoogleChromeLauncher.java:168) java.lang.NullPointerException
to force chromium "Chromium To get the default browser "got a solution.
/ "current user" / .configium / chromium / ) "default" dir
"Preferences" >>
/ "current user" / config / chromium and create the empty file called "first run" < / Li>
Comments
Post a Comment