I'm trying to select a checkbox on the following public web-page using Selenium XPath from Python and click it to change the checked status.
For example, the checkbox that I would like to click is located under "Fluxes/Magnitudes" and is named "U" shown in the picture below.
Upon inspection of this page I built the following XPath to select the checkbox:
//*[@type ='checkbox' and @name='U']
This returns what I believe to be the correct element, however when I try to run
click() on the object it fails with the exception
'list' object has no attribute 'click'
When I look at the functions for this object in a debugger it indeed does not have a click function.
How can this be true for a checkbox?
Is there a different element that has to be selected?