Skip to content

Use already selected elements instead of string #36

Description

@cstro

Is it possible to pass a selected element to expect, rather than a string selector?

Is there any way I could use it like this?

const element = $('.css-selector')
expect(element).to.be.there()

Thanks

Activity

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

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