I am currently engaged in E2E automation testing for opening a local website on various mobile browsers. The automation tool I am using is testcafe, which automatically generates a testing URL with all cursor movements, clicks, and screenshots. While it works seamlessly on desktop browsers, I am facing an issue when trying to push the URL to android devices.
When using the command below to open android browsers, it successfully works on many common browsers but fails to open UC browser. In UC browser, it only opens the app without navigating to the specific URL:
adb shell am start -n com.UCMobile/com.uc.browser.InnerUCMobile -a android.intent.action.VIEW -d http://google.com
Is there a way to utilize the adb tool to launch UC browser with a specified URL?