Closed felis2803 closed 1 year ago
I raised a similar issue that I guess would be the same as this one.. Is this being actively looked into for resolution? What's the current status?
No updates yet. Once we get any results, we will post them in this thread.
Hi folks,
TestCafe runs tests using the URL-rewritten proxy.
This approach is good. However, there is a way to improve the stability and speed of test execution - the native browser automation API.
We have a test execution mode uses native browser automation - we call it the Proxyless
mode.
In Proxyless
mode, a few issues are already fixed.
By the way, this issue was also fixed in Proxyless
mode.
Try running your tests in Proxyless
mode and let us know the results.
This option is available in all interfaces:
// Command-line
testcafe chrome tests --experimental-proxyless
// Programmatic
const testcafe = await createTestCafe({ experimentalProxyless: true });
// Configuration file
{
"experimentalProxyless": "true"
}
Note that at present it is an experimental mode.
Also, the Proxyless
mode is implemented only in Google Chrome. It will not work correctly if you run tests in a non-Chrome browser or in a combination of other browsers.
What is your Scenario?
Testing an application containing a class with private fields.
What is the Current behavior?
The browser console gives the following result of the application when it is launched from TestCafe:
What is the Expected behavior?
The same application run without TestCafe gives a different result:
What is your public website URL? (or attach your complete example)
What is your TestCafe test code?
TestCafe version
1.20.1-rc.2
Command-line arguments
testcafe chrome test.js