Skip to content

Commit

Permalink
Note about 30s limit for --wait-for
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw authored Mar 25, 2024
1 parent ca2a096 commit a559ea0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/screenshots.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ Here's an example that waits for a specific element to become available (in this
}
}"

If the expression takes longer than 30 seconds to resolve `shot-scraper` will exit with an error.

## Executing custom JavaScript

You can use custom JavaScript to modify the page after it has loaded (after the 'onload' event has fired) but before the screenshot is taken using the `--javascript` option:
Expand Down

0 comments on commit a559ea0

Please sign in to comment.