Mohit_Dadhich
3 years agoContributor
Remote Execution for Web picking tablet view while execution in headless mode.
Remote Execution for Web picking tablet view while execution in headless mode.as a result scripts are getting failed.
We have removed all the defined virtual browsers from current project settings and default project settings and set chrome with resol
Following are the parameters which we are using in our script -
capabilities =
"platform" = "Windows 10",
"browserName" = "chrome",
"screenResolution" = "1920x1080"
Browsers.RemoteItem["localhost", capabilities].Run(baseurl)
Found the solution by adding few parameters in the arguments i.e.
args :[--headless
--window-size=1920*1080]