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

safeway-coupons fails because "Keep Me Signed In" checkbox is no longer present #95

Closed jamesderlin closed 1 year ago

jamesderlin commented 1 year ago

It seems that Safeway has removed the "Keep Me Signed In" checkbox from their login form (I no longer seem to see it when signing in manually in my browser). This causes safeway-coupons to fail fatally when it tries to deselect the non-existent checkbox.

Connect to safeway.com
Decline cookie prompt
Open Sign In sidebar
Open Sign In form
Populate Sign In form
Deselect Keep Me Signed In
Error: Authentication Failure (Message: no such element: Unable to locate element: {"method":"xpath","selector":"//span [contains(text(), 'Keep Me Signed In')]"}
  (Session info: chrome=114.0.5735.198); For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
Stacktrace:
...
zhamoytin commented 1 year ago

It seems that Safeway has removed the "Keep Me Signed In" checkbox from their login form (I no longer seem to see it when signing in manually in my browser). This causes safeway-coupons to fail fatally when it tries to deselect the non-existent checkbox.

Connect to safeway.com
Decline cookie prompt
Open Sign In sidebar
Open Sign In form
Populate Sign In form
Deselect Keep Me Signed In
Error: Authentication Failure (Message: no such element: Unable to locate element: {"method":"xpath","selector":"//span [contains(text(), 'Keep Me Signed In')]"}
  (Session info: chrome=114.0.5735.198); For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
Stacktrace:
...

Having same issue.

smkent commented 1 year ago

Thanks for the report! https://github.com/smkent/safeway-coupons/pull/96 should fix this.