smkent / safeway-coupons

🥫 🎫 Automatic coupon clipper for Safeway's online "Safeway for U" coupons
GNU General Public License v3.0
57 stars 17 forks source link

Error: Authentication Failure ([ElementNotInteractableException] Message: element not interactable #100

Closed tpengandrew closed 11 months ago

tpengandrew commented 1 year ago

Clipping coupons for Safeway account xxxx.xxx@gmail.com Connect to safeway.com Decline cookie prompt Open Sign In sidebar Open Sign In form Populate Sign In form Error: Authentication Failure ([ElementNotInteractableException] Message: element not interactable (Session info: chrome=114.0.5735.133) Stacktrace:

0 0x55eddd3734e3

1 0x55eddd0a2b00

2 0x55eddd0d952c

3 0x55eddd0d8b0a

4 0x55eddd0fe012

5 0x55eddd0d4b03

6 0x55eddd0fe1de

7 0x55eddd11630e

8 0x55eddd0fdde3

9 0x55eddd0d32dd

10 0x55eddd0d434e

11 0x55eddd3333e4

12 0x55eddd3373d7

13 0x55eddd341b20

14 0x55eddd338023

15 0x55eddd3061aa

16 0x55eddd35c6b8

17 0x55eddd35c847

18 0x55eddd36c243

19 0x7ff590694b43

jamesderlin commented 1 year ago

I've been consistently getting other failures over the past few days. They're not always the same:

Clipping coupons for Safeway account REDACTED
Connect to safeway.com
Decline cookie prompt
Open Sign In sidebar
Open Sign In form
Error: Authentication Failure ([TimeoutException] Message: 
))

and

Error: Authentication Failure ([StaleElementReferenceException] Message: stale element reference: stale element not found
  (Session info: chrome=114.0.5735.198); For documentation on this error, please
 visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#
stale-element-reference-exception
Stacktrace:
#0 0x55ce36acf4e3 <unknown>
#1 0x55ce367fec76 <unknown>
#2 0x55ce3680ba71 <unknown>
...
qtang commented 1 year ago

I am running this via the docker container method and was consistently receiving a Stale Element Reference Exception. Here's my quick and dirty workaround:

  1. Change session.py line 95 from url = "https://www.safeway.com" to url = "https://www.safeway.com/account/sign-in.html?goto=/foru/coupons-deals.html"
  2. Comment out lines 108-119.

Screen Shot 2023-09-13 at 10 31 34 AM

tpengandrew commented 1 year ago

This works for me -- thanks!

I am running this via the docker container method and was consistently receiving a Stale Element Reference Exception. Here's my quick and dirty workaround:

1. Change session.py line 95 from url = "https://www.safeway.com" to url = "https://www.safeway.com/account/sign-in.html?goto=/foru/coupons-deals.html"

2. Comment out lines 108-119.

Screen Shot 2023-09-13 at 10 31 34 AM

smkent commented 11 months ago

Hi all, thanks for the bug report! I believe this is now fixed via https://github.com/smkent/safeway-coupons/pull/103 within release version 0.2.7. Please let me know if you continue to experience any issues.