From dc104a26acaf6cbe2d8b02938201939399660f2f Mon Sep 17 00:00:00 2001 From: Alex Ross Date: Mon, 28 Oct 2013 13:10:02 +0000 Subject: [PATCH] Add semi-colon to the Basic Browser Interaction example --- index.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/index.rst b/index.rst index d1708db..70c0e13 100644 --- a/index.rst +++ b/index.rst @@ -446,7 +446,7 @@ browser emulator with it: echo $session->getPage()->getContent(); // open another page: - $session->visit('http://my_project.dev/second_page.php') + $session->visit('http://my_project.dev/second_page.php'); // use history controls: $session->reload(); @@ -460,7 +460,8 @@ browser emulator with it: // wait for n milliseconds or // till JS expression becomes true: - $session->wait(5000, + $session->wait( + 5000, "$('.suggestions-results').children().length > 0" );