Is it possible to programmatically set the properties of the Open Browser Activity?

Hi, Folks … got a basic question from a new UiPath Studio user.

Is it possible to programmatically set the values of an Open Browser Activity? I’m using a Custom Input Activity to allow the user to select their desired web browser (e.g. Chrome, Firefox, Edge) . With that selection being made, I would then like to set the two input properties (BrowserType and Url) for an OpenBrowser activity in my Robot.

So my question is, does UiPath Studio only permit a developer to set properties of Activities at “design time”, or can one set Activity properties at “run time” as well?

Many thx!
-TK

Image of OpenBrowser Activity Input Properties

Hi,

You can dynamically do it using BrowserType Type variable.

Main.xaml (8.5 KB)

Hope it helps you.

Regards,

5 Likes

That’s exactly what I wanted to do! Thanks, Yoichi !!!

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.