Close popup page from the current page

Hi all :wave:

[EDIT: Iโ€™m developing in the App Studio building a UiPath App.
And I need to close it programmatically without any user activity. With App functionality or with javascript, if needed.]

I need a way to close the popup page from the popup page itself.
I manage to close it from the page where I have opened it from, but I want to close it from the page itself.

Bonus question :smile:
Can I close a popup page (and others) with javascript?

Best wishes,
Benny

Hi @benny1

Use element exists activity to check pop-up exist or not and capture the pop-up screen, In element exists block do part, take click activity and Click on the โ€œXโ€ icon to close the pop-up window.

or you can also try the Close pop up activity.

Hope this helps :slight_smile:

Sorry for me not telling Iโ€™m in UiPath Apps, in an App. :slight_smile:

(I will update the question.)

Thanks anyway!

Best regards,
Benny

You canโ€™t do right now โ€ฆ JS not supported in pages except HTML control.