bug
test page is never loaded and test will hang forever

the same issue is with Chrome

yarn testcafe v0.24.6
$ "C:\Users\hoche\Documents\Devel\test\testcafe-example\node_modules\.bin\testcafe" chrome test.js
ERROR Unable to establish one or more of the specified browser connections. This can be caused by network issues or remote device failure.
working tests on windows 10
mkdir bug-repro && cd $_ &&
yarn add -D testcafe && touch test.js
paste source in test.js
run yarn testcafe chrome test.js
Tested page URL:
Test code
import { Selector } from 'testcafe'
fixture`My first fixture`.page`https://devexpress.github.io/testcafe/example`
const articleHeader = Selector('#article-header')
test('My first test', async t => {
await t
.typeText('#developer-name', 'Peter Parker')
.click('#submit-button')
.expect(articleHeader.innerText)
.eql('Thank you, Peter Parker!')
})
Hi @Hotell,
Could you please check your firewall settings? You can specify custom ports
https://devexpress.github.io/testcafe/documentation/using-testcafe/command-line-interface.html#--ports-port1port2
Also if you use proxy server to access the Internet, please specify your proxy settings
https://devexpress.github.io/testcafe/documentation/using-testcafe/command-line-interface.html#--proxy-host
Hi @kirovboris unfortunately still the same issue
I've turned off firewall completely, even when I'm testing it on this repo example ( which is local ) it doesn't work

any suggestions ?
thx
Please try to specify localhost or 127.0.0.1 as hostname.
testcafe chrome test.js --hostname 127.0.0.1
bang! worked ! any ideas why the default IP doesn't work though? on mac it works with default settings

It is a known issue, we plan to improve the hostname detection https://github.com/DevExpress/testcafe/issues/986
@kirovboris cool would you accept a PR to docs which will mention this issue + how to fix it ? :) thx for help again! cheers
Thank you for the idea, @Hotell. We're going to create a new section on our site that will describe known issues.
I close it since the problem is resolved
sure thingy, thanks for help folks!
This thread has been automatically locked since it is closed and there has not been any recent activity. Please open a new issue for related bugs or feature requests. We recommend you ask TestCafe API, usage and configuration inquiries on StackOverflow.
Most helpful comment
Please try to specify
localhostor127.0.0.1as hostname.