https://docs.aws.amazon.com/devicefarm/latest/testgrid/testing-frameworks-nodejs.html
After following above link, I am trying to run Protractor scripts on Device Farm, however scripts are getting executed on my local machine instead of being executed on AWS Cloud machines (i.e. browser instance is opening on my personal laptop). Please advise what changes I need to do to make it run on cloud virtual machine?
Below is my conf.js code:
exports.config = {
specs: ['ABC.js'],
hostname: "testgrid-devicefarm.us-west-2.amazonws.com",
port: 443,
path: "xyz../wd/hub",
protocol: "https" }
Below is the output:
Selenium standalone server started at http://xxx.yyy.x.y:xxxxx/wd/hub
Started
1 spec, 0 failures
Finished in 6.941 seconds
[21:17:42] I/local - Shutting down selenium standalone server.
[21:17:42] I/launcher - 0 instance(s) of WebDriver still running
[21:17:42] I/launcher - firefox #01 passed
(Note: I was able to run Selenium scripts successfully on Device Farm. Only issue I am facing is with Protractor)