Skip to content

How to check if a checkbox is checked? #631

Answered by egil
TDroogers asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @TDroogers, I think you might want to just do cut.Find("#MockCheckboxId").HasAttribute("cheched") or cut.Find("#MockCheckboxId").GetAttribute("cheched") and inspect the value.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@TDroogers
Comment options

@egil
Comment options

egil Feb 14, 2022
Maintainer

Answer selected by TDroogers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants