mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
fafd156d7b
This patch fixes puppeteer navigation primitives to work with same-document navigation. Same-document navigation happens when document's URL is changed, but document instance is not re-created. Some common scenarios for same-document navigation are: - History API - anchor navigation With this patch: - pptr starts dispatching `framenavigated` event when frame's URL gets changed due to same-document navigation - `page.waitForNavigation` now works with same-document navigation - `page.goBack()` and `page.goForward()` are handled correctly. Fixes #257. |
||
---|---|---|
.. | ||
assets | ||
fixtures | ||
golden | ||
server | ||
browser.spec.js | ||
CDPSession.spec.js | ||
cookies.spec.js | ||
coverage.spec.js | ||
diffstyle.css | ||
elementhandle.spec.js | ||
frame.spec.js | ||
golden-utils.js | ||
input.spec.js | ||
jshandle.spec.js | ||
network.spec.js | ||
page.spec.js | ||
puppeteer.spec.js | ||
target.spec.js | ||
test.js | ||
tracing.spec.js | ||
utils.js |