Expected PhoenixBot to automate Target login, add to cart and purchase
Actual Behaviour
Stuck on login screen with this error in console:
File "/Users/davefogo/Documents/Workspace/learn/ps5/PhoenixBot/pages/homepage.py", line 524, in run
Target(self.task_id, self.status_signal, self.image_signal, self.product, profile, proxy, self.monitor_delay, self.error_delay)
File "/Users/davefogo/Documents/Workspace/learn/ps5/PhoenixBot/sites/target.py", line 70, in __init__
self.login()
File "/Users/davefogo/Documents/Workspace/learn/ps5/PhoenixBot/sites/target.py", line 103, in login
self.fill_and_authenticate()
File "/Users/davefogo/Documents/Workspace/learn/ps5/PhoenixBot/sites/target.py", line 139, in fill_and_authenticate
self.browser.find_element_by_xpath('//input[@id="password"]').send_keys(settings.target_pass)
File "/Users/davefogo/Documents/Workspace/learn/ps5/PhoenixBot/env/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 394, in find_element_by_xpath
return self.find_element(by=By.XPATH, value=xpath)
File "/Users/davefogo/Documents/Workspace/learn/ps5/PhoenixBot/env/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 976, in find_element
return self.execute(Command.FIND_ELEMENT, {
File "/Users/davefogo/Documents/Workspace/learn/ps5/PhoenixBot/env/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/Users/davefogo/Documents/Workspace/learn/ps5/PhoenixBot/env/lib/python3.9/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: //input[@id="password"]
Screenshots
Place any informational screenshots here.
Repro Steps
Download geckodriver and point to location in /usr/local/bin
Run PhonixBot
Click on play for Target
Firefox opens
Opens login
Gets stuck in login screen and prints out error in console
Expected Behavior
Expected PhoenixBot to automate Target login, add to cart and purchase
Actual Behaviour
Stuck on login screen with this error in console:
Screenshots
Place any informational screenshots here.
Repro Steps
Desktop Configuration
Additional Context