private void ClickSubmitButton() { ((IJavaScriptExecutor)_driver).ExecuteScript("arguments[0].click();", SubmitButton); } }