New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

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

Comments

Projects
None yet
1 participant
@asolntsev
Member

asolntsev commented Jan 15, 2016

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";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment