Katalon Studio Version:
KSE 8.2.5, Build 208
Windows 10 Enterprise (64-bit)
Firefox: 97.0.1 (64-bit)
Hello folks,
I am having a KSE issue where Firefox opens a new Window when a new tab was expected.
Test steps:
- Manually open Firefox and navigate to our AUT website
- Log into the site
- Click any link from within the AUT website
Result: The expected page loads in a new tab
- Start Katalon and run a TC that does the following:
- Open Firefox and navigate to our AUT website
- Log into the site
- Click any link from within the AUT website
Result: The expected page loads BUT in a new Window
Note: This works as expected for both Chrome and Edge Chromium.
I have searched the web/Katalon Forum for Desired Capabilities to force a new tab to open but have not had any luck. Can someone please point me to a possible solution.
I guess you already know this… the default is likely this setting:
Sorry, I don’t know the Capabilities setting (if you find it, please post it).
Here you go - let me know…
Found it.
The setting (the same as the about:config
setting) is browser.link.open_newwindow
.
You want to set it to the value 3
.
KB: http://kb.mozillazine.org/Browser.link.open_newwindow.
How to: https://developer.mozilla.org/en-US/docs/Web/WebDriver/Capabilities/firefoxOptions
1 Like
This works for me, thanks @Russ_Thomas for your help
{“FIREFOX_DRIVER”:{“moz:firefoxOptions”:{“args”:{“browser.link.open_newwindow”:3.0}}}}
1 Like
Excellent. Thanks Dave.
Would you mind posting the above as a Tips article? I’d do it myself but I don’t want to steal your thunder
Leave the original intact, but take a copy and massage the text to suit a new tips topic.
Thanks!
2 Likes