I go to a site and can click all the pages no problem, then when I click to launch a video it opens it in a new window. I want the video to play for a few minutes then close the window and focus on the original screen. I looked at activities and can not find any close tab options, I am assuming I am missing a package or something. If there are suggestions it would be appreciated.
@vtonelli
I assume you are using Use Application/Browser?
If so, in Properties panel, set Options, Close to IfOpenedByAppBrowser or Always.
Regards
The Navigate Browser activity has an option “Close Tab”. You’ll have to use this inside a Use Application/Browser scope activity to identify the tab that should be closed.
Hello @vtonelli use close tab activity to close that tab . And delay the execution time before it works of the close tab.
you can use the “Close Tab” activity to close the window. Here’s an example of how you can use it:
- Use the “Attach Browser” activity to attach to the original browser window.
- Use the “Click” activity to click on the button/link that opens the video in a new window.
- Use the “Delay” activity to wait for a few minutes while the video plays.
- Use the “Close Tab” activity to close the video window.
- Use the “Attach Browser” activity again to attach to the original browser window.
- Use the “Set Focus” activity to set focus to the original browser window.
I hope this helps! Let me know if you have any further questions.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.