I've got a table where Row 0 is a header row and each subsequent row is an "Item". The first header is a checkbox called "selectAll" which allows the user to select all the items in the table. This is what I'm trying to click.
Here's the relevant HTML:
I've tried this:
> puts @driver.table(:class, "items").html
<input id="selectAll" name="selectAll" type="checkbox">
But I think what's happening here is I'm clicking inside the correct cell, but not within the checkbox that is inside the table cell. I've also tried @driver.label(:name, "selectAll").click, @driver.checkbox(:id, "selectAll").click, etc.
> @driver.table(:class, "items").click
Is there a way to click in the center of a table cell?