Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cookie fail #14

Open
wclifton1 opened this issue Jul 19, 2020 · 1 comment
Open

cookie fail #14

wclifton1 opened this issue Jul 19, 2020 · 1 comment

Comments

@wclifton1
Copy link

wclifton1 commented Jul 19, 2020

happening in firefox and chrome... am i doing something wrong?

* Accept Lego's website cookies
Traceback (most recent call last):
  File "lego.py", line 183, in <module>
    main()
  File "lego.py", line 91, in main
    function(**kwargs)
  File "lego.py", line 179, in order
    order.process(lego_set, order_list)
  File "/Users/wclifton1/Documents/GitHub/lego-mindstorms-ev3-comparison/legoshop.py", line 540, in process
    self._process_cookies_accept()
  File "/Users/wclifton1/Documents/GitHub/lego-mindstorms-ev3-comparison/legoshop.py", line 282, in _process_cookies_accept
    cookie_button[0].click()
IndexError: list index out of range
@bittner
Copy link
Owner

bittner commented Jul 21, 2020

It looks like there is no button anymore, or none with a class="l-accept__btn" attribute on the page being evaluated. Or the page did load too slowly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants