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();