diff --git a/website_and_docs/content/documentation/webdriver/elements/information.en.md b/website_and_docs/content/documentation/webdriver/elements/information.en.md index 76203a7c8728..ddd0eaef0721 100644 --- a/website_and_docs/content/documentation/webdriver/elements/information.en.md +++ b/website_and_docs/content/documentation/webdriver/elements/information.en.md @@ -44,7 +44,7 @@ is_button_visible = driver.find_element(By.CSS_SELECTOR, "[name='login']").is_di driver.Navigate().GoToUrl("https://google.com/"); // Get bool value for is element displayed -bool displayedLogo = driver.FindElement(By.CssSelector("img[alt='Google']").Displayed; +bool displayedLogo = driver.FindElement(By.CssSelector("img[alt='Google']")).Displayed; {{< /tab >}} {{< tab header="Ruby" >}} # Help us with a PR for code sample diff --git a/website_and_docs/content/documentation/webdriver/elements/information.ja.md b/website_and_docs/content/documentation/webdriver/elements/information.ja.md index 3b7babb39a7b..a3cdbaa3e50a 100644 --- a/website_and_docs/content/documentation/webdriver/elements/information.ja.md +++ b/website_and_docs/content/documentation/webdriver/elements/information.ja.md @@ -44,7 +44,7 @@ is_button_visible = driver.find_element(By.CSS_SELECTOR, "[name='login']").is_di driver.Navigate().GoToUrl("https://google.com/"); // Get bool value for is element displayed -bool displayedLogo = driver.FindElement(By.CssSelector("img[alt='Google']").Displayed; +bool displayedLogo = driver.FindElement(By.CssSelector("img[alt='Google']")).Displayed; {{< /tab >}} {{< tab header="Ruby" >}} # Help us with a PR for code sample diff --git a/website_and_docs/content/documentation/webdriver/elements/information.pt-br.md b/website_and_docs/content/documentation/webdriver/elements/information.pt-br.md index 8e52b6d3bea6..3d6c7320dc12 100644 --- a/website_and_docs/content/documentation/webdriver/elements/information.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/elements/information.pt-br.md @@ -45,7 +45,7 @@ is_button_visible = driver.find_element(By.CSS_SELECTOR, "[name='login']").is_di driver.Navigate().GoToUrl("https://google.com/"); // Get bool value for is element displayed -bool displayedLogo = driver.FindElement(By.CssSelector("img[alt='Google']").Displayed; +bool displayedLogo = driver.FindElement(By.CssSelector("img[alt='Google']")).Displayed; {{< /tab >}} {{< tab header="Ruby" >}} # Help us with a PR for code sample diff --git a/website_and_docs/content/documentation/webdriver/elements/information.zh-cn.md b/website_and_docs/content/documentation/webdriver/elements/information.zh-cn.md index c5aca581551c..e25ab058b97e 100644 --- a/website_and_docs/content/documentation/webdriver/elements/information.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/elements/information.zh-cn.md @@ -44,7 +44,7 @@ is_button_visible = driver.find_element(By.CSS_SELECTOR, "[name='login']").is_di driver.Navigate().GoToUrl("https://google.com/"); // Get bool value for is element displayed -bool displayedLogo = driver.FindElement(By.CssSelector("img[alt='Google']").Displayed; +bool displayedLogo = driver.FindElement(By.CssSelector("img[alt='Google']")).Displayed; {{< /tab >}} {{< tab header="Ruby" >}} # Help us with a PR for code sample