top button

How can you check if a checkbox or a radio button is selected?

0 votes
13 views
posted Apr 26 by Arun

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

1 Answer

0 votes

We can use the .isSelected() method, e.g.

driver.FindElement(By.id("id_of_checkbox")).isSelected();

answer Apr 29 by Arunkumaarts
Similar Questions
0 votes

There are lots of website on the internet as at today that is busy scamming innocent users, now what is that unique point about 99test that will be different from other tester sites.

...