From ee07139f460ceced38f3556645907242abb3961b Mon Sep 17 00:00:00 2001 From: Didier Ungar Date: Wed, 28 Mar 2018 15:04:19 +0200 Subject: [PATCH] Update README.md Small doc fix --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index bc50f8af9..299598acc 100644 --- a/README.md +++ b/README.md @@ -267,25 +267,25 @@ $element = $session->element(PHPWebDriver_WebDriverBy::ID, $value); * To configure implicit waits (in seconds) - $this->$session->implicitlyWait(3); + $this->session->implicitlyWait(3); * To disable implicit waits - $this->$session->implicitlyWait(0); + $this->session->implicitlyWait(0); * How long to wait for an execute or execute_async to (in seconds) - $this->$session->setScriptTimeout(3); + $this->session->setScriptTimeout(3); * How long to wait page loads to complete (in seconds) - $this->$session->setPageLoadTimeout(3); + $this->session->setPageLoadTimeout(3); * How to set the above timeouts directly. Don't do this unless you really need ms granularity - $this->$session->setTimeouts(array('type' => 'implicit', 'ms' => 5)); - $this->$session->setTimeouts(array('type' => 'script', 'ms' => 5)); - $this->$session->setTimeouts(array('type' => 'page load', 'ms' => 5)); + $this->session->setTimeouts(array('type' => 'implicit', 'ms' => 5)); + $this->session->setTimeouts(array('type' => 'script', 'ms' => 5)); + $this->session->setTimeouts(array('type' => 'page load', 'ms' => 5)); ## Interacting with elements @@ -370,7 +370,7 @@ $element = $session->element(PHPWebDriver_WebDriverBy::ID, $value); ## Profiles -* To send a Firefox profile over the wire to a remote Se server. It is up to you to configure it how you want. +* To send a Firefox profile over the wire to a remote The server. It is up to you to configure it how you want. ```php $driver = new PHPWebDriver_WebDriver();