I want to identify if this button is set to YES or No, then do the following actions.
If YES > switch button to NO
If NO > do nothing.
I tried get text and get attribute but neither work with this particular onoff switch. How can I capture this data? I have attached the respective code fore reference.
Thanks in advance,