Skip to content

Return mapping from ref to CSS and XPath locators #1488

@mohamed99akram

Description

@mohamed99akram

Can you provide a method for returning CSS locators and XPath locators for snapshot ref?
browser_generate_locator returns playwright code and browser_evaluate is a bit slow. We need to map the snapshot ref to locators for later use and replicating the browser actions. We need it to return what it can return (ID, CSS, XPath) locators.

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