Selenium + PhantomJS is a combination that allows browser automation / webscraping from a notebook running on kaggle. Check: selenium-on-kaggle notebook