method .getText(); is no longer recongized after being used two lines ago
Im learning automation testing with selenium and WebDriver method .getText(); is not longer auto populating and when i type it in i get an error if i hover over the text it says ( the method getText(); is undefined for the type list <WebElement>) I have updated my browser as well as my dependencies selenium as well as testNG . I have also updated ms edge driver at this point im not sure what is wrong the code is working i have used this method several times and now it is not showing up


2 Replies
⌛
This post has been reserved for your question.
Hey @RickyB0bby! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
Post Closed
This post has been closed by <@1177878762004680726>.