wimpywarlord / appliFLY

Automate application process for ASU on-campus Job portal
https://kshitijdhyani.com/appliFLY/
6 stars 3 forks source link

Stale Element Reference Exception Error during Script Execution #14

Closed kalyanamdewri closed 9 months ago

kalyanamdewri commented 10 months ago

While running the appliFly.py script, I encountered a "stale element reference" exception. This halted the script's execution and led to an unsuccessful run.

Expected Behavior: I expected the script to complete its execution without any errors.

Actual Behavior: The script stopped executing and threw a "stale element reference" exception.

Error Message: An error occured. Please document & report it to the developer @https://github.com/wimpywarlord/appliFLY/issues Message: stale element reference: stale element not found (Session info: chrome=118.0.5993.117); For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#stale-element-reference-exception Stacktrace: 0 chromedriver 0x0000000100bdc510 chromedriver + 4310288 1 chromedriver 0x0000000100bd44bc chromedriver + 4277436 2 chromedriver 0x0000000100807b6c chromedriver + 293740 3 chromedriver 0x000000010080ce2c chromedriver + 314924 4 chromedriver 0x000000010080ee48 chromedriver + 323144 5 chromedriver 0x000000010080ef74 chromedriver + 323444 6 chromedriver 0x000000010084ef70 chromedriver + 585584 7 chromedriver 0x0000000100842d68 chromedriver + 535912 8 chromedriver 0x0000000100842774 chromedriver + 534388 9 chromedriver 0x0000000100887e60 chromedriver + 818784 10 chromedriver 0x0000000100840fd0 chromedriver + 528336 11 chromedriver 0x0000000100841e7c chromedriver + 532092 12 chromedriver 0x0000000100ba2834 chromedriver + 4073524 13 chromedriver 0x0000000100ba67fc chromedriver + 4089852 14 chromedriver 0x0000000100ba6c58 chromedriver + 4090968 15 chromedriver 0x0000000100bac8f8 chromedriver + 4114680 16 chromedriver 0x0000000100ba7234 chromedriver + 4092468 17 chromedriver 0x0000000100b81604 chromedriver + 3937796 18 chromedriver 0x0000000100bc3ee8 chromedriver + 4210408 19 chromedriver 0x0000000100bc4064 chromedriver + 4210788 20 chromedriver 0x0000000100bd4134 chromedriver + 4276532 21 libsystem_pthread.dylib 0x0000000188a6f034 _pthread_start + 136 22 libsystem_pthread.dylib 0x0000000188a69e3c thread_start + 8

Environment: macOS Version: 14 Python Version: 3.11.2 Chrome Version: Version 118 Selenium Version: 4.12.0 (as per requirements.txt)

wimpywarlord commented 10 months ago

Try restarting the script, it will usually work most times.

Additionally could you please explain what all steps worked and which steps failed.

Could you share a video recording of the same

wimpywarlord commented 10 months ago

https://github.com/wimpywarlord/appliFLY/issues/12

wimpywarlord commented 9 months ago

Closing this issue since solved in the following thread: https://github.com/wimpywarlord/appliFLY/issues/12