How to pass the browser type as parameter

Hi All,

I need to pass different browsers as parameter to open application in all browsers one by one.
Could you please suggest any idea for this issue?


1 Like

have a look here:

for each typeArgument set to UiPath.Core.BrowserType
Statement: System.Enum.GetValues(GetType(BrowserType))

OpenBrowser Activity:

1 Like


Thanks for your reply. I need to read the browser value from excel file and send it as parameter to BrowserType values. How can I do it.

Attached the my script file for the same.

Thanks, (14.1 KB)

Have a look on this Playgame

  • fill in all Browsertypes into an input dialog as selection option
  • Using selected Browser Option for e.g. opening the particular browser


System.Enum.GetNames(GetType(BrowserType)) is returning a String()
DirectCast(BrowserType.Parse(getType(BrowserType), strBrowserTypeName),BrowserType) is returning the BrowserType based on the given String Name

So BrowserType Name can be retrieved from excel and be used for opening the particular Browser



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