Skip to content

Commit

Permalink
Fixed selectors in tests, refs #158
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Sep 27, 2024
1 parent a5e9707 commit dfe72b0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/run_examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ shot-scraper https://simonwillison.net/ \
-o examples/bighead-multi-selector.png
# --selector-all
shot-scraper https://simonwillison.net/ \
--selector-all .day --padding 20 \
--selector-all '#secondary li:nth-child(-n+5)' \
--padding 20 \
-o examples/selector-all.png
# Height and width
shot-scraper https://simonwillison.net/ -w 400 -h 800 -o examples/simon-narrow.png
Expand Down Expand Up @@ -145,7 +146,7 @@ shot-scraper multi empty.yml
- output: selectors-all-from-multi.png
url: https://simonwillison.net/
selectors_all:
- .day
- #secondary li:nth-child(-n+5)
- .entry:nth-of-type(1)
padding: 20
# js_selector
Expand Down

0 comments on commit dfe72b0

Please sign in to comment.