Wpis z mikrobloga

#naukaprogramowania #python
próbuje się zalogować do strony, przez pythona i selenium
syszukuję na stronie label name, i chce tam wlepic dane:

cos nie idzie :(
jakaś porada jak to znprawić?

KOD:
PATH="C:\Program Files (x86)\chromedriver.exe"
driver = webdriver.Chrome(PATH)
driver.get(url)

Logininput= driver.findelementbyid("login")
Logininput.sendkeys(username)
Passinput=driver.findelementbyid("password-login")
Passinput.sendkeys(password)

bład:
selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable
(Session info: chrome=85.0.4183.121)

dane strony : obrazek
Pobierz l.....k - #naukaprogramowania #python 
próbuje się zalogować do strony, przez python...
źródło: comment_1601547594TB4z9ts2PSg2xacPHV2v0u.jpg
  • 6
element not interactable

(Session info: chrome=85.0.4183.121)


@luukasek: ps znajdowanie przez xpath tez daje ten sam blad:
Logininput = driver.findelementbyxpath('//*[@id="login"]')
Logininput.sendkeys(username)
Passinput=driver.findelementbyxpath('//*[@id="password-login"]')
Passinput.sendkeys(password)
#
selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable
(Session info: chrome=85.0.4183.121)