Add setting for setting required browser window dimension before running test #272

Closed
asolntsev opened this Issue Jan 15, 2016 · 0 comments

Projects

None yet

1 participant

@asolntsev
Member

By default Selenide maximizes the browser window.

Now I understand that it's probably a bad idea. Tests must defined what minimum browser dimension should be supported by web application being tested.

So, every test could write something like that:

@Before
public void setupBrowser() {
  Configuration.browser = "chrome";
  Configuration.browserSize = "1024x768";
}
@asolntsev asolntsev closed this in 3be364e Jan 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment