Could not create .click () element on button.
Code on the site:
<button class="btn__type btn__type_close">Закрыть</button> How do I try to make an element clickable:
driver.execute_script("return document.getElementsByClassName('.btn__type_close')").click() Question: - How will it be right?