admin管理员组

文章数量:1302503

The goal is to validate CSS properties of android app elements e.g. text color, font size etc using appium with selenium with java for android app automation. The android app is built using maui blazor hybrid framework.

Need to access the webview of the android app from selenium code. But even after enabling webview using this line

protected override void OnCreate(Bundle savedInstanceState)
{
    base.OnCreate(savedInstanceState);
    Android.Webkit.WebView.SetWebContentsDebuggingEnabled(true);
}

And placing this under MainActivity.cs

After getting build from CICD pipeline, webview is not present in the built app. However, if start the app from visual studio from debug mode webview is present.

What should I do now?

本文标签: