Fix and feature

First commit fixed problems with using remote webdriver.

Second commit provides more flexibility when integrating with pytest (I have a pytest.bdd extension in the works...)