diff --git a/files/en-us/learn/tools_and_testing/cross_browser_testing/your_own_automation_environment/index.md b/files/en-us/learn/tools_and_testing/cross_browser_testing/your_own_automation_environment/index.md index 292dc956ab868bb..f70ea039b365375 100644 --- a/files/en-us/learn/tools_and_testing/cross_browser_testing/your_own_automation_environment/index.md +++ b/files/en-us/learn/tools_and_testing/cross_browser_testing/your_own_automation_environment/index.md @@ -449,11 +449,11 @@ Let's write an example: .then(function () { driver.getTitle().then((title) => { setTimeout(() => { - if (title === "LambdaTest - Google Search") { - driver.executeScript("lambda-status=passed"); - } else { - driver.executeScript("lambda-status=failed"); - } + if (title === "LambdaTest - Google Search") { + driver.executeScript("lambda-status=passed"); + } else { + driver.executeScript("lambda-status=failed"); + } driver.quit(); }, 5000); });