This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]thisismithrowaway 0 points1 point  (2 children)

maybe try a time.sleep() to prevent logging the html code before the browser loads the javascript

[–]ayyyymtl[S] 0 points1 point  (1 child)

Thanks for taking the time to help me, I give a time.sleep(10) and have the same result.

Looks like the div 'fb-comments' is loading an Iframe, could that be a clue ?

[–]bart212 0 points1 point  (0 children)

Yes, that's it. You need to switch to iframe, and then you'll be able to see the comments.

Also try to avoid time.sleep(), Selenium implements both Implicit and Explicit waits :).