'Selenide-How to maximise the browser window

After Selenide 6.0.1 version they deleted Configuration.startMaximized. How can we maximize browser now?



Solution 1:[1]

Just use the pre-defined size of the browser, it helps you to avoid unexpected behavior in tests, especially on remote runs.

 Configuration.browserSize = "1920x1080";

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Artem Borsuk