Something like this can extract post info from the React State of the profile page. It was enough for me and significantly increase speed since you don't need to open each page. Hope, someone will find it helpful.
JSGetPostsFromReact = """
var feed = document.getElementsByTagName('article')[0];
var __reactInternalInstanceKey = Object.keys(feed).filter(k=>k.startsWith('__reactInternalInstance'))[0]
var posts = feed[__reactInternalInstanceKey].return.stateNode.state.combinedPosts
return posts;
"""
js_posts = browser.execute_script(JSGetPostsFromReact)
Something like this can extract post info from the React State of the profile page. It was enough for me and significantly increase speed since you don't need to open each page. Hope, someone will find it helpful.
Example of data: