FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

per-method curl options · Issue #8 · php-webdriver/php-webdriver · GitHub

per-method curl options #8

Description

The curl function in WebDriverBase.php has this code:

foreach ($extra_opts as $option => $value) {
  curl_setopt($curl, $option, $value);
}

It would be nice to be able to pass $extra_opts to this function for one curl invocation but I don't see how to do this. Put another way, if I'm sending a message to selenium by making a call like:

$session->open("http://www.foo.com");

I don't see how to add extra curl options for that call.

Perhaps adding an additional argument named $extra_opts to __call in WebDriverBase.php would do it at least for the "simple" messages but I bet there are a number of ways. I'll take a crack at a patch if you're interested.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL