Open Vinyzu opened 6 months ago
Note: This happens with all (valid & working) Route URLs which select everything
The server redirects original https://hmaker.github.io/selenium-detector
request to https://hmaker.github.io/selenium-detector/
and route.fetch
follows the redirect, downloads the response. When route.fulfill
is called, the page's URL in the browser does not change from .../selenium-detector
to .../selenium-detector/
.
May i ask what the "hard-to-do" label means?
In this particular case we'd have to change how redirect interception works in each of the three browsers from what I described above to something where the browser becomes aware of the new URL and updates the current document location to the redirected one. This is non-trivial amount of work on the browsers side.
Version
1.43.0
Steps to reproduce
Example Code (Uses External Website https://hmaker.github.io/selenium-detector):
Note: Relevant HTML:
Expected behavior
Playwright Should Load the Javascript File at https://hmaker.github.io/selenium-detector/chromedriver.js
Actual behavior
Playwright Loads the Javascript File at https://hmaker.github.io/chromedriver.js, which leads to a 404
Additional context
No response
Environment