wynfranc100
4 years agoOccasional Contributor
Headless test run on Chrome with different App port
I have a script that runs the web tests fine if I run NON-Headlessly for localhost:9980 url. When I run headlessly , it cannot run the application in port 9980 (random port). Any tips on how to run if localhost web app is in different port? also which version of chromedriver can run headlessly for Chrome Current browser version 96.0.4664.45?
var server = "http://localhost:9515";
var capabilities = {
"goog:chromeOptions": {
"args": ["--headless"]
}
};
Browsers.RemoteItem(server, capabilities).Run('http://localhost:9980')
never mind, I updated the chromedriver to a later version and it now works without changing the script