Reusable component for open browser

How can we pass different browser types(IE,Edge,Chrome,Firefox) as In parameters to open the application in different browsers

@spoorthi_chintala You can use a Variable or an argument say browserVar ,of BrowserType Datatype, then you can Assign it in these ways for choosing specific Browsers.

browserVar = BrowserType.IE for Internet Explore
browserVar = BrowserType.Chrome for Google Chrome

and so on

1 Like