Can someone please help with keyword or how to open a new tab using the Katalon recorder.
Hi there Hemanth,
Welcome to Katalon Community!
I am going to tag our Katalon Recoder aficionado @guy.mason here whom I believe will be able to help you
Just curious what version of âKatalon Recorderâ are you using?
please try:
open | https://www.katalon.com
pause | 2000
runScript | window.open(âhttps://www.google.comâ)
google will be open in a new tab
Martin
To my knowledge, itâs not directly possible with Katalon Recorder (nor was it possible with Selenium IDE, from which it was based).
Due to Chromeâs sandboxing / browser security settings, the browser limits certain operations from being directly executed by browser extensions, which includes the ability to open up new tabs via JavaScript (or use command keys, which would be a âworkaroundâ otherwise, if it had been possible).
The closest workaround you can do, which at least doesnât mean it performs the steps in the current tab is to open a new window.
You can do this pretty easily with the following script:
Hopefully this still is of some use, even if its not what you had been hoping for.
FWIW from what iâve looked into it, even the more âpowerfulâ Katalon Studio makes achieving this more convoluted, even if it does allow it, so even there itâs not as neat or as simple as you might expect.