2

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

Andrew F.
  • 57
  • 2
  • 11
  • 1
    Those 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 Answers1

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
Community
  • 1
  • 1
Nerlog
  • 261
  • 1
  • 5