cherry
cherry

Reputation: 21

Is there a way to check is the button clicked with FluentAutomation?

I want to check the button is clicked or not use FluentAutomation. And there has two types about button. One is locked, it can't be change. Just like picture but it's HTML still is input. Another can click but I don't want to change it. I just want to know is it clicked or not. Is there a way to check is the button clicked?

Upvotes: 0

Views: 229

Answers (1)

kiro
kiro

Reputation: 111

I use the following code to check:

string x = I.Find("#checkboxID").Element.Attributes.Get("checked");
bool clicked = (x != null);

Upvotes: 0

Related Questions