Automating clicking of checkboxes in a webpage?

My last question was answered fast and efficient so lets try this one :slight_smile:

I have a webpage with a large number of checkboxes that relate to setting up user permissions. It's a box, with text that follows along with a link to an explanation of the role. If you use {key:tab}, you would have to repeat that 2x to get to the next checkbox below it (because of the link).

Is there a more efficient way to check these boxes, maybe based on CSS selectors?

Hi David,

This is supported currently. It's something we may consider adding in the future. I'm moving this post to the Features Idea category to keep track of it..

Clicking with CSS selectors is now possible. Check out the announcement: October Development Update

For your specific case, assuming the list of checkboxes always has the same order, you can jump to a specific check box using the :nth-child CSS selector. Feel free to let us know if you need help setting it up.

2 Likes