Skip to content

[Feature] make scroll into view optional for page.click() #5716

@Nilsty

Description

@Nilsty

Problem statement:
I have a dropdown menu where the bottom part is cut off. The elements which are cut off are still clickable as page.click() will scroll them into view. But I would like to make sure that all elements of the dropdown are fully visible without scrolling.

Proposed solution
My proposed solution would be to make the scrolling into view optional for page.click() as an option. E.g. scroll=false

Additional context
image

This issue seems somewhat related to #5700

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions