Skip to content

Commit

Permalink
doc: minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
kbond committed Feb 22, 2024
1 parent 93a3ab2 commit 278ac33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ use Zenstruck\Dom\Selector;

$browser->assertSeeElement(function(Dom $dom) {
return $dom->find('.product-table td:contains("Product 1")')
->ancestor('tr')
->closest('tr')
->descendant(Selector::link('Edit')) // can nest selectors
;
});
Expand Down

0 comments on commit 278ac33

Please sign in to comment.