XCUIElementTypeSwitch does not change value from 1 to 0 when tapped with Appium
I am using SHAFT Engine – https://github.com/ShaftHQ/SHAFT_ENGINE to automate tests for an Android / iOS app.
I am trying to toggle off a switch element (XCUIElementTypeSwitch) which has the value set to 1 by default, but clicks or setting the value of the element to 0 do not affect it at all, using Appium Java or Appium Inspector.