Closed
Bug 1549487
Opened 5 years ago
Closed 4 months ago
[meta] Runtime.addBinding
Categories
(Remote Protocol :: CDP, task)
Remote Protocol
CDP
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: ato, Unassigned)
References
()
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•3 years ago
|
Component: CDP: Runtime → CDP
Updated•2 years ago
|
Severity: normal → S3
Comment 2•4 months ago
|
||
We are not going to implement this API. One should use WebDriver BiDi instead.
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•