I'm trying to run a simple selenium test on a Chromebook but I'm currently getting an EACCES error when starting the test. The Chromebook is in developer mode so I'm able to install some software on there.
I've installed the selenium-webdriver package via npm and then written a small node application using the example in the selenium source:
var webdriver = require('selenium-webdriver'),
By = webdriver.By,
until = webdriver.until;
var driver = new webdriver.Builder()
.forBrowser('firefox')
.build();
driver.get('http://www.google.com/ncr');
driver.findElement(By.name('q')).sendKeys('webdriver');
driver.findElement(By.name('btnG')).click();
driver.wait(until.titleIs('webdriver - Google Search'),
1000);
driver.quit();
I've also downloaded the latest version of ChromeDriver (2.19) and added it to the PATH. When I try and run the above script as root I get an EACCES error, and the following stack trace:
Following the exact
same process on Ubuntu (with the exception of node and npm being installed via
apt-get) worked without any issues.
Has anybody else had a similar issue with Chrome OS? If not, I'd also be really interested to hear if anybody has had any success running Selenium tests on a Chromebook.
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/f021949b-486f-4cc9-b350-4a1d383c2bed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Krishnan,
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/e3e252f9-7843-4b3b-ae44-6fce8ad64a54%40googlegroups.com.