Hi, I’m using real iOS devices for testing and i have several ‘XCUIElementTypeSwitch’ toggles in my app, to change state of these toggles I’ve used next method: driver.findElement(MobileBy.AccesibilityId(‘toggleId’)).getAttrinute(‘value’), if it’s equals to 1 then toggle is enabled and vice versa. But now I’m always getting 0, it doesn’t depend on toggle state, therefore, when I’m trying to check this element using Appium desktop or getting page source I can see correct value!
It used to work before update to Appiun 1.15 and iOS 13, this is important!
Can someone help me to solve this ‘getAttribute()’ method issue please???