Headless test run on Chrome with different App port
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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')
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
never mind, I updated the chromedriver to a later version and it now works without changing the script
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Headless Chrome is shipping in Chrome 59. It's a way to run the Chrome browser in a headless environment. Essentially, running Chrome without chrome! It brings all modern web platform features provided by Chromium and the Blink rendering engine to the command line.
