From 07af41f7cb9578deb87ddc338771293f79f9fb8e Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Wed, 1 Nov 2017 13:55:50 +0000 Subject: [PATCH] Fix README code block syntax This broke syntax highligthing on GitHub --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f64c0692..ef42a252 100644 --- a/README.md +++ b/README.md @@ -549,7 +549,7 @@ If you find yourself needing to use this a lot you may be better off adding a [c ```ruby find_field('First Name'){ |el| el['data-xyz'] == '123' } find("#img_loading"){ |img| img['complete'] == true } -```` +``` **Note**: `find` will wait for an element to appear on the page, as explained in the Ajax section. If the element does not appear it will raise an error. @@ -894,7 +894,7 @@ To permanently switch the current session to a different session ```ruby Capybara.session_name = "some other session" -```` +``` ### Using sessions manually