As using Selenium to click on the checkbox/radio button?

Hi. only only deal with automated testing, faced with this example. Can't click on buttons of the agreements on this website https://ru.experrto.io/register/. Tried using xpath or just via tags, IDs, and selectors, but to no avail. Obviously, that's way I fail.. Very hope for your help
April 19th 20 at 12:07
1 answer
April 19th 20 at 12:09
Clicking on label opens up the agreement, and the checkbox is caught. Can be done a little differently.

driver.execute_script('document.getElementsByName("agreement")[0].click()')

Find more questions by tags SeleniumPython