I am searching to do a program for fun but i have some problems with selenium and i
need some help...
This is the programm (i deleted the directory of webdriver because the folder's name contain the name of an other person)
from selenium import webdriver
import webbrowser
import time
def Pass_send_():
driver=webdriver.Chrome()
driver.get('chrome://flags/#password_export-enable')
ricerca=driver.find_element_by_id("search")
ricerca.send_keys('password export')
scorritore=driver.find_element_by_class_name('experiment-select')
scorritore.click()
Pass_send_()
And so the purpose it's easy, it should open a windows, type a text and click a button. everything works but the click doesn't and this is the error:
Traceback (most recent call last):
File "C:Python34internet22.py", line 18, in <module>
Pass_send_()
File "C:Python34internet22.py", line 14, in Pass_send_
scorritore.click()
File "C:Python34libsite-
packagesseleniumwebdriver
emotewebelement.py", line 80, in click
self._execute(Command.CLICK_ELEMENT)
File "C:Python34libsite-
packagesseleniumwebdriver
emotewebelement.py", line 633, in _execute
return self._parent.execute(command, params)
File "C:Python34libsite-
packagesseleniumwebdriver
emotewebdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "C:Python34libsite-
packagesseleniumwebdriver
emoteerrorhandler.py", line 242, in
check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.ElementNotVisibleException: Message: element not interactable
So i am not an expert but it says: element not intercatable? what does it mean and how can i fix it? i would really appreciate a reply...
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…