Need to do automation using UC and QQ browser

Hi All,

I need to do automation in cloud devices using UC and QQ browser. However i am not able to do . can anyone please suggest.
Below are desired capabilities which i am using for UC browsers:

               desiredCapabilities.setCapability("deviceName", "XX");// 
               desiredCapabilities.setCapability("udid", "XXX");// 
               desiredCapabilities.setCapability("automationName", "UiAutomator2");
               desiredCapabilities.setCapability("platformName", "Android");
               desiredCapabilities.setCapability("autoAcceptAlerts", true);
               desiredCapabilities.setCapability("appActivity", "com.uc.browser.InnerUCMobile");
               desiredCapabilities.setCapability("appPackage", "com.UCMobile.dev");
               desiredCapabilities.setCapability("noReset", true);
               URL remoteUrl = new URL("xxx");

Could you share the full Appium log? (especially error message)
I saw a case in which a UC browser had its own chrome version. Then, the session should have had specific chromedriverExecutable capability

Code
WebDriverWait wait = new WebDriverWait(driver, 10);
By FIRSTNAME = MobileBy.xpath( “// [@name=‘first_name’]");
By LASTNAME = MobileBy.xpath( "//
[@name=‘last_name’]”);
driver.get(“https://www.goglobal.com/en/form/contact-us”);
Thread.sleep(5000);
Set contextNames = driver.getContextHandles();
System.out.println(contextNames);
driver.context((String) contextNames.toArray()[1]);
String context = driver.getContext();
System.out.println(context);
String pageSource = driver.getPageSource();
System.out.println(pageSource);

Below are the webview log for UC browser:
[NATIVE_APP, WEBVIEW_com.UCMobile.dev]
WEBVIEW_com.UCMobile.dev

ext:uc:home Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use ‘–warning-mode all’ to show the individual deprecation warnings. See https://docs.gradle.org/6.1/userguide/command_line_interface.html#sec:command_line_warnings BUILD SUCCESSFUL in 23s 2 actionable tasks: 2 executed 8:33:21 PM: Task execution finished ‘:test --tests “SampleTest.launchSettings”’