Forum Discussion

TCYKPB's avatar
TCYKPB
Contributor
4 years ago

Tabbed Browsing (Javascript script language + Chrome Browser)

Hello, I need to switch between multiple tabs in Chrome browser, and there was a great article a couple of months ago explaining how to work with tabs (https://support.smartbear.com/articles/testcomplete/tabbed-browsing/#TabCount) but someone decided to delete it. 

So, my question is: How can I switch between tabs in Chrome browser? I need a standard function or method from TestComplete that allows me to do that without any trick like "press the Tab key until you find the tab you want", because solutions like these end up with a "Warning" in my test results. I expect some method that will activate the Tab I want based on a URL or partial URL.

 

Thanks.