Selenium web driver implementation based on json wire protocol