Skip to content

Commit

Permalink
Return to safeway.com after declining cookie prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
smkent committed Oct 31, 2023
1 parent 5910811 commit dcb7ca0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions safeway_coupons/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ def _login(self, account: Account) -> None:
if button:
print("Decline cookie prompt")
button.click()
print(
"Return to safeway.com after declining cookie prompt"
)
driver.get(url)
except NoSuchElementException:
print("Skipping cookie prompt which is not present")
print("Open Sign In sidebar")
Expand Down

0 comments on commit dcb7ca0

Please sign in to comment.