testfeast
2 years agoOccasional Contributor
Name Mapping not working on remote browser
The name mapping and test cases work fine on local browsers, but would complain about page or object not found when running headless remote browsers and in parallel testing.
I have the following setup for browser name mapping:
For headless setup I have:
server = "localhost"
capabilities = {
"browserName": "chrome",
"headless" : "true",
"screenResolution": "1920x1080",
"platform" : "Headless",
"record_video": "true"
}
Browsers.RemoteItem[server, capabilities].Run(url)
Is this the correct way to work with name mapping on headless browser?