Skip to content

Quickstart

This tutorial takes about 5 minutes. You'll learn to take screenshots, generate PDFs, evaluate JavaScript, and run multi-action configs.

Install

pip install wavexis[cdp]

wavexis detects Chrome, Edge, Brave, or Chromium on your system. No browser download needed.

First screenshot

wavexis screenshot https://example.com -o out.png

Output: Screenshot saved to out.png

First PDF

wavexis pdf https://example.com -o out.pdf --paper a4

Output: PDF saved to out.pdf

First eval

wavexis eval https://example.com -e "document.title"

Output: "Example Domain"

Multi-action

Create a YAML config actions.yml:

actions:
  - screenshot:
      url: https://example.com
      full_page: true
  - eval:
      url: https://example.com
      expression: document.title

Run it:

wavexis multi actions.yml

Device emulation

wavexis emulation device https://example.com --device iphone-15 -o mobile.png

What's next?