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

1
  • 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. Commented Mar 3, 2017 at 9:15

1 Answer 1

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
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.