You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to log into my google+ account and do some operations. The dashboard is made of two main iframes, one of which contains the elements I need to scrape. This is my code so far:
# ...
# [login ok, dashboard loaded]
# ...
# count frames in dashboard: I need frames[1]
frames = ghost.main_frame.childFrames()
print '{} frames found: {}'.format(len(frames), [str(frame.frameName()) for frame in frames])
frame = frames[1]
# change iframe
ghost.descend_frame(frame.frameName())
print 'descended to {}'.format(frame.frameName())
ghost.wait_for_page_loaded() # timeout!
Unfortunately wait_for_page_loaded() throws a TimeoutError. I also found that the iframe contains no useful HTML, just Javascript source code:
Hi guys,
I'm trying to log into my google+ account and do some operations. The dashboard is made of two main iframes, one of which contains the elements I need to scrape. This is my code so far:
Unfortunately wait_for_page_loaded() throws a TimeoutError. I also found that the iframe contains no useful HTML, just Javascript source code:
Any suggestions?
The text was updated successfully, but these errors were encountered: