Hi,
I have chrome running already and I want to open a new URL in a new tab in same chrome window using “Use Application/Browser”.
I see a option to adjust this setting and I did it but it still opens a new window and not attaching to running chrome window
@tejaskumar.darji If your application already opened then use Go to URL or Navigate Activity
to move in that page.
These both only work within the Use App activity
@tejaskumar.darji So you are opening your desire application first time
Keep the options as below
Close ------- never
Open ------- If not open
@tejaskumar.darji
Enable claasic activities and use this method.
- Attach Existing Browser using “Attach browser”
- Send Hotkey "Ctrl + t " to open a new tab
- Attach Newly opened tab using “Attach browser” Activity in the same browser
- Use the “Navigate” Activity to search the URL.
Welcome to the community
The options in the properties work when you open same url…but if you wnat to open a new tab with different url then use the below steps
Cheers
Hi Thanks,
I tried with this but still, it opens a chrome window instead of creating just a new tab in the existing chrome window.
What am I missing here!
If you use the option Open = “If not open”, then it will open a new window if it doesn’t find the window that you targeted. So, you could check the Selector field and see if it’s valid when you click “Validate”.
In my scenario, a chrome window is already open with a couple of tabs. And now I want to run a new automation, which should not open a new window but just a new tab in the running chrome window itself. So how can I achieve that? I tried the provided options but it opens a separate window even though there is an existing chrome window available
If you are certain that a Chrome window is already opened, and you do not want to open a new one, set Open=Never.
If there’s no specific window you want to attach to, but just any, you can omit the “title” part of the window’s selector.
To open a new tab, you can try sending hotkey Ctrl+T, or by injecting JS (How to open new tab of the same browser - #3 by Yoichi)
I don’t see any option to edit the selector of the main window in the activity Use Application/Browser.
See attached snap
Thanks for your quick replies. I found the selector option, and I did the omit. Now it’s not throwing any errors but also not opening the URL in a new tab
Main.xaml (8.7 KB)
. I’m attaching the flow here
To open a new tab, try these options:
Oh so we cant do it directly. This seems to be a long procedure!