Firefox: browserClient.closeBrowserChildWindow is not a function
See original GitHub issueWhat is your Scenario?
I have multiple windows running and test with Firefox browser.
What is the Current behavior?
Testcafe throws
Unhandled promise rejection:
TypeError: browserClient.closeBrowserChildWindow is not a function
What is the Expected behavior?
The error shouldn’t be thrown. This used to work on v1.18, and if switch to chrome the test is passed.
What is your public website URL? (or attach your complete example)
What is your TestCafe test code?
fixture `Microsoft DevBlogs Login page`
.page('https://devblogs.microsoft.com/');
test('should pass', async (t) => {
await t
.click('.login-but')
.click('.nsl-button-google')
.closeWindow();
});
Your complete configuration file
No response
Your complete test report
1) Unhandled promise rejection:
TypeError: browserClient.closeBrowserChildWindow is not a function
Browser: Firefox 104.0 / macOS 10.15
Screenshots
No response
Steps to Reproduce
- Try the testcode
- Run tests with firefox browser.
TestCafe version
2.0.0
Node.js version
v16.15.1
Command-line arguments
testcafe firefox test.js
Browser name(s) and version(s)
No response
Platform(s) and version(s)
No response
Other
No response
Issue Analytics
- State:
- Created a year ago
- Comments:5
Top Results From Across the Web
Firefox window.open not a function - javascript - Stack Overflow
Now this code in firefox return me this error: TypeError: window. open is not a function var open = window. open("link.
Read more >TypeError: "x" is not a function - JavaScript - MDN Web Docs
The JavaScript exception "is not a function" occurs when there was an attempt to call a value from a function, but the value...
Read more >Firefox does not work - Common fixes to get you back up and ...
Find solutions to Firefox issues like crashing, not starting, slowness and websites not loading.
Read more >My javascript is not working on Firefox - Mozilla Support
Javascript is not dissabled in my firefox browser, and I am using the latest ... <script language="javascript"> function namechecker() { var ...
Read more >Fix "The bookmarks and history system will not be functional ...
This article explains what to do if you see the error message “The bookmarks and history system will not be functional” when you...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @florachen-okta
Thank you for the shared information. I’ve reproduced the issue.