We can first see if the checkbox is selected using is_selected() method. Then using click method we can perform the operations such as selecting or deselecting the checkboxes as illustrated in the below example.
What do you think on above selenium topic. Please provide your inputs and comments. You can write to me at email@example.com