I was wondering if anyone know why the WebDriver command: .windowMaximize()
doesn't put the window of the browser (Chrome on MAC in my case) in fullscreen? The window is re-sized to fit in only half of my screen.
Is there anyway to tackle this problem? maybe by setting by myself dimensions with the command .windowSize()
but the problem with that is that it will be only set for the screen I use at the moment and so I will have to change if I launch my script on a different screen.