Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Commit ebed69f

Browse files
committed
Fix code markdown in README
1 parent bc48fe4 commit ebed69f

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

README.md

+10-12
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,16 @@ Then install the library:
3030

3131
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
3232

33-
* Download and run that file, replacing # with the current server version.
33+
Download and run that file, replacing # with the current server version.
3434

35-
```
3635
java -jar selenium-server-standalone-#.jar
37-
```
3836

3937
Then when you create a session, be sure to pass the url to where your server is running.
4038

41-
```php
42-
// This would be the url of the host running the server-standalone.jar
43-
$host = 'http://localhost:4444/wd/hub'; // this is the default
44-
```
39+
```php
40+
// This would be the url of the host running the server-standalone.jar
41+
$host = 'http://localhost:4444/wd/hub'; // this is the default
42+
```
4543

4644
* Launch Firefox:
4745

@@ -57,11 +55,11 @@ Then when you create a session, be sure to pass the url to where your server is
5755

5856
You can also customize the desired capabilities:
5957

60-
```php
61-
$desired_capabilities = DesiredCapabilities::firefox();
62-
$desired_capabilities->setCapability('acceptSslCerts', false);
63-
$driver = RemoteWebDriver::create($host, $desired_capabilities);
64-
```
58+
```php
59+
$desired_capabilities = DesiredCapabilities::firefox();
60+
$desired_capabilities->setCapability('acceptSslCerts', false);
61+
$driver = RemoteWebDriver::create($host, $desired_capabilities);
62+
```
6563

6664
* See https://code.google.com/p/selenium/wiki/DesiredCapabilities for more details.
6765

0 commit comments

Comments
 (0)