Skip to content

realMouseWheel position is unnecessarily limited to "center" #751

@alirezamirian

Description

@alirezamirian

export interface RealMouseWheelOptions {
/**
* Position relative to the element where to hover the element. Only supporting "center".
* @example cy.realMouseWheel({ position: "center" })
*/
position?: "center";

Why only center? I needed "topRight" tried it and it works as expected. Only the type doesn't allow it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions