Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Object not Subscriptable
Help post:
How do you select the second or third element with the same class name while using selenium?
For instance,

Output: TypeError: ‘WebElement’ object is not subscriptable
Have you looked at the docs? The methods for finding that return multiple elements have "element" as plural (i.e. find_elements_by_class_name for you).

Top Page

Forum Jump:

Users browsing this thread: 1 Guest(s)