Skip to content

[Feature] allow exposeBinding to pass locators #16895

@damianr13

Description

@damianr13

A previous PR introduces the ability to retrieve an ElementHandle from an exposed binding: #4030

Since then the ElementHandle API has been discouraged and replaced by the more recent Locator objects.

I would like to have another option for the exposeBinding method that would allow me to specify that I prefer getting a Locator inside the callback instead of an ElementHandle.

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