a310d57d84
Today, `page.close()` method doesn't run page's beforeunload listeners. This way users can be sure that `page.close()` actually closes the page. This patch adds an optional `runBeforeUnload` option to the `page.close()` method that would run beforeunload listeners. Note: running beforeunload handlers might cancel page closing. Fixes #2386. |
||
---|---|---|
.. | ||
api.md | ||
issue_template.md | ||
troubleshooting.md |