testcafe-hammerhead icon indicating copy to clipboard operation
testcafe-hammerhead copied to clipboard

Hammerhead tries to make a request to `https://javascript:;` type urls.

Open Ghxst opened this issue 2 years ago • 1 comments

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

  1. clone testcafe-hammerhead
  2. run node node_modules/gulp/bin/gulp multi-window-https-playground
  3. proxy https://www.delta.com/login/loginPage
  4. 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

Ghxst avatar Sep 25 '23 23:09 Ghxst

Thank you for sharing the example. I managed to reproduce the issue. We'll update the thread once we have any results.

AlexKamaev avatar Sep 27 '23 07:09 AlexKamaev

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.

github-actions[bot] avatar Mar 26 '24 01:03 github-actions[bot]

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.

github-actions[bot] avatar Apr 05 '24 01:04 github-actions[bot]