Doing By.tagName("body")
(or some other selector to select the top element), then performing getText()
on that element will return all of the visible text.
Doing By.tagName("body")
(or some other selector to select the top element), then performing getText()
on that element will return all of the visible text.