Support > Forums > OpenBots Studio > Check current tab in browser
Hi, is there any way to check if the actual tab in the browser is different (to detect a forward in a login, for example)?
I'm using the commands module, not the recorder tools.
This forum has 317 topics, 687 replies, and was last updated 4 months ago by Nataly Alvarado...
I was using that to create the logic, but the bot can't find anything if the current tab isn't the same as the expected value in the filters. So I used a "*" in the TabName so the bot can look in any new tab/URL. Already tested a few times and the bot can find the correct route.
Thanks for your help!
Hi ccabezas,
You can use the Native Browser Element Exists command to identify an element within the page. This will return a boolean, which you can use to check if the correct page active and add logic accordingly. As an alternative, you can also use the Native Browser Activate Tab command to ensure the correct tab in enabled.
Hope this helps!
You are not authorized to reply, please click here to login and add your reply to this topic.