-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
`WebDriverException: Message: Service /storage/.kodi/addons/script.module.selenium/bin/chromedriver/libreelec/chromedriver unexpectedly exited. Status code was: 2
my code
from selenium import webdriver
from selenium.webdriver.common.driver_utils import get_driver_path
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
.....
driverPath = get_driver_path('chromedriver')
options = webdriver.ChromeOptions()
options.add_argument('headless')
driver = webdriver.Chrome(driverPath, chrome_options=options)
driver.get(self.url)
element_present = EC.presence_of_element_located((By.ID, 'DtsBlkVFQx'))
WebDriverWait(driver, 10).until(element_present)
bs = BeautifulSoup(driver.page_source,'html.parser')
data = bs.find(id=self.selector).text
`In windows work but in libreelec (raspbery pi 1 b) show this error
Metadata
Metadata
Assignees
Labels
No labels