-
Couldn't load subscription status.
- Fork 678
Description
What is your Scenario?
Summary
Chrome introduced a "Local Network Access permission prompt" in Chrome 141.
According to https://developer.chrome.com/blog/local-network-access this is planned for Chrome 142, but I'm seeing it right now in both Linux and Windows builds of Chrome 141.
This prompt looks like this:
and blocks TestCafe tests from running until the prompt is handled. Also affects headless mode.
It would be good to have a flag or similar to auto-handle it.
I'm aware that this might not be something TestCafe can solve, but just in case, I wanted to file a request.
To observe the issue:
Just run testcafe chrome with Chrome 141 against a file like this:
fixture`Chrome141`.page`${'https://testcafe.io'}`
test('Chrome141', async t => {
await t.wait(1000)
})
What are you suggesting?
It may depend on Chrome providing a way to disable or auto-handle the chrome://flags/#local-network-access-check flag.
I don't know if there is some way Testcafe devs can provide a workaround or other way to deal with the flag / the prompt.
What alternatives have you considered?
Tried await t.setNativeDialogHandler() which doesn't work.
Looked for a cli flag for chrome, couldn't find one.
Additional context
I apologize if this doesn't fit the feature request format.