Troubleshooting¶
Chrome not found¶
Error: BackendNotAvailableError or Chrome fails to launch.
Solution: Ensure Chrome or Edge is installed on your system.
- Windows: Check
C:\Program Files\Google\Chrome\Application\chrome.exe - macOS: Check
/Applications/Google Chrome.app - Linux: Install via
sudo apt install google-chrome-stable
Backend not available¶
Error: No backend available. Install cdpwave: pip install wavexis[cdp]
Solution: Install the CDP backend:
Navigation timeout¶
Error: Timeout waiting for ...
Solution: Increase the wait time or use a different wait strategy:
Element not found¶
Error: Element not found: <selector>
Solution: Verify the CSS selector exists on the page. Use --wait-for to wait for the element before acting.
BiDi driver issues¶
Error: ImportError: bidiwave is not installed
Solution: Install the BiDi backend:
Multi config errors¶
Error: Invalid multi config field '...'
Solution: Check your YAML config:
- Must have an
actionskey with a list - Each action is a dict with a single key
- Action parameters must be a dict
- Action type must be one of: screenshot, pdf, eval, dom, navigate, scrape
Exit codes¶
| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | Browser error (navigation, timeout, element not found) |
| 2 | Config error (invalid multi YAML) |
| 3 | Backend not available |