From 977ed69d66767ef89476dd38765b0de79140a36b Mon Sep 17 00:00:00 2001 From: ShamarYarde Date: Mon, 18 Dec 2023 13:13:55 -0400 Subject: [PATCH] formatted code Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .../your_own_automation_environment/index.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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); });