I’m having trouble with my Python Selenium script when trying to automate clicking the registration button on a music streaming website. I’ve tried multiple approaches including finding the element by xpath and css selectors but nothing seems to work. Even when I use explicit waits the button just won’t respond to the click command. Here’s what I’ve been trying:
element = WebDriverWait(browser, 15).until(EC.element_to_be_clickable((By.CSS_SELECTOR, 'div.signup-form > div:nth-child(8) > button')))
element.click()
The element gets found but the click action doesn’t seem to register. Has anyone encountered similar issues with button clicks not working even when the element is clearly clickable? What alternative methods could I try to interact with this type of form button?