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
Asked
Active
Viewed 97 times
2
-
1Those are most likely added dynamically via AJAX. Simply recheck the page periodically using a timer/sleep. There might/should be an existing answer. – wOxxOm Mar 03 '17 at 09:15
1 Answers
0
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