Skip to content

Commit

Permalink
Actually add a query to the documentation
Browse files Browse the repository at this point in the history
This was wrongly dismissed by me from GH #47, but is actually correct.
  • Loading branch information
Max Maischein committed Dec 10, 2019
1 parent 7ed5103 commit 40a2e0f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.mkdn
Original file line number Diff line number Diff line change
Expand Up @@ -1486,6 +1486,8 @@ intervals are possible.
Note that when passing in a selector, that selector is requeried
on every poll instance. So the following query will work as expected:

xpath => '//*[contains(text(),"click here for download")]'

# CONTENT RENDERING METHODS

## `$mech->content_as_png()`
Expand Down
2 changes: 2 additions & 0 deletions lib/WWW/Mechanize/Chrome.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4828,6 +4828,8 @@ intervals are possible.
Note that when passing in a selector, that selector is requeried
on every poll instance. So the following query will work as expected:
xpath => '//*[contains(text(),"click here for download")]'
=cut

sub wait_until_visible( $self, %options ) {
Expand Down

0 comments on commit 40a2e0f

Please sign in to comment.