Bring a web page to front

In the past, there was an “activate” activity that can bring a web page to the front of all other web pages. But now the “activate” activity belongs to ‘Classic’, is there a ‘Modern’ activity can do the same thing to bring page to front?

Hi @18918024916

In modern activities, there is no direct equivalent to the Classic “Activate” activity, but you can achieve the same result by using the “Use Application/Browser” activity with the “Bring to foreground” property enabled.

If helpful, mark as solution. Happy automation with UiPath

No, there is no “Bring to foreground” for “Use Application/Browser” activity.

@18918024916

Try In the Application/Browser Activity property ensure the resize window property is set to maximize this tends to bring the window to the foreground.

for more: "Activate" activity in modern activities - #2 by postwick

Program already using ‘maximize’ but it does not bring the window to the foreground.

hi, @18918024916

i think Use Application/Browser activity, automatically makes the target active for all tasks inside its Do container or use “Set Focus” to indicate the UI Element to use as target and the Classic “Activate” activity is still available if needed.

Yes, Classic “Activate” activity is still available. But I’m looking for a replacement in Modern [activities]

Try Using Attach window activity and inside that use Maximize winddow activity

@18918024916

directly doing these actions can bring it to foreground which has option to activate in those properties

check here for full list of classic vs modern

cheers

Hello @18918024916

Starting from 25.10.16 version of UiPath.UIAutomation.Activities, using Window Operation modern activity (ref) (docs) the following operations can be performed