You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gaël Métais edited this page Feb 2, 2023
·
25 revisions
The core of Yellow Lab Tools can be executed as a standalone from the command line. It simply analyzes a page and outputs the JSON when the test is complete.
--device= Use "phone" or "tablet" to simulate a mobile device (by user-agent and viewport size). Default is "desktop".
screenshot
--screenshot= Will take a screenshot and use this value as the output path. It needs to end with ".png".
proxy
--proxy= Uses the defined HTTP proxy to access the website. Syntax is host:port.
cookie
--cookie= Adds a cookie for a domain. Multiple cookies can be set, using a pipe separator.
Example: --cookie="bar1=foo1;domain=.domain1.com|bar2=foo2;domain=www.domain2.com".
reporter
--reporter The default output is JSON. You can switch to XML by setting --reporter=xml.
basic HTTP authentication
--auth-user and --auth-pass Authentication username and password. If your authentication is not basic (form based), you might be able to copy the session cookie from your browser, paste it in the --cookie parameter and launch a run before your cookie expires.