fixing recorded java webdriver commands.