lego-mindstorms-ev3-comparison icon indicating copy to clipboard operation
lego-mindstorms-ev3-comparison copied to clipboard

cookie fail

Open wclifton1 opened this issue 5 years ago • 1 comments
trafficstars

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

wclifton1 avatar Jul 19 '20 20:07 wclifton1

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.

bittner avatar Jul 21 '20 06:07 bittner