From 58e63fd3736f73f1837cdfee55911098cd82c90e Mon Sep 17 00:00:00 2001 From: NILID Date: Sun, 21 Nov 2021 00:46:00 +0300 Subject: [PATCH] Added missing point --- _guides/waiting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_guides/waiting.md b/_guides/waiting.md index 8d5807ad..9d72945a 100644 --- a/_guides/waiting.md +++ b/_guides/waiting.md @@ -67,7 +67,7 @@ condition needs to be met. `#wait_until` will execute the block until a truthy r {% highlight ruby %} browser.wait_until { |b| b.title == "Foo" } -browser.window(title: "Foo")wait_while(&:exists?) +browser.window(title: "Foo").wait_while(&:exists?) browser.alert.wait_until { |a| a.text == "foo" } browser.button(name: 'submit').wait_until(&:enabled?) {% endhighlight %}