Skip to content

Hammerhead injection is failing after Safari 26 update #8440

@margaritluch

Description

@margaritluch

What is your Scenario?

Our testcafe tests have stopped working on safari after we updated it to version 26. We can see from console logs that the reason is that Hammerhead injection is failing. We have the latest version of TestCafe and the latest version of Hammerhead. Are there any workarounds for this issue?

What is the Current behavior?

When running the test on Safari 26 we just get a blank white page. In the console we can read that Hammerhead failed to inject some scriopts into Safari

What is the Expected behavior?

Tests should run without problem on all browsers on the device.

What is the public URL of the test page? (attach your complete example)

norlysplay.dk

What is your TestCafe test code?

We haven't changed anything in the test code. The only thing we have changed is that we have updated the Safari version.

Your complete configuration file

No response

Your complete test report

No response

Screenshots

No response

Steps to Reproduce

TestCafe version

3.7.2

Node.js version

No response

Command-line arguments

testcafe safari --hostname localhost ./Tests/stripe.testcafe/stripe-general.js -T "StripeTest_ClickOnLiveFilmAsset_LiveTvStreamStarts" --user=stofa --browser=safari --os=mac --payscheme=ccb

Browser name(s) and version(s)

No response

Platform(s) and version(s)

No response

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    TYPE: bugThe described behavior is considered as wrong (bug).

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions