{"issue":{"state":"open","created_at":"2011-11-21T15:45:29Z","updated_at":"2011-11-22T18:00:10Z","comments":5,"user":{"gravatar_id":"0dd5f7c02f461eee3d66217b05a4972e","id":1090569,"url":"https://api.github.com/users/rkaiser0324","login":"rkaiser0324","avatar_url":"https://secure.gravatar.com/avatar/0dd5f7c02f461eee3d66217b05a4972e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"The curl function in WebDriverBase.php has this code:\r\n\r\n    foreach ($extra_opts as $option => $value) {\r\n      curl_setopt($curl, $option, $value);\r\n    }\r\n\r\nIt 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:\r\n\r\n$session->open(\"http://www.foo.com\");\r\n\r\nI don't see how to add extra curl options for that call.\r\n\r\nPerhaps 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.","assignee":null,"id":2305881,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":8,"title":"per-method curl options","html_url":"https://github.com/facebook/php-webdriver/issues/8","closed_at":null,"url":"https://api.github.com/repos/facebook/php-webdriver/issues/8","milestone":null},"action":"created","comment":{"created_at":"2011-11-22T18:00:10Z","updated_at":"2011-11-22T18:00:10Z","user":{"gravatar_id":"a03752edeee1c5d6310ab73d4361644d","id":13165,"url":"https://api.github.com/users/jubishop","login":"jubishop","avatar_url":"https://secure.gravatar.com/avatar/a03752edeee1c5d6310ab73d4361644d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"yeah a verbose=true sort of flag.","id":2837761,"url":"https://api.github.com/repos/facebook/php-webdriver/issues/comments/2837761"}}