You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…e-moe)
This PR was submitted for the master branch but it was merged into the 3.4 branch instead (closes#22341).
Discussion
----------
[BrowserKit] Emulate back/forward browser navigation
| Q | A
| ------------- | ---
| Branch? | master
| Bug fix? | yes
| New feature? | no
| BC breaks? | yes
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #22336
| License | MIT
| Doc PR | CHANGELOG.md updated
Hi all, please review this code for emulating back/forward browser navigation (skip redirects). If code is ok I will add tests and docs
Commits
-------
680da44 [BrowserKit] Emulate back/forward browser navigation
When using
BrowserKit
, the back function behaves differently from a real browser such as Chrome.In a real browser, redirects are ignored when going back. In this driver, redirect are not ignored and instead followed again.
Imagine the following requests made with a browser or this driver:
A browser and this driver will now be at http://www.example.org/3.
Clicking back in the browser would take me back to http://www.example.org/1. Using
back()
in BrowserKit will take me back to http://www.example.org/2, and then again to http://www.example.org/3.I'm a bit new to this browser stuff, so I hope this is the right place to report this issue. Let me know if it is unclear.
The text was updated successfully, but these errors were encountered: