In Selenium, we have various ways to extract text content of an element. We can use the getText() or the getAttribute(String attrName) methods.
Software Engineer @HCL Technologies
I am a software engineer with interest in Automated testing. I am here to share my learning experiences.
Markdown supported · ⌘↵ to post
No responses yet.