So I'm trying to automate testing with selenium, and need to see if a check box is checked for a specific user. The page looks like this.
The first user's checkbox is not checked, and the second is. So, when checked there's a checkbox="checked" attribute that isn't there when not checked. I'm not sure how I would format it so that I'm able to specifically look at the box of the one that I'm looking for. I tried (//input[contains(@name='user_5166855' and @checked='checked')])
but it didn't seem to work.