Advertisement
Guest User

Selenium error

a guest
Oct 10th, 2017
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. Traceback (most recent call last):
  2. File "<pyshell#0>", line 1, in <module>
  3. browser.find_element_by_name('enkel_knapp').click()
  4. File "C:\Users\MYUSERNAME\AppData\Local\Programs\Python\Python36-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 437, in find_element_by_name
  5. return self.find_element(by=By.NAME, value=name)
  6. File "C:\Users\MYUSERNAME\AppData\Local\Programs\Python\Python36-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 843, in find_element
  7. 'value': value})['value']
  8. File "C:\Users\MYUSERNAME\AppData\Local\Programs\Python\Python36-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 308, in execute
  9. self.error_handler.check_response(response)
  10. File "C:\Users\MYUSERNAME\AppData\Local\Programs\Python\Python36-32\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 194, in check_response
  11. raise exception_class(message, screen, stacktrace)
  12. selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"name","selector":"enkel_knapp"}
  13. (Session info: chrome=61.0.3163.100)
  14. (Driver info: chromedriver=2.33.506120 (e3e53437346286c0bc2d2dc9aa4915ba81d9023f),platform=Windows NT 10.0.15063 x86_64)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement