This container gets the sitemap.xml
file at the URL you provide, parses it to
get all possible URLs, and then checks for the text you provide in the
<footer>
.
docker run --rm \
--env FOOTSMOKE_URL=https://google.com \
--env FOOTSMOKE_TEXT="Google, Inc." \
theutz/footsmoke:latest
- Required
FOOTSMOKE_URL
: the root URL from which to search for thesitemap.xml
file.FOOTSMOKE_TEXT
: the text to search for.
- Optional
FOOTSMOKE_SELECTOR
: the CSS selector used to identify where to search for the text. (Defaults tofooter
)FOOTSMOKE_WORKERS
: the number of processes to run simultaneously. (Defaults to auto-detect)FOOTSMOKE_RETRIES
: the number of retries per failed test to attempt. (Defaults to2
)FOOTSMOKE_TIMEOUT
: the amount of time in ms to wait per test before failing. (Defaults to30000
, or 30 seconds)
Nothing yet. Use at your own risk!