Use phantomjs to open the page.
Save it as a local file using phantomjs File System Module Api.
Later use this local file handle to create BeautifulSoup object and then parse the page.
See http://www.kochi-coders.com/2014/05/06/scraping-a-javascript-enabled-web-page-using-beautiful-soup-and-phantomjs/