How to know if the checkbox is clicked? | Selenium Forum
M
Posted on 17/06/2016
Actually, I am working on an application, where I have to click on certain check boxes based on user input. But before that, by default certain checkboxes are clicked in that application and I have to uncheck them. isSelected() functionality is not working since the xpath of that check box is "label/i". It's not a typical checkbox with tag <input> and isSelected() returns false no matter what. How do I know which chechbox is clicked? Can you please help, it's a lil urgent and I am stuck on this.

M
Replied on 20/06/2016

use this

http://stackoverflow.com/questions/8187772/selenium-checkbox-attribute-checked