I have created a solution that required to open a web page and extract the data. I developed using IE browser. Is it possible that I can create a generic solution which is browser independent - the idea is that I set the browser variable ( either of Chrome, IE or Firefox) in Init Config files and the bot opens the browser as per the variable. If the variable is set to IE, it should open the web page in IE and if I change it to Chrome then it should open in CHrome. I see that the BrowserType cannot be passed in the variable while Opening the Browser. Any pointers will help ?
Yes we can’t pass variable for browser type in Open Browser activity.
So you are saying that there is no other solution to my problem ?
Yes. We have problem with Opening browser only. We can make dynamic selector for attach browser activity with passing variable names into it. And also we can use Navigate To activity also.
But for opening browser we have to use Open Browser activity only. So, we can’t pass variable names into it.
Ok Thanks for your inputs
Actually, it is possible. You just have to use ‘Open Application’ instead of ‘Open Browser’. Inside the ‘Open Application’ activity you have to pass the path to the .exe file of the browser you want to open. Inside this activity use the ‘Attach Browser’ activity and then continue with your solution.