Comments (2)
I succeeded to start Chrome with my profile:
$driver = new PHPWebDriver_WebDriver();
$arr = array('--user-data-dir=' . dirname(__FILE__) . '/chrome_profile', '--start-maximized');
$session = $driver->session('chrome', array('chromeOptions' => array('args' => list($a, $b) = $arr)));
$session->open("google.com");
If there is some other way please add it here.
PS. this webdriver is perfect, smaller and much easier to use than the facebook webdriver.
Shame it's not so well documented as other webdrivers.
from php-webdriver.
Shame it's not so well documented as other webdrivers.
That can be unfortunate. But FYI, it appears this project/repo forked from FB original, retains the public wiki the original has. The wiki (of the original) contains pages that pseudo serve as documentation and usage examples - posted by the developer and various contributors (including myself)
Any competent and altruistic user/contributor to this forked driver can add/update the documentation of the wiki of this project. ;-)
I haven't gone through the wiki in detail nor have I used this forked driver, but I'm assuming the wiki is likely out of date, with the info referring to the original FB one, not the fork.
from php-webdriver.
Related Issues (20)
- Formatter maybe?
- The next action is run before the page is loaded HOT 1
- AJAX loading of the page HOT 2
- Selenium returns null ({"ELEMENT":"0"}) on my every element finding attempts.
- php-webdriver 1.12.0 broken when using chromedriver v2.3 directly
- Incorrectly constructs URLs (two session IDs in the call)
- Click() Acting differently to ClickAndHold()/Release()
- Depreciated Warning issued for SendKeys HOT 1
- Exception Handling and Logging
- Opening Session with Grid2
- PEAR install returns no releases for packages
- User Agent HOT 1
- Add 'log' command to support logging API
- Why not connect 'SaunterPHP_Framework_Exception'
- Please tell me how to set the parameters about:config
- Htmlunit error
- No way to get page title?
- How to catch Exceptions? HOT 1
- How to execute javascript code? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-webdriver.