Closed Bug 1637064 Opened 4 years ago Closed 4 months ago

Implement Page.close

Categories

(Remote Protocol :: CDP, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: impossibus, Unassigned)

References

Details

(Whiteboard: [puppeteer-beta2-mvp])

Used by Puppeteer, Playwright, Datadog...

Puppeteer only uses it when closing a tab by running the beforeunload handlers. Otherwise Target.closeTarget is used:

https://searchfox.org/mozilla-central/rev/446160560bf32ebf4cb7c4e25d7386ee22667255/remote/test/puppeteer/lib/Page.js#1040-1042

Given that this method is also experimental i don't think this should block any MVP unless we have confidence that it is used by consumers.

Priority: -- → P3
Whiteboard: [puppeteer-beta-reserve]
Whiteboard: [puppeteer-beta-reserve] → [puppeteer-beta2-mvp]
Component: CDP: Page → CDP

We are not going to implement this API for CDP. 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.