Giter Club home page Giter Club logo

Comments (2)

Te-zz-trapak avatar Te-zz-trapak commented on July 20, 2024

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.

daluu avatar daluu commented on July 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.