79375850

Date: 2025-01-21 20:27:44
Score: 1
Natty:
Report link

According to the Appium Driver Documentation (see "Element Attributes"): https://github.com/appium/appium-uiautomator2-driver

The attribute name is "checked".

I am using Gerald Versluis very awesome helper library for MAUI testing and the following code returns the correct value on Android.

var isChecked = element.GetAttribute<string>("checked");

https://github.com/jfversluis/Plugin.Maui.UITestHelpers

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: greatgrayowl1