Skip to content

[💡 Feature]: Add/return back possibility to click and moveTo outside the given element #12190

@taninnazar

Description

@taninnazar

Is your feature request related to a problem?

Sometimes we need to click outside of the element or move the mouse out of the element. Previously, it was possible by passing xOffset and yOffset, while el.click({x:..., y:...}) or el.moveTo({x:..., y:...}) which were greater than the element's width or height. After the code changes for this feature #11544 clicking or moving outside the element throws an error and the test fails. So, the idea is to return this possibility.

Describe the solution you'd like.

Approaches that were suggested by Christian which I agree with:

  • remove the error being thrown
  • add a flag to allow clicking and moving outside of the element

Describe alternatives you've considered.

No response

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Idea 💡A new feature ideahelp wantedIssues that are free to take by anyone interested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions