Description
Commands like click, fill, wait should support a --timeout flag for custom wait times.
Current behavior
Hardcoded timeouts (e.g., cmd_wait has 5s default).
Expected behavior
cdpilot click "#slow-button" --timeout 10
cdpilot wait ".dynamic-content" --timeout 30
Implementation hints
- Parse
--timeout N from args in main()
- Pass timeout to
cdp_send() calls
- Default: keep current values
Good first issue — small, well-scoped change.
Description
Commands like
click,fill,waitshould support a--timeoutflag for custom wait times.Current behavior
Hardcoded timeouts (e.g.,
cmd_waithas 5s default).Expected behavior
Implementation hints
--timeout Nfrom args inmain()cdp_send()callsGood first issue — small, well-scoped change.