A big commit with a bunch of node modules so I could run puppeteer for Walmart. Added some todos and Headway's templates.
This commit is contained in:
13
Scripts/node_modules/chromium-bidi/lib/cjs/bidiTab/bidiTab.js
generated
vendored
13
Scripts/node_modules/chromium-bidi/lib/cjs/bidiTab/bidiTab.js
generated
vendored
@ -31,7 +31,7 @@ const cdpTransport = new Transport_js_1.WindowCdpTransport();
|
||||
* A CdpTransport implementation that uses the window.cdp bindings
|
||||
* injected by Target.exposeDevToolsProtocol.
|
||||
*/
|
||||
const cdpConnection = new CdpConnection_js_1.CdpConnection(cdpTransport, mapperTabPage_js_1.log);
|
||||
const cdpConnection = new CdpConnection_js_1.MapperCdpConnection(cdpTransport, mapperTabPage_js_1.log);
|
||||
/**
|
||||
* Launches the BiDi mapper instance.
|
||||
* @param {string} selfTargetId
|
||||
@ -55,15 +55,4 @@ async function runMapperInstance(selfTargetId, options) {
|
||||
window.runMapperInstance = async (selfTargetId, options) => {
|
||||
await runMapperInstance(selfTargetId, options);
|
||||
};
|
||||
/**
|
||||
* @deprecated Use `runMapperInstance` instead. Used for backward compatibility
|
||||
* with ChromeDriver.
|
||||
*/
|
||||
// TODO: Remove this after https://crrev.com/c/4952609 reaches stable.
|
||||
window.setSelfTargetId = async (selfTargetId) => {
|
||||
const bidiServer = await runMapperInstance(selfTargetId);
|
||||
bidiServer.emitOutgoingMessage(BidiMapper_js_1.OutgoingMessage.createResolved({
|
||||
launched: true,
|
||||
}), 'launched');
|
||||
};
|
||||
//# sourceMappingURL=bidiTab.js.map
|
||||
Reference in New Issue
Block a user