diff --git a/tests/run_examples.sh b/tests/run_examples.sh index bb4573a..42a19e3 100755 --- a/tests/run_examples.sh +++ b/tests/run_examples.sh @@ -38,6 +38,11 @@ shot-scraper https://simonwillison.net/ \ # JPEG quality shot-scraper https://simonwillison.net/ \ -h 800 -o examples/simonwillison-quality-80.jpg --quality 80 +# Selector with a wait +shot-scraper 'https://www.owlsnearme.com/?place=127871' \ + --selector 'section.secondary' \ + -o examples/owlsnearme-wait.jpg \ + --wait-for "!!document.querySelector('section.secondary')" # Accessibility shot-scraper accessibility https://datasette.io/ \ > examples/datasette-accessibility.json