Skip to content

Commit 9968c3f

Browse files
committed
More updates to readme
Mostly links cleanup
1 parent ff953a4 commit 9968c3f

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@ php-webdriver -- A very thin wrapper of WebDriver
55

66
This client aims to be as thin as possible, abusing the dynamic nature of PHP to allow almost all API calls to be a direct transformation of what is defined in the WebDriver protocol itself.
77

8-
Most clients require you to first read the protocol to see what's possible, then study the client itself to see how to call it. This hopes to eliminate the latter step, and invites you to rely almost exclusively on http://code.google.com/p/selenium/wiki/JsonWireProtocol
8+
Most clients require you to first read the protocol to see what's possible, then study the client itself to see how to call it. This hopes to eliminate the latter step, and invites you to rely almost exclusively on the [Selenium JSON Wire Protocol](http://code.google.com/p/selenium/wiki/JsonWireProtocol).
99

10-
Each command is just the name of a function call, and each additional path is just another chained function call. The function parameter is then either an array() if the command takes JSON parameters, or an individual primitive if it takes a URL parameter.
10+
Each command is just the name of a function call, and each additional path is just another chained function call. The function parameter is then either an `array()` if the command takes JSON parameters, or an individual primitive if it takes a URL parameter.
1111

12-
The function's return value is exactly what is returned from the server as part of the protocol definition. If an error is returned, the function will throw the appropriate WebDriverException instance.
12+
The function's return value is exactly what is returned from the server as part of the protocol definition. If an error is returned, the function will throw the appropriate `WebDriverException` instance.
1313

14-
Note - This is a maintained clone of https://github.com/facebook/php-webdriver with following differences
14+
Note - This is a maintained clone of [facebook/php-webdriver](https://github.com/facebook/php-webdriver) with following differences:
1515

1616
* Class names being slightly different for packaging within PEAR
1717
* Implementation of WebDriverWait
1818

1919
## RELEASE NOTES
2020

21-
What got added, what got removed and what got fixed is listed in the (Release Notes)[https://github.com/Element-34/php-webdriver/wiki/Release-Notes]. Well, to varying degrees of detail at any rate.
21+
What got added, what got removed and what got fixed is listed in the [Release Notes](https://github.com/Element-34/php-webdriver/wiki/Release-Notes). Well, to varying degrees of detail at any rate.
2222

2323
## GETTING STARTED
2424

@@ -35,7 +35,7 @@ Note: if you recieve a 404 during the channel-discover set, check that you are u
3535
pear upgrade pear
3636
```
3737

38-
* All you need as the server for this client is the selenium-server-standalone-#.jar file provided here: http://code.google.com/p/selenium/downloads/list
38+
* All you need as the server for this client is the [selenium-server-standalone-#.jar](http://code.google.com/p/selenium/downloads/list).
3939

4040
* Download and run that file, replacing # with the current server version.
4141

@@ -69,7 +69,7 @@ $session = $web_driver->session('firefox');
6969

7070
## SIMPLE EXAMPLES
7171

72-
### Note that all of these match the Protocol exactly
72+
### Note that all of these match the [protocol](http://code.google.com/p/selenium/wiki/JsonWireProtocol) exactly
7373
* Move to a specific spot on the screen
7474

7575
// POST /session/:sessionId/moveto
@@ -90,7 +90,7 @@ $session = $web_driver->session('firefox');
9090
// POST session/:sessionId/element/:id/click
9191
$session->element($using, $value)->click("")
9292
93-
* Doubleclick an element on a touch screen
93+
* Double-click an element on a touch screen
9494

9595
// POST session/:sessionId/touch/doubleclick
9696
$session->touch()->doubleclick(array('element' => $element->getID())
@@ -132,7 +132,7 @@ $session = $web_driver->session('firefox');
132132
// GET /session/:sessionId/window/:windowHandle/size
133133
$session->window()->size();
134134

135-
## Some unavoidable exceptions to direct protocol translation.
135+
## Some unavoidable exceptions to direct [protocol](http://code.google.com/p/selenium/wiki/JsonWireProtocol) translation.
136136

137137
* Opening pages
138138

@@ -299,7 +299,7 @@ $element = $session->element(PHPWebDriver_WebDriverBy::ID, $value);
299299
$e2 = $this->session->element(PHPWebDriver_WebDriverBy::ID, "some id");
300300
$e2->sendKeys("turtles");
301301
302-
* Sending a 'special' character (see list at https://raw.github.com/Element-34/php-webdriver/master/PHPWebDriver/WebDriverKeys.php/)
302+
* Sending a 'special' character (see list at [WebDriverKeys.php](https://raw.github.com/Element-34/php-webdriver/master/PHPWebDriver/WebDriverKeys.php/))
303303

304304
$e3 = $this->session->element(PHPWebDriver_WebDriverBy::ID, "some id");
305305
$e3->sendKeys(PHPWebDriver_WebDriverKeys::SpaceKey());
@@ -363,7 +363,7 @@ $element = $session->element(PHPWebDriver_WebDriverBy::ID, $value);
363363

364364
$p->dismiss();
365365

366-
* set some text on a prompt (doing this on an alert will throw PHPWebDriver_ElementNotDisplayedWebDriverError)
366+
* set some text on a prompt (doing this on an alert will throw `PHPWebDriver_ElementNotDisplayedWebDriverError`)
367367

368368
$p->sendKeys('cheese');
369369
$p->accept();

0 commit comments

Comments
 (0)