File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,9 @@ chrome-devtools navigate_page "https://google.com"
2929# Take a screenshot and save it to a file
3030chrome-devtools take_screenshot --filePath screenshot.png
3131
32+ # Start the daemon and auto-connect to an existing Chrome profile
33+ chrome-devtools start --autoConnect
34+
3235# Stop the background daemon when finished
3336chrome-devtools stop
3437```
Original file line number Diff line number Diff line change @@ -43,8 +43,7 @@ const startCliOptions = {
4343 ...cliOptions ,
4444} as Partial < typeof cliOptions > ;
4545
46- // Not supported in CLI on purpose.
47- delete startCliOptions.autoConnect;
46+ // autoConnect is supported by the CLI.
4847// Missing CLI serialization.
4948delete startCliOptions.viewport;
5049// CLI is generated based on the default tool definitions. To enable conditional
You can’t perform that action at this time.
0 commit comments