Skip to content
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

[test-runner-commands] Add Webdriver support for setViewportSize command #1072

Open
web-padawan opened this issue Dec 10, 2020 · 1 comment · May be fixed by #2850
Open

[test-runner-commands] Add Webdriver support for setViewportSize command #1072

web-padawan opened this issue Dec 10, 2020 · 1 comment · May be fixed by #2850
Assignees
Labels
enhancement New feature or request

Comments

@web-padawan
Copy link
Contributor

Consider using setWindowSize API provided by Webdriver to implement setViewportSize command:

browser.setWindowSize(width, height);

This is needed in one of our visual regression tests so I'm going to handle this at some point 🙂

@web-padawan
Copy link
Contributor Author

Looks like there is a new setViewport() API in webdriver v9 which might be a better fit for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants