Python Forum
Error clicking button with selenium
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error clicking button with selenium
#1
time.sleep(5)
driver.find_element_by_css_selector('.js-checkout-step-submit').click()
time.sleep(0.4)
This above is just a piece of my code with.

When I run this with the other code I've written it gives this error:
selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable


I am pretty sure the path ('.js-checkout-step-submit') to the button I want selenium to click is right because I found is right. Cause I used SelectorGadget to find it wich worked well for me before.

Does someone have an idea what is going on or could someone maybe help me?
Reply


Messages In This Thread
Error clicking button with selenium - by julio2000 - Jan-05-2020, 09:34 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Selenium press "select option" button (SOLVED) kucingkembar 0 814 Aug-10-2023, 11:49 AM
Last Post: kucingkembar
  Click on a button on web page using Selenium Pavel_47 7 4,839 Jan-05-2023, 04:20 AM
Last Post: ellapurnellrt
  How to make use of this button with selenium? Nohah 0 1,056 Sep-22-2022, 10:22 AM
Last Post: Nohah
  button click error rafarangel 2 3,175 Feb-11-2021, 08:19 PM
Last Post: buran
  Log In Button Won't Click - Python Selenium Webdriver samlee916 2 3,907 Jun-07-2020, 04:42 PM
Last Post: samlee916
  Selenium weird error julio2000 0 1,710 Feb-23-2020, 01:24 PM
Last Post: julio2000
  Clicking on element not triggering event in Selenium Python (Event Key is not in data dkaeloredo 2 4,332 Feb-16-2020, 05:50 AM
Last Post: dkaeloredo
  Selenium webdriver error WiPi 4 12,298 Feb-09-2020, 11:38 AM
Last Post: WiPi
  error when running headless selenium julio2000 2 4,642 Feb-01-2020, 12:41 PM
Last Post: julio2000
  Selenium error with ebdriver (geckodriver) Martinelli 4 4,814 Sep-24-2019, 01:40 AM
Last Post: Martinelli

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020