30.11.2017 - An easy way to deal with this problem is to use Selenium web browser, which can be controlled with python. That way, it will work just as your .