Skip to content

Browser: Add resize capability #8099

@KamBha

Description

@KamBha

Clear and concise description of the problem

I have a div that supports resizing and have this div monitored by a resize observer. From what I can tell, I have no means of testing this behavior.

Looking at playwright and webdriver, they have methods that move the cursor, hover and click the mouse down. I would like to see this functionality in vitest.

Suggested solution

page.mouse.down();
page.mouse.move(x, y)
page.mouse.up();

Alternative

No response

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    feat: browserIssues and PRs related to the browser runnerp2-nice-to-haveNot breaking anything but nice to have (priority)

    Projects

    Status

    P2 - 2

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions