The current supported connectors are:
jsdom: Your website will be loaded using
chrome: Your website will be loaded using Chrome and the Chrome Debugging Protocol. This is one of the
The following properties can be customized in your
.sonarwhalrc file, under the
options property of the
connector for any of the officially supported ones:
waitFortime in milliseconds the connector will wait after the site is ready before starting the DOM traversing. The default value is
The following is the default configuration:
jsdom allows you to configure the following:
headers: the headers used to fetch the resources. By default they are:
There are some
connectors built on top of the chrome debugging
chrome is one of these
The set of settings specific for them are:
useTabUrl: Indicates if the browser should navigate first to a given page before going to the final target.
tabUrl: The URL to visit before the final target in case
https://empty.sonarwhal.com/is the default value.
Connectors are expected to implement at least some basic functionality (see how to develop a connector) but expose more events or have some extra functionality. The following document details the known differences among the official connectors.
It will not send the events for: