You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @thiva7
Thanks for checking out this repo and pointing this out!
It looks like driver.find_element returns a single object of instance WebElement. To be able to index it, it needs to return a list of these objects. This is achieved by calling driver.find_elements instead (quite a subtle difference - just adding an extra "s").
I have made some updates just now and it worked for me. Please pull from main again and let me know it works on your side 😀
Hey ,
i just try it and give me this error
*** ERROR: 'WebElement' object is not subscriptable
its come from this line
'''
vote_buttons = driver.find_element(By.XPATH , "//div[@ng-click='$ctrl.vote()']")
'''
The text was updated successfully, but these errors were encountered: