File tree 1 file changed +5
-2
lines changed
docs_source_files/content/webdriver
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -246,6 +246,7 @@ assert el.text == "Hello from JavaScript!"
246
246
.Until(drv => drv.FindElement(By.Name("q")));
247
247
Debug.Assert(foo.Text.Equals("Hello from JavaScript!"));
248
248
}
249
+ {{< / code-panel >}}
249
250
{{< code-panel language="ruby" >}}
250
251
# We don't have a Ruby code sample yet - Help us out and raise a PR
251
252
{{< / code-panel >}}
@@ -299,7 +300,8 @@ new WebDriverWait(driver, 3).until(ExpectedConditions.elementToBeClickable(By.xp
299
300
WebDriverWait(driver, timeout=3).until(some_condition)
300
301
{{< / code-panel >}}
301
302
{{< code-panel language="csharp" >}}
302
- new WebDriverWait(driver, TimeSpan.FromSeconds(3)).Until(ExpectedConditions.ElementToBeClickable(By.XPath("//a/h3"))); {{< / code-panel >}}
303
+ new WebDriverWait(driver, TimeSpan.FromSeconds(3)).Until(ExpectedConditions.ElementToBeClickable(By.XPath("//a/h3")));
304
+ {{< / code-panel >}}
303
305
{{< code-panel language="ruby" >}}
304
306
wait = Selenium::WebDriver::Wait.new(: timeout => 10)
305
307
@@ -460,7 +462,8 @@ using (var driver = new FirefoxDriver())
460
462
wait.IgnoreExceptionTypes(typeof(NoSuchElementException));
461
463
462
464
var foo = wait.Until(drv => drv.FindElement(By.Id("foo")));
463
- } {{< / code-panel >}}
465
+ }
466
+ {{< / code-panel >}}
464
467
{{< code-panel language="ruby" >}}
465
468
# We don't have a Ruby code sample yet - Help us out and raise a PR
466
469
{{< / code-panel >}}
You can’t perform that action at this time.
0 commit comments