SeleniumGrid : Node as Windows Service : screen resolution

130 views
Skip to first unread message

Benjamin Dapoigny

unread,
Jul 20, 2017, 10:37:40 PM7/20/17
to Selenium Users
I use selenium grid but i have a problem with the screen resolution. 
My node is install with windows service (nssm). 
The service is install on my computer and the current screen of my compuer is 1920x1080 But when mytest is running the max resolution is : 1040/784. How change this ?

I tried this but nothing is working.
var Driver = new RemoteWebDriver(new Uri(""), capabilities);
Driver.Manage().Window.Size = new Size(1920, 1080);

or this it the same result 
var Driver = new RemoteWebDriver(new Uri(""), capabilities);
Driver.Manage().Window.Maximize();


yh...@palo-it.com

unread,
Nov 7, 2017, 11:13:51 PM11/7/17
to Selenium Users
need help as well...

anyone has any idea?
Reply all
Reply to author
Forward
0 new messages