Hi,
I’m working on automating an mobile web application in UiPath MDM. I have connected using browser stack for this. Here the issue is, when i try to go back to the previous page in the browser using ‘Tap’ activity (To tap on mobile ‘Back’ icon) or by using ‘Press Hardware Button’ activity, the page jumps to browser homepage instead of previous page. Is there any other work around to navigate to the previous page of the browser. Anyone who has experienced this issue and can suggest how to resolve this ? Thanks
Hi Sonali, I think it is not available for UiPath.MobileAutomation.Activities, if it’s in UiAutomation activites, we cannot use it. And also as the previous page URL is not static we cannot pass it directly. Please help me in this. Thanks.
For Mobile Automation there is the Open URLactivity!
I’ve also tested the Press Hardware Buttonactivity with the Back button and it works as intended. If I was on a page and then go to another, and then press the Back button it goes back to the previous page.
During manual execution the page is navigated correctly to the previous page, but when the process is running in automation, the page navigation is directed to the browser’s homepage. I have used both the Press Hardware Button activity and also the Tap activity. Same case for both activity.
I cannot use Open URL activity here, as the URL of the page is not static and also we cannot use UiPath.UiAutomation activites while using UiPath.MobileAutomation.Activities package.
Only solution is to go ‘Browser Back’. Is there any other way for this? Thanks.
Can we use the same method for ‘Browserstack’ as i have connect the MDM via Browserstack?. Seems like BrowserStack does not provide a public HTTP API for /back like Sauce Labs. Thanks.
yes! most likely you’re not constructing the url right. When you setup the device to browserstack you provide an url for appium (let’s call it appiumUrl). The right endpoint for back is appiumUrl/session/session_id_that_you_got_back_from_get_session_identifier/back.
Awesome @phaserescu !!!
I used this Appium endpoint URL appiumUrl/session/session_id_from_get_session_identifier/back in my workflow and its is navigating correctly to the previous page.
Thanks Christian, its working like a charm. Really appreciate your help man.