Hammerhead tries to make a request to `https://javascript:;` type urls.
What is your Scenario?
Hammerhead will try to make fetch requests to URLs that contain the javascript protocol.
What is the Current behavior?
Instead of parsing and handling the JS properly a fetch will be made.
What is the Expected behavior?
These type of protocols should be handled properly, I am assuming?
What is your public website URL? (or attach your complete example)
https://www.delta.com/login/loginPage
What is your TestCafe test code?
node node_modules/gulp/bin/gulp multi-window-https-playground
Your complete configuration file
No response
Your complete test report
No response
Screenshots
No response
Steps to Reproduce
- clone
testcafe-hammerhead - run
node node_modules/gulp/bin/gulp multi-window-https-playground - proxy
https://www.delta.com/login/loginPage - check network log and you will see a fetch to
https://javascript:;
TestCafe version
n/a
Node.js version
No response
Command-line arguments
node node_modules/gulp/bin/gulp multi-window-https-playground
Browser name(s) and version(s)
No response
Platform(s) and version(s)
No response
Other
No response
Thank you for sharing the example. I managed to reproduce the issue. We'll update the thread once we have any results.
This issue has been automatically marked as stale because it has not had any activity for a long period. It will be closed and archived if no further activity occurs. However, we may return to this issue in the future. If it still affects you or you have any additional information regarding it, please leave a comment and we will keep it open.
We're closing this issue after a prolonged period of inactivity. If it still affects you, please add a comment to this issue with up-to-date information. Thank you.