Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

webdriver issues #86

Open
PadillaM45 opened this issue May 8, 2019 · 0 comments
Open

webdriver issues #86

PadillaM45 opened this issue May 8, 2019 · 0 comments

Comments

@PadillaM45
Copy link

Getting a ton of issues,

Firefox

Exercise file is available to download
Traceback (most recent call last):
File "G:\Lyndor-master/run.py", line 137, in
main()
File "G:\Lyndor-master/run.py", line 36, in main
schedule_download(url)
File "G:\Lyndor-master/run.py", line 55, in schedule_download
download_course(url)
File "G:\Lyndor-master/run.py", line 118, in download_course
exercise_file.download(url, course_folder_path, cookie_path)
File "G:\Lyndor-master\module\exercise_file.py", line 36, in download
regular_login(url, course_folder, driver)
File "G:\Lyndor-master\module\exercise_file.py", line 175, in regular_login
email = driver.find_element_by_css_selector("#email-address")
File "C:\Python\Python37\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 598, in find_element_by_css_selector
return self.find_element(by=By.CSS_SELECTOR, value=css_selector)
File "C:\Python\Python37\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 978, in find_element
'value': value})['value']
File "C:\Python\Python37\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "C:\Python\Python37\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: #email-address

Chrome

DevTools listening on ws://127.0.0.1:51239/devtools/browser/4474e3eb-ba70-484b-8492-72ee34174223
Traceback (most recent call last):
File "G:\Lyndor-master/run.py", line 137, in
main()
File "G:\Lyndor-master/run.py", line 36, in main
schedule_download(url)
File "G:\Lyndor-master/run.py", line 55, in schedule_download
download_course(url)
File "G:\Lyndor-master/run.py", line 118, in download_course
exercise_file.download(url, course_folder_path, cookie_path)
File "G:\Lyndor-master\module\exercise_file.py", line 36, in download
regular_login(url, course_folder, driver)
File "G:\Lyndor-master\module\exercise_file.py", line 175, in regular_login
email = driver.find_element_by_css_selector("#email-address")
File "C:\Python\Python37\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 598, in find_element_by_css_selector
return self.find_element(by=By.CSS_SELECTOR, value=css_selector)
File "C:\Python\Python37\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 978, in find_element
'value': value})['value']
File "C:\Python\Python37\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "C:\Python\Python37\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":"#email-address"}
(Session info: headless chrome=74.0.3729.131)
(Driver info: chromedriver=74.0.3729.6 (255758eccf3d244491b8a1317aa76e1ce10d57e9-refs/branch-heads/3729@{#29}),platform=Windows NT 10.0.17134 x86_64)

all dependencies are updated as well

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant