This repository was archived by the owner on Mar 4, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff 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
5765Make 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
You can’t perform that action at this time.
0 commit comments