I use Selenium 3.01in windows server 2012 R2. Tests are performed remotely via webdriver.
The problem is that node is running as a service, the resolution is too small, and the tests continue to fail.
When starting node as a process during login, everything is fine, because the resolution is much better.
I see a big difference when taking pictures on failure.
How to change the resolution?
Driver.set_windowsize(x,y)
or
Driver.maximize_window()
They do not work because the resolution of the server is less.
Any ideas? Thanks you
source
share