Skip to content

feature request: with() scoping #1577

@Vasiliy-Bondarenko

Description

@Vasiliy-Bondarenko

It would be really nice to have css selector scoping like with() method in Dusk: https://laravel.com/docs/12.x/dusk#scoping-selectors

it would allow scoping the click()'s assertSee()'s, etc to some area on the page instead of repeating same selectors multile times like

->click('#global-column-modal >> text="Some Text"')

->assertSeeIn('#global-column-modal', 'Something')
->assertSeeIn('#global-column-modal', 'Other Think')

if i am missing some way of scoping - let me know.

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