I have to automate one scenario wherein i need to check if the Location is ON/OFF. So in Android i am able to Access the Notification panel using .OpenNotifications(); and then i check if Location service is ON/OFF by inspecting the Location button.
Now in this case i need to know if the Location button state if On/Off.
Any solutions?