Skip to content

[Feature] Removal of .$ functions #2055

Closed

Description

I've always found the page.$, page.$$ (and their eval and frame etc. counterparts) weird as function names. Mainly for the fact that $ really is no English word giving any information as to what they do. I believe this might come from jQuery, but I have no idea why Playwright would need to follow that style.

Now that e.g. page.waitForSelector() exists, is there e.g. any need at all for page.$? I realize there is no equivalent for page.$$ (and maybe the evals, although element.innerHtml() etc. now exists that can be done outside of an eval.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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