Solved
Forum Discussion
mattb
Staff
4 years agoDoes test fail under local browser execution?
Mohit_Dadhich
4 years agoContributor
Test is not exactly failing due to Browsers.RemoteItem, but it is picking the tablet view which hides our UI control and that's the reason, our execution is failing
We tried with both, but didn't work -
Browsers.RemoteItem["localhost", capabilities].Run(baseurl)
Browsers.RemoteItem["http://hub.crossbrowsertesting.com:80/wd/hub", capabilities].Run(baseurl)
- Mohit_Dadhich4 years agoContributor
Found the solution by adding few parameters in the arguments i.e.
args :[--headless
--window-size=1920*1080]