Process not running because new tab or window pop ups in the website?

I have to extract some data from a website but as soon as I enter the text in the search box and click enter a new tab, new window, or both pop-ups. How can I kill the pop-ups so that my process executes properly?

Hey

You can use Element exist, you can store the element and

Take a If activity
And keep output variable of element exist

And in then condition you can keep click activity close the pop up

Thanks

Thank you Rounak for the reply. But if both tab and window pop-ups do I have to use two 'if ’ activities to close both of them or is there some other way.

Hey,

You can use if activity 2 times

Thanks

Hey!

we can use send hotkey

pass the hot key as ctrl+W

this will close the tab

Regards,
NaNi