launcher: wait for page enable
This commit is contained in:
parent
b9111aedf9
commit
cc79199a9c
@ -86,7 +86,7 @@ export default async (CDP, proc, injectionType = 'browser', { dataPath, browserN
|
||||
if (openingLocal && browserType === 'chromium') await LocalCDP(CDP, { sessionId, url, basePath, csp: localCSP });
|
||||
|
||||
await CDP.sendMessage('Runtime.enable', {}, sessionId); // enable runtime API
|
||||
CDP.sendMessage('Page.enable', {}, sessionId); // enable page API
|
||||
await CDP.sendMessage('Page.enable', {}, sessionId); // enable page API
|
||||
|
||||
CDP.sendMessage('Runtime.addBinding', { // setup sending from window to Node via Binding
|
||||
name: '_gluonSend'
|
||||
|
Loading…
x
Reference in New Issue
Block a user