Open
Bug 1549487
Opened 5 years ago
Updated 1 year ago
[meta] Runtime.addBinding
Categories
(Remote Protocol :: CDP, task)
Remote Protocol
CDP
Tracking
(Not tracked)
NEW
People
(Reporter: ato, Unassigned)
References
(Depends on 1 open bug, )
Details
(Keywords: meta, Whiteboard: [method=Runtime.addBinding])
No description provided.
Reporter | ||
Updated•5 years ago
|
Updated•5 years ago
|
Blocks: puppeteer-examples
Comment 1•5 years ago
|
||
This CDP endpoint is used by Puppeteer in Page.exposeFunction()
. Puppeteer examples make use of it in custom-event.js
:
// Define a window.onCustomEvent function on the page.
await page.exposeFunction('onCustomEvent', e => {
console.log(`${e.type} fired`, e.detail || '');
});
Whiteboard: [method=Runtime.addBinding] → [method=Runtime.addBinding][puppeteer-alpha]
Updated•4 years ago
|
Whiteboard: [method=Runtime.addBinding][puppeteer-alpha] → [method=Runtime.addBinding]
Assignee | ||
Updated•4 years ago
|
Component: CDP: Runtime → CDP
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•