Checkbox in a web application is a square box contain options on which user can click to check or uncheck the boxes. The user can select one or many checkbox options.
In selenium, we can handle checkbox easily by finding any of its attributes such as ID, XPath or name. Once we locate the checkbox, we can use method click() to check and uncheck the checkbox in selenium webdriver.
If you want to check whether the checkbox is already selected or not, you can use method isSelected() and it returns true if the checkbox is already selected. Otherwise, it returns false.
********* Tutorial Playlists *********
Google apps script tutorial for beginners- https://bit.ly/google-apps-script-tut...
Automate internet explorer with VBA- https://goo.gl/Xmy8Af
Autoit tutorials for beginners- https://goo.gl/JHB1E2
Selenium Webdriver tutorials for beginners -https://goo.gl/QqxTrF
***** Contact me *******
Blog: http://www.amarindaz.com/contact/
FB page: / amarindaz
****** Books written by me *******
Autoit tutorials for beginners: http://amzn.to/2GjaDbD
Excel VBA for beginners: http://amzn.to/2nhI067
****** Productivity tool ********
My Favorite YouTube Tools ➜ https://goo.gl/MX9Z4p and ➜https://goo.gl/UW1uRX
****** Gear Used To Shoot This Video *****
_Audio & Microphone
http://amzn.to/2GibdGu
*******Learning partner*******
Video courses ➜https://click.linksynergy.com/fs-bin/...
Don't forget to subscribe! https://goo.gl/J2453w
💼 To Hire Me 👉 https://fwd.cx/WLGgpTiZW5HK
Checkout my app 👉 https://www.myfreshtools.com