When I try to put a “Go To URL” activity inside of my “Use Browser” activity, it gives the error "The current activity must be used within a Use Browser activity.
I don’t understand why this happens, I’ve updated my UIAutomation.Activities package to the latest, but the problem persists.
It is because you are trying to automate Opera browser and that’s not a compatible browser to automate.
Use Chrome/Edge/Firefox browser to automate your web interaction and the activity will work as expected.
If I wanted to open Chrome using Start Process, is there a way I can still use Type Into? I want Start Process because I want the automation to open any browser that is available in the system, not just specifically one kind.
Yes you can start the browser with start process. After that you will have to attach that browser either using classic activity Attach Browser or modern activity Use Application browser. Inside this activity you can use type into activity.
you can start using start process
in selectors you need to make sure to remove the app attribute in the window selector so that it can attach to any browser
cheers
