Skip to content

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

Open

Description

@web-padawan

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 🙂

Activity

  1. self-assigned this
    on Aug 14, 2021
  2. web-padawan commented on Aug 29, 2024

    @web-padawan
    ContributorAuthor

    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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions