From 333319d786b8c0bd831657fe0de074d28c3d204f Mon Sep 17 00:00:00 2001 From: soulgalore Date: Thu, 12 Jan 2017 23:18:11 +0100 Subject: [PATCH] use click instead of submit to work in modern Firefox --- docs/documentation/sitespeed.io/prepostscript/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/documentation/sitespeed.io/prepostscript/index.md b/docs/documentation/sitespeed.io/prepostscript/index.md index d0d6f49d0f..abc19b7cf9 100644 --- a/docs/documentation/sitespeed.io/prepostscript/index.md +++ b/docs/documentation/sitespeed.io/prepostscript/index.md @@ -45,7 +45,7 @@ module.exports = { loginInput.sendKeys(userName); var passwordInput = driver.findElement(webdriver.By.id('wpPassword1')); passwordInput.sendKeys(password); - loginForm.submit(); + loginForm.click(); }); }) }