I have a query. Is the a way to dynamically change the BrowserType property in Attach Browser activity? This will be neat because my clients have different preferences about which browser they use. since the BrowserType property is a dropdown, I have to select one at design time, but after that I cannot change it at run time.
I want to check process status, then change browser type based on which browser process is running on the user’s machine.
I tried to change “app=‘chrome.exe’” or “app=‘firefox.exe’” or “app=‘msedge.exe’”, but because the BrowserType property remains the same, the bot fails.
Why cann’t BrowserType accept a variable, which will make it flexible?
Any suggestion about how to achieve this?