Consider using Cuprite instead of Selenium/Webdriver
Cuprite looks promising:
https://github.com/machinio/cuprite