🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

zoinks

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zoinks

Crawls through provided website, checking for 200 response, content load, ssl cert errors, and more!

latest
Source
npmnpm
Version
1.1.8
Version published
Maintainers
1
Created
Source

zoinks

Website testing tool - Finds non-200 responses, SSL errors, Javascript errors and more!

Download:

npm install zoinks

Run:

zoinks MyWebsite.com

- Options -

--haslogin (bool) Sets flag telling runner to log-in to a provided account before crawling.

--takescreenshotseverypage (bool) Take a screenshot on successful page loads, in addition to the failed ones.

--failonjavascripterror (bool) Fail a page check if a Javascript error is detected in the browser console.

--addbase (comma-delimited list of strings) Additional base urls in anchor tags that will not be ignored if found on website while scraping.

--ignorepaths (comma-delimited list of strings) Urls containing these paths will not be checked by the runner.

--loginpath (string) The path, excluding base url, to the supplied website's log-in form. Ignored if haslogin not provided.

--protocol (string) Https (default) or http.

--username (string) Username or email to log in with. Ignored if haslogin not provided.

--password (string) User password to log in with. Ignored if haslogin not provided.

--contentloadselector (string) Css selector that will locate an element on the page that would only exist if page load has completed. This selector must be available on all pages. If not provided, content load check will not be performed.

--maxsequentialerrors (number) The number of sequential failed tests before exiting test early on suspicion of website being down. This is primarily for fast failing when zoinks is being used for CI health checks. Default is 2. This means that 2 concurrent failures after the initial error will cause an early exit. Non-numerical value, or value less than 0 is considered infinity, and no amount of errors will cause an early exit.

--loginconfirmedselector (string) Css selector that will locate an element on the page that would only exist if user has successfully logged in.

--usernameinputselector (string) Css selector that will locate the username/email field on a website's log-in page.

--passwordinputselector (string) Css selector that will locate the password field on a website's log-in page.

--loginbuttonselector (string) Css selector that will locate the log-in button on a website's log-in page.

Keywords

zoinks

FAQs

Package last updated on 25 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts