add choice between Selenium and Webkit