Python Forum
Getting Index Error - list index out of range
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting Index Error - list index out of range
#3
Still I am getting below error after changing from 0 to 1.

Error:
C:\Users\Klsingh\Anaconda3\lib\site-packages\ipykernel_launcher.py:4: DeprecationWarning: use driver.switch_to.window instead after removing the cwd from sys.path. --------------------------------------------------------------------------- IndexError Traceback (most recent call last) <ipython-input-22-8eb1449d4630> in <module> 4 wd.switch_to_window(wd.window_handles[0]) 5 buttons = rest_types_buttons() ----> 6 buttons[1].click() 7 driver.switch_to_window(wd.window_handles[0]) IndexError: list index out of range
Reply


Messages In This Thread
RE: Getting Index Error - list index out of range - by RahulSingh - Feb-03-2020, 07:17 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Grouping in pandas/multi-index data frame Aleqsie 3 692 Jan-06-2024, 03:55 PM
Last Post: deanhystad
  Merging rows and adding columns based on matching index pythonnewbie78 3 827 Dec-24-2023, 11:51 AM
Last Post: Pedroski55
  Index out of range error standenman 0 1,103 May-22-2023, 10:35 PM
Last Post: standenman
  multi index issue of one hot encoder preprocessing aupres 0 1,085 Jun-10-2022, 11:23 AM
Last Post: aupres
  IndexError: invalid index to scalar variable. jyotib2610 3 3,108 Mar-10-2022, 09:55 AM
Last Post: jyotib2610
  Inverted Index thewal 0 1,341 Feb-10-2022, 03:54 PM
Last Post: thewal
  IndexError: index 0 is out of bounds for axis 0 with size 0 atomxkai 2 5,497 Mar-03-2021, 08:26 AM
Last Post: atomxkai
  [split] Getting Index Error - list index out of range krishna 2 2,624 Jan-09-2021, 08:29 AM
Last Post: buran
  Interpolating DataFrame method=‘index’ help tlewick1 1 1,864 Oct-22-2020, 12:48 AM
Last Post: scidam
  Cycle through Numpy range within another range(?) Zero01 0 2,025 Jul-31-2020, 02:37 PM
Last Post: Zero01

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020