seleniumを使い、実行すると下記のようなエラーが出力され解決が難しい状況です。
waitが必要かと思い、実施しましたが、効果はありませんでした。
時々、うまくログインできる時がありますが、それ以降エラーでログインできません。
ご教示頂けると幸いです。
宜しくお願い致します
<試したこと>
下記、記述をヤフーログインのid.send_keys('ヤフーID')の後ろに記載したがうまくいきません。
from selenium.webdriver.support.ui import WebDriverWait
wait = WebDriverWait(driver, 10) # 最大10秒
<エラーメッセージ>
selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable
<対象ソース>
from selenium import webdriver
from selenium.webdriver.support.ui import Select
driver = webdriver.Chrome('C:\selenium\chromedriver.exe')
driver.get('https://login.yahoo.co.jp/config/login?.src=auc&.done=https%3A%2F%2Fauctions.yahoo.co.jp%2F')
#ヤフーログイン
id = driver.find_element_by_id('username')
id.send_keys('ヤフーID')
次へ押下
element2 = driver.find_element_by_class_name('btnSubmit')
element2.click()
p = driver.find_element_by_id('passwd')
>p.send_keys('ヤフーのパス')
⇒この行でエラー