Inspecting toggles on http://www.material-ui.com/#/components/toggle there is an input tag of type 'checkbox' in DOM. 'Toggled by default' has attribute 'checked' but when I turn it to OFF state then attributes in underling 'input' tag does not change and 'checked' is still present. How to determine toggle ON/OFF state from DOM?
p.s. I am writing automated functional tests using Selenium web driver.