-
Notifications
You must be signed in to change notification settings - Fork 675
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
t.request() not working with proxyless #7523
Comments
Thank you for submitting this issue. We would love to assist you and diagnose it. However, we need a simple sample that we can easily run on our side in order to replicate the issue and research its cause. Without a sample, we are not able to figure out what's going on and why this issue occurs. Refer to this article to create the best example: How To: Create a Minimal Working Example When You Submit an Issue. We look forward to your response. |
@Artem-Babich, I've added an example |
Hi @BenDriesen, Support for the |
What is your Scenario?
When sending api requests with the experimental proxyless feature, the test directly fails with a type error:
TypeError: Cannot read properties of null (reading 'proxy')
When proxyless is disabled, this works fine
What is the Current behavior?
Test fails with TypeError: Cannot read properties of null (reading 'proxy')
What is the Expected behavior?
API request is executed similarly as without proxyless
What is your public website URL? (or attach your complete example)
https://google.com
What is your TestCafe test code?
test('Request google page', async t => { const res = await t.request('https://google.com') })
Your complete configuration file
{ "experimentalProxyless": true }
Your complete test report
` ✖ Request google page
Steps to Reproduce
TestCafe version
2.3.1
Node.js version
19.0.1
Command-line arguments
testcafe chrome test.js --experimental-proxyless
Browser name(s) and version(s)
Chrome 109.0.0.0
Platform(s) and version(s)
macOS 10.15.7
The text was updated successfully, but these errors were encountered: