Add Brave CDP automation, replace Oracle browser mode
Connects to user's running Brave via Chrome DevTools Protocol to automate ChatGPT interaction. Uses puppeteer-core to open a tab, send the prompt, wait for response, and extract the result. No cookies, no separate profiles, no copy/paste. Just connects to the browser where the user is already logged in. One-time setup: relaunch Brave with --remote-debugging-port=9222 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
41
node_modules/devtools-protocol/pdl/domains/FileSystem.pdl
generated
vendored
Normal file
41
node_modules/devtools-protocol/pdl/domains/FileSystem.pdl
generated
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
# Copyright 2017 The Chromium Authors
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
#
|
||||
# Contributing to Chrome DevTools Protocol: https://goo.gle/devtools-contribution-guide-cdp
|
||||
|
||||
experimental domain FileSystem
|
||||
depends on Network
|
||||
depends on Storage
|
||||
|
||||
type File extends object
|
||||
properties
|
||||
string name
|
||||
# Timestamp
|
||||
Network.TimeSinceEpoch lastModified
|
||||
# Size in bytes
|
||||
number size
|
||||
string type
|
||||
|
||||
type Directory extends object
|
||||
properties
|
||||
string name
|
||||
array of string nestedDirectories
|
||||
# Files that are directly nested under this directory.
|
||||
array of File nestedFiles
|
||||
|
||||
type BucketFileSystemLocator extends object
|
||||
properties
|
||||
# Storage key
|
||||
Storage.SerializedStorageKey storageKey
|
||||
# Bucket name. Not passing a `bucketName` will retrieve the default Bucket. (https://developer.mozilla.org/en-US/docs/Web/API/Storage_API#storage_buckets)
|
||||
optional string bucketName
|
||||
# Path to the directory using each path component as an array item.
|
||||
array of string pathComponents
|
||||
|
||||
command getDirectory
|
||||
parameters
|
||||
BucketFileSystemLocator bucketFileSystemLocator
|
||||
returns
|
||||
# Returns the directory object at the path.
|
||||
Directory directory
|
||||
Reference in New Issue
Block a user