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
No description
No description
2 Replies
JavaBot
JavaBot3mo ago
This post has been reserved for your question.
Hey @RickyB0bby! Please use /close or the Close 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.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
JavaBot
JavaBot3mo ago
Post Closed
This post has been closed by <@1177878762004680726>.

Did you find this page helpful?