Headless browser for Python with multithreading, javascript, and Windows support
Headless browser for Python with multithreading, javascript, and Windows support selenium
selenium
I've had good success using Phantom JS by having Python generate the Javascript for Phantom to execute. It now also has an interactive REPL, so you should be able to use Python to drive the REPL.