You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 4, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+29-18Lines changed: 29 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -19,48 +19,59 @@ Any complaint, question, idea? You can post it on the user group https://www.fac
19
19
### Packagist
20
20
Add the dependency. https://packagist.org/packages/facebook/webdriver
21
21
22
-
{
23
-
"require": {
24
-
"facebook/webdriver": "~1.0"
25
-
}
26
-
}
27
-
22
+
```json
23
+
{
24
+
"require": {
25
+
"facebook/webdriver": "~1.0"
26
+
}
27
+
}
28
+
```
29
+
28
30
Download the composer.phar
29
31
30
32
curl -sS https://getcomposer.org/installer | php
31
33
32
34
Install the library.
33
35
34
36
php composer.phar install
35
-
36
-
37
+
37
38
38
39
## GETTING STARTED
39
40
40
41
* All you need as the server for this client is the selenium-server-standalone-#.jar file provided here: http://selenium-release.storage.googleapis.com/index.html
41
42
42
43
* Download and run that file, replacing # with the current server version.
43
44
44
-
java -jar selenium-server-standalone-#.jar
45
+
```
46
+
java -jar selenium-server-standalone-#.jar
47
+
```
45
48
46
49
* Then when you create a session, be sure to pass the url to where your server is running.
47
50
48
-
// This would be the url of the host running the server-standalone.jar
49
-
$host = 'http://localhost:4444/wd/hub'; // this is the default
51
+
```php
52
+
// This would be the url of the host running the server-standalone.jar
53
+
$host = 'http://localhost:4444/wd/hub'; // this is the default
0 commit comments