OS - MAC
Browser - Firefox / Chrome
Katalon - Fresh download of 5.4.1
No one answered this last time I posted it, so hoping someone from Katalon support sees it this time…
Things appear to have changed since downloading the latest version of Katalon (5.4.1) now Chrome and Firefox both are running in the background and are not brought to the front
If I Add “WebUI.switchToWindowIndex(0)” to the test, it works for Chrome but not for Firefox.
Any help would be great
If nobody has an answer for you (include me in that group!) then they’re unlikely to respond. Having said that…
I feel your pain, but I’ve never seen this behavior form Katalon – and my goto test environment is Firefox. I could offer you some code to try (no promises!) maybe it will help?
Add this early in your code (right after you start the browser). And of course, you can tinker with the coords to suit yourself:
import org.openqa.selenium.WebDriver as WebDriver
WebDriver driver = DriverFactory.getWebDriver()
driver.manage().window().setPosition(new Point(10, 10))
The idea is to move the browser, then maximize the window – maybe that will make it come forward.