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

Commit bc08cfa

Browse files
committed
Suggest Chrome on the first place in readme
1 parent d4d655e commit bc08cfa

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,14 @@ Then when you create a session, be sure to pass the url to where your server is
5252
$host = 'http://localhost:4444/wd/hub'; // this is the default
5353
```
5454

55+
##### Launch Chrome
56+
57+
Make sure to have latest Chrome and [Chromedriver](https://sites.google.com/a/chromium.org/chromedriver/downloads) installed.
58+
59+
```php
60+
$driver = RemoteWebDriver::create($host, DesiredCapabilities::chrome());
61+
```
62+
5563
##### Launch Firefox
5664

5765
Make sure to have latest Firefox and [Geckodriver](https://github.com/mozilla/geckodriver/releases) installed.
@@ -67,14 +75,6 @@ Now you can start Firefox from your code:
6775
$driver = RemoteWebDriver::create($host, DesiredCapabilities::firefox());
6876
```
6977

70-
##### Launch Chrome
71-
72-
Make sure to have latest Chrome and [Chromedriver](https://sites.google.com/a/chromium.org/chromedriver/downloads) installed.
73-
74-
```php
75-
$driver = RemoteWebDriver::create($host, DesiredCapabilities::chrome());
76-
```
77-
7878
##### You can also customize the desired capabilities
7979

8080
```php

0 commit comments

Comments
 (0)