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:
309
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-bluetooth.d.ts
generated
vendored
Normal file
309
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-bluetooth.d.ts
generated
vendored
Normal file
@@ -0,0 +1,309 @@
|
||||
/**
|
||||
* Copyright 2024 Google LLC.
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
/**
|
||||
* THIS FILE IS AUTOGENERATED by cddlconv 0.1.7.
|
||||
* Run `node tools/generate-bidi-types.mjs` to regenerate.
|
||||
* @see https://github.com/w3c/webdriver-bidi/blob/master/index.bs
|
||||
*/
|
||||
export declare namespace Bluetooth {
|
||||
type BluetoothUuid = string;
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type BluetoothManufacturerData = {
|
||||
key: number;
|
||||
data: string;
|
||||
};
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type CharacteristicProperties = {
|
||||
broadcast?: boolean;
|
||||
read?: boolean;
|
||||
writeWithoutResponse?: boolean;
|
||||
write?: boolean;
|
||||
notify?: boolean;
|
||||
indicate?: boolean;
|
||||
authenticatedSignedWrites?: boolean;
|
||||
extendedProperties?: boolean;
|
||||
};
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type RequestDevice = string;
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type RequestDeviceInfo = {
|
||||
id: Bluetooth.RequestDevice;
|
||||
name: string | null;
|
||||
};
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type RequestDevicePrompt = string;
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type ScanRecord = {
|
||||
name?: string;
|
||||
uuids?: [...Bluetooth.BluetoothUuid[]];
|
||||
appearance?: number;
|
||||
manufacturerData?: [...Bluetooth.BluetoothManufacturerData[]];
|
||||
};
|
||||
}
|
||||
export type BluetoothCommand = Bluetooth.HandleRequestDevicePrompt | Bluetooth.SimulateAdapter | Bluetooth.DisableSimulation | Bluetooth.SimulatePreconnectedPeripheral | Bluetooth.SimulateAdvertisement | Bluetooth.SimulateGattConnectionResponse | Bluetooth.SimulateGattDisconnection | Bluetooth.SimulateService | Bluetooth.SimulateCharacteristic | Bluetooth.SimulateCharacteristicResponse | Bluetooth.SimulateDescriptor | Bluetooth.SimulateDescriptorResponse;
|
||||
export declare namespace Bluetooth {
|
||||
type HandleRequestDevicePrompt = {
|
||||
method: 'bluetooth.handleRequestDevicePrompt';
|
||||
params: Bluetooth.HandleRequestDevicePromptParameters;
|
||||
};
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type HandleRequestDevicePromptParameters = {
|
||||
context: string;
|
||||
prompt: Bluetooth.RequestDevicePrompt;
|
||||
} & (Bluetooth.HandleRequestDevicePromptAcceptParameters | Bluetooth.HandleRequestDevicePromptCancelParameters);
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type HandleRequestDevicePromptAcceptParameters = {
|
||||
accept: true;
|
||||
device: Bluetooth.RequestDevice;
|
||||
};
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type HandleRequestDevicePromptCancelParameters = {
|
||||
accept: false;
|
||||
};
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type SimulateAdapter = {
|
||||
method: 'bluetooth.simulateAdapter';
|
||||
params: Bluetooth.SimulateAdapterParameters;
|
||||
};
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type SimulateAdapterParameters = {
|
||||
context: string;
|
||||
leSupported?: boolean;
|
||||
state: 'absent' | 'powered-off' | 'powered-on';
|
||||
};
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type DisableSimulation = {
|
||||
method: 'bluetooth.disableSimulation';
|
||||
params: Bluetooth.DisableSimulationParameters;
|
||||
};
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type DisableSimulationParameters = {
|
||||
context: string;
|
||||
};
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type SimulatePreconnectedPeripheral = {
|
||||
method: 'bluetooth.simulatePreconnectedPeripheral';
|
||||
params: Bluetooth.SimulatePreconnectedPeripheralParameters;
|
||||
};
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type SimulatePreconnectedPeripheralParameters = {
|
||||
context: string;
|
||||
address: string;
|
||||
name: string;
|
||||
manufacturerData: [...Bluetooth.BluetoothManufacturerData[]];
|
||||
knownServiceUuids: [...Bluetooth.BluetoothUuid[]];
|
||||
};
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type SimulateAdvertisement = {
|
||||
method: 'bluetooth.simulateAdvertisement';
|
||||
params: Bluetooth.SimulateAdvertisementParameters;
|
||||
};
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type SimulateAdvertisementParameters = {
|
||||
context: string;
|
||||
scanEntry: Bluetooth.SimulateAdvertisementScanEntryParameters;
|
||||
};
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type SimulateAdvertisementScanEntryParameters = {
|
||||
deviceAddress: string;
|
||||
rssi: number;
|
||||
scanRecord: Bluetooth.ScanRecord;
|
||||
};
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type SimulateGattConnectionResponse = {
|
||||
method: 'bluetooth.simulateGattConnectionResponse';
|
||||
params: Bluetooth.SimulateGattConnectionResponseParameters;
|
||||
};
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type SimulateGattConnectionResponseParameters = {
|
||||
context: string;
|
||||
address: string;
|
||||
code: number;
|
||||
};
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type SimulateGattDisconnection = {
|
||||
method: 'bluetooth.simulateGattDisconnection';
|
||||
params: Bluetooth.SimulateGattDisconnectionParameters;
|
||||
};
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type SimulateGattDisconnectionParameters = {
|
||||
context: string;
|
||||
address: string;
|
||||
};
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type SimulateService = {
|
||||
method: 'bluetooth.simulateService';
|
||||
params: Bluetooth.SimulateServiceParameters;
|
||||
};
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type SimulateServiceParameters = {
|
||||
context: string;
|
||||
address: string;
|
||||
uuid: Bluetooth.BluetoothUuid;
|
||||
type: 'add' | 'remove';
|
||||
};
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type SimulateCharacteristic = {
|
||||
method: 'bluetooth.simulateCharacteristic';
|
||||
params: Bluetooth.SimulateCharacteristicParameters;
|
||||
};
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type SimulateCharacteristicParameters = {
|
||||
context: string;
|
||||
address: string;
|
||||
serviceUuid: Bluetooth.BluetoothUuid;
|
||||
characteristicUuid: Bluetooth.BluetoothUuid;
|
||||
characteristicProperties?: Bluetooth.CharacteristicProperties;
|
||||
type: 'add' | 'remove';
|
||||
};
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type SimulateCharacteristicResponse = {
|
||||
method: 'bluetooth.simulateCharacteristicResponse';
|
||||
params: Bluetooth.SimulateCharacteristicResponseParameters;
|
||||
};
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type SimulateCharacteristicResponseParameters = {
|
||||
context: string;
|
||||
address: string;
|
||||
serviceUuid: Bluetooth.BluetoothUuid;
|
||||
characteristicUuid: Bluetooth.BluetoothUuid;
|
||||
type: 'read' | 'write' | 'subscribe-to-notifications' | 'unsubscribe-from-notifications';
|
||||
code: number;
|
||||
data?: [...number[]];
|
||||
};
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type SimulateDescriptor = {
|
||||
method: 'bluetooth.simulateDescriptor';
|
||||
params: Bluetooth.SimulateDescriptorParameters;
|
||||
};
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type SimulateDescriptorParameters = {
|
||||
context: string;
|
||||
address: string;
|
||||
serviceUuid: Bluetooth.BluetoothUuid;
|
||||
characteristicUuid: Bluetooth.BluetoothUuid;
|
||||
descriptorUuid: Bluetooth.BluetoothUuid;
|
||||
type: 'add' | 'remove';
|
||||
};
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type SimulateDescriptorResponse = {
|
||||
method: 'bluetooth.simulateDescriptorResponse';
|
||||
params: Bluetooth.SimulateDescriptorResponseParameters;
|
||||
};
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type SimulateDescriptorResponseParameters = {
|
||||
context: string;
|
||||
address: string;
|
||||
serviceUuid: Bluetooth.BluetoothUuid;
|
||||
characteristicUuid: Bluetooth.BluetoothUuid;
|
||||
descriptorUuid: Bluetooth.BluetoothUuid;
|
||||
type: 'read' | 'write';
|
||||
code: number;
|
||||
data?: [...number[]];
|
||||
};
|
||||
}
|
||||
export type BluetoothEvent = Bluetooth.RequestDevicePromptUpdated | Bluetooth.GattConnectionAttempted;
|
||||
export declare namespace Bluetooth {
|
||||
type RequestDevicePromptUpdated = {
|
||||
method: 'bluetooth.requestDevicePromptUpdated';
|
||||
params: Bluetooth.RequestDevicePromptUpdatedParameters;
|
||||
};
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type RequestDevicePromptUpdatedParameters = {
|
||||
context: string;
|
||||
prompt: Bluetooth.RequestDevicePrompt;
|
||||
devices: [...Bluetooth.RequestDeviceInfo[]];
|
||||
};
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type GattConnectionAttempted = {
|
||||
method: 'bluetooth.gattConnectionAttempted';
|
||||
params: Bluetooth.GattConnectionAttemptedParameters;
|
||||
};
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type GattConnectionAttemptedParameters = {
|
||||
context: string;
|
||||
address: string;
|
||||
};
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type CharacteristicEventGenerated = {
|
||||
method: 'bluetooth.characteristicEventGenerated';
|
||||
params: Bluetooth.CharacteristicEventGeneratedParameters;
|
||||
};
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type CharacteristicEventGeneratedParameters = {
|
||||
context: string;
|
||||
address: string;
|
||||
serviceUuid: Bluetooth.BluetoothUuid;
|
||||
characteristicUuid: Bluetooth.BluetoothUuid;
|
||||
type: 'read' | 'write-with-response' | 'write-without-response' | 'subscribe-to-notifications' | 'unsubscribe-from-notifications';
|
||||
data?: [...number[]];
|
||||
};
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type DescriptorEventGenerated = {
|
||||
method: 'bluetooth.descriptorEventGenerated';
|
||||
params: Bluetooth.DescriptorEventGeneratedParameters;
|
||||
};
|
||||
}
|
||||
export declare namespace Bluetooth {
|
||||
type DescriptorEventGeneratedParameters = {
|
||||
context: string;
|
||||
address: string;
|
||||
serviceUuid: Bluetooth.BluetoothUuid;
|
||||
characteristicUuid: Bluetooth.BluetoothUuid;
|
||||
descriptorUuid: Bluetooth.BluetoothUuid;
|
||||
type: 'read' | 'write';
|
||||
data?: [...number[]];
|
||||
};
|
||||
}
|
||||
19
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-bluetooth.js
generated
vendored
Normal file
19
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-bluetooth.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
"use strict";
|
||||
/**
|
||||
* Copyright 2024 Google LLC.
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=webdriver-bidi-bluetooth.js.map
|
||||
1
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-bluetooth.js.map
generated
vendored
Normal file
1
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-bluetooth.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"webdriver-bidi-bluetooth.js","sourceRoot":"","sources":["../../../../src/protocol/generated/webdriver-bidi-bluetooth.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG"}
|
||||
43
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-nav-speculation.d.ts
generated
vendored
Normal file
43
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-nav-speculation.d.ts
generated
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
/**
|
||||
* Copyright 2024 Google LLC.
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
/**
|
||||
* THIS FILE IS AUTOGENERATED by cddlconv 0.1.7.
|
||||
* Run `node tools/generate-bidi-types.mjs` to regenerate.
|
||||
* @see https://github.com/w3c/webdriver-bidi/blob/master/index.bs
|
||||
*/
|
||||
export declare namespace Speculation {
|
||||
const enum PreloadingStatus {
|
||||
Pending = "pending",
|
||||
Ready = "ready",
|
||||
Success = "success",
|
||||
Failure = "failure"
|
||||
}
|
||||
}
|
||||
export type SpeculationEvent = Speculation.PrefetchStatusUpdated;
|
||||
export declare namespace Speculation {
|
||||
type PrefetchStatusUpdated = {
|
||||
method: 'speculation.prefetchStatusUpdated';
|
||||
params: Speculation.PrefetchStatusUpdatedParameters;
|
||||
};
|
||||
}
|
||||
export declare namespace Speculation {
|
||||
type PrefetchStatusUpdatedParameters = {
|
||||
context: string;
|
||||
url: string;
|
||||
status: Speculation.PreloadingStatus;
|
||||
};
|
||||
}
|
||||
19
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-nav-speculation.js
generated
vendored
Normal file
19
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-nav-speculation.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
"use strict";
|
||||
/**
|
||||
* Copyright 2024 Google LLC.
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=webdriver-bidi-nav-speculation.js.map
|
||||
1
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-nav-speculation.js.map
generated
vendored
Normal file
1
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-nav-speculation.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"webdriver-bidi-nav-speculation.js","sourceRoot":"","sources":["../../../../src/protocol/generated/webdriver-bidi-nav-speculation.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG"}
|
||||
49
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-permissions.d.ts
generated
vendored
Normal file
49
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-permissions.d.ts
generated
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
/**
|
||||
* Copyright 2024 Google LLC.
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
/**
|
||||
* THIS FILE IS AUTOGENERATED by cddlconv 0.1.7.
|
||||
* Run `node tools/generate-bidi-types.mjs` to regenerate.
|
||||
* @see https://github.com/w3c/webdriver-bidi/blob/master/index.bs
|
||||
*/
|
||||
export type PermissionsCommand = Permissions.SetPermission;
|
||||
export declare namespace Permissions {
|
||||
type PermissionDescriptor = {
|
||||
name: string;
|
||||
};
|
||||
}
|
||||
export declare namespace Permissions {
|
||||
const enum PermissionState {
|
||||
Granted = "granted",
|
||||
Denied = "denied",
|
||||
Prompt = "prompt"
|
||||
}
|
||||
}
|
||||
export declare namespace Permissions {
|
||||
type SetPermission = {
|
||||
method: 'permissions.setPermission';
|
||||
params: Permissions.SetPermissionParameters;
|
||||
};
|
||||
}
|
||||
export declare namespace Permissions {
|
||||
type SetPermissionParameters = {
|
||||
descriptor: Permissions.PermissionDescriptor;
|
||||
state: Permissions.PermissionState;
|
||||
origin: string;
|
||||
embeddedOrigin?: string;
|
||||
userContext?: string;
|
||||
};
|
||||
}
|
||||
19
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-permissions.js
generated
vendored
Normal file
19
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-permissions.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
"use strict";
|
||||
/**
|
||||
* Copyright 2024 Google LLC.
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=webdriver-bidi-permissions.js.map
|
||||
1
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-permissions.js.map
generated
vendored
Normal file
1
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-permissions.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"webdriver-bidi-permissions.js","sourceRoot":"","sources":["../../../../src/protocol/generated/webdriver-bidi-permissions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG"}
|
||||
56
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-ua-client-hints.d.ts
generated
vendored
Normal file
56
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-ua-client-hints.d.ts
generated
vendored
Normal file
@@ -0,0 +1,56 @@
|
||||
/**
|
||||
* Copyright 2024 Google LLC.
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
/**
|
||||
* THIS FILE IS AUTOGENERATED by cddlconv 0.1.7.
|
||||
* Run `node tools/generate-bidi-types.mjs` to regenerate.
|
||||
* @see https://github.com/w3c/webdriver-bidi/blob/master/index.bs
|
||||
*/
|
||||
export type UserAgentClientHintsCommand = Emulation.SetClientHintsOverrideCommand;
|
||||
export declare namespace Emulation {
|
||||
type SetClientHintsOverrideCommand = {
|
||||
method: 'emulation.setClientHintsOverride';
|
||||
params: {
|
||||
clientHints: Emulation.ClientHintsMetadata | null;
|
||||
contexts?: [string, ...string[]];
|
||||
userContexts?: [string, ...string[]];
|
||||
};
|
||||
};
|
||||
type SetClientHintsOverrideParameters = SetClientHintsOverrideCommand['params'];
|
||||
}
|
||||
export declare namespace Emulation {
|
||||
type ClientHintsMetadata = {
|
||||
brands?: [...Emulation.BrandVersion[]];
|
||||
fullVersionList?: [...Emulation.BrandVersion[]];
|
||||
platform?: string;
|
||||
platformVersion?: string;
|
||||
architecture?: string;
|
||||
model?: string;
|
||||
mobile?: boolean;
|
||||
bitness?: string;
|
||||
wow64?: boolean;
|
||||
formFactors?: [...string[]];
|
||||
};
|
||||
}
|
||||
export declare namespace Emulation {
|
||||
type BrandVersion = {
|
||||
brand: string;
|
||||
version: string;
|
||||
};
|
||||
}
|
||||
export declare namespace Emulation {
|
||||
type SetClientHintsOverrideResult = Record<string, never>;
|
||||
}
|
||||
19
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-ua-client-hints.js
generated
vendored
Normal file
19
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-ua-client-hints.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
"use strict";
|
||||
/**
|
||||
* Copyright 2024 Google LLC.
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=webdriver-bidi-ua-client-hints.js.map
|
||||
1
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-ua-client-hints.js.map
generated
vendored
Normal file
1
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-ua-client-hints.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"webdriver-bidi-ua-client-hints.js","sourceRoot":"","sources":["../../../../src/protocol/generated/webdriver-bidi-ua-client-hints.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG"}
|
||||
2732
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi.d.ts
generated
vendored
Normal file
2732
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi.d.ts
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
19
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi.js
generated
vendored
Normal file
19
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
"use strict";
|
||||
/**
|
||||
* Copyright 2024 Google LLC.
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=webdriver-bidi.js.map
|
||||
1
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi.js.map
generated
vendored
Normal file
1
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"webdriver-bidi.js","sourceRoot":"","sources":["../../../../src/protocol/generated/webdriver-bidi.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG"}
|
||||
Reference in New Issue
Block a user