Good afternoon. I want to get a list of artists on Deezer.com But only I get the first results. But the artists more if the page to scroll down - they appear. How, then, to get the whole list? thanks in advance
1 Answer
Selenium IWebElement.Text will be empty for not visible elements, this is how it works.
You have two options with Selenium -
- Scroll the page down via Actions or JavaScript
- Get inner text or html of an element via JavaScript