お世話になります。
下記PythonでSeleniumを利用してスクレイピングを行い、あいまい検索でリンクをクリックしたいのですが下記エラーが表示されてしまいます。
何が間違っているのかわからない状況ですので、どなたかわかる方がいらっしゃいましたら教えていただけると助かります。
from selenium import webdriver from selenium.webdriver.chrome.options import Options import chromedriver_binary #import time # ブラウザーを起動 options = Options() options.binary_location = 'C:\Users***\AppData\Local\Google\Chrome SxS\Application\chrome.exe' options.add_argument('--headless') driver = webdriver.Chrome(options=options) # Google検索画面にアクセス driver.get('https://scraping-for-beginner.herokuapp.com/') driver.find_element_by_xpath("//*[contains(text(), 'ログ')]").click() print(driver.current_url)
エラー内容
ElementNotInteractableException: element not interactable (Session info: headless chrome=84.0.4121.0)
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2020/04/22 09:30
2020/04/22 23:44
2020/04/23 02:03
2020/04/23 05:54
2020/04/23 05:56
2020/04/23 05:56
2020/04/23 08:20