I literally new with web scraping and selenium.
I was trying to click the label button, so, if the label clicked, the color will be change, like the picture below.
I think, it can be done by accessing the input 'id', but it won't work, I was trying to click the id button using this syntax
button = driver.find_element_by_id('r0_1')
button.click()
But the error I got is something like this
selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable
So, I think I should click the label to get access into the 'for' element. Is anyone know how to click the label with the 'for' element because that one is an unique value also?
Any help would be appreciated, thanks!
*Note: This code is rebuilt from the original link in case to make it easier to read
Here is the link for the source code: link
