{"action":"created","comment":{"url":"https://api.github.com/repos/davehunt/pytest-selenium/pulls/comments/32529455","id":32529455,"diff_hunk":"@@ -207,59 +200,32 @@ def pytest_addoption(parser):\n                      metavar='str',\n                      help='additional capability to set in format '\n                           '\"name:value\".')\n-    group._addoption('--chromepath',\n+    group._addoption('--driver-path',\n                      action='store',\n-                     dest='chrome_path',\n+                     dest='driver_path',\n                      metavar='path',\n-                     help='path to the google chrome driver executable.')\n-    group._addoption('--firefoxpath',\n-                     action='store',\n-                     dest='firefox_path',\n-                     metavar='path',\n-                     help='path to the target firefox binary.')\n-    group._addoption('--firefoxpref',\n+                     help='path to the driver.')\n+    group._addoption('--firefox-pref',\n                      action='append',\n                      dest='firefox_preferences',\n                      metavar='str',\n                      help='firefox preference name and value to set in format '\n                           '\"name:value\".')\n-    group._addoption('--profilepath',\n+    group._addoption('--firefox-profile',\n                      action='store',\n                      dest='profile_path',\n                      metavar='str',\n                      help='path to the firefox profile to use.')\n-    group._addoption('--extension',\n+    group._addoption('--browser_extension',\n                      action='append',\n                      dest='extension_paths',\n                      metavar='str',\n                      help='path to browser extension to install.')\n-    group._addoption('--chromeopts',\n-                     action='store',\n-                     dest='chrome_options',\n-                     metavar='str',\n-                     help='json string of google chrome options to set.')\n-    group._addoption('--operapath',\n-                     action='store',\n-                     dest='opera_path',\n-                     metavar='path',\n-                     help='path to the opera driver.')\n-    group._addoption('--browsername',\n-                     action='store',\n-                     dest='browser_name',\n-                     default=os.environ.get('SELENIUM_BROWSER'),\n-                     metavar='str',\n-                     help='target browser name (default: %default).')\n-    group._addoption('--browserver',\n-                     action='store',\n-                     dest='browser_version',\n-                     default=os.environ.get('SELENIUM_VERSION'),\n-                     metavar='str',\n-                     help='target browser version (default: %default).')\n-    group._addoption('--platform',\n-                     action='store',\n-                     default=os.environ.get('SELENIUM_PLATFORM'),\n+    group._addoption('--chrome-option',\n+                     action='append',\n+                     dest='chrome_option',\n                      metavar='str',\n-                     help='target platform (default: %default).')\n+                     help='google chrome option to set.')","path":"pytest_selenium/pytest_selenium.py","position":113,"original_position":113,"commit_id":"628a041f4c9420f9d2ad6912610e77db2e487fa6","original_commit_id":"628a041f4c9420f9d2ad6912610e77db2e487fa6","user":{"login":"davehunt","id":122800,"avatar_url":"https://avatars.githubusercontent.com/u/122800?v=3","gravatar_id":"","url":"https://api.github.com/users/davehunt","html_url":"https://github.com/davehunt","followers_url":"https://api.github.com/users/davehunt/followers","following_url":"https://api.github.com/users/davehunt/following{/other_user}","gists_url":"https://api.github.com/users/davehunt/gists{/gist_id}","starred_url":"https://api.github.com/users/davehunt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davehunt/subscriptions","organizations_url":"https://api.github.com/users/davehunt/orgs","repos_url":"https://api.github.com/users/davehunt/repos","events_url":"https://api.github.com/users/davehunt/events{/privacy}","received_events_url":"https://api.github.com/users/davehunt/received_events","type":"User","site_admin":false},"body":"add `in format \"name:value\"` to the help text.","created_at":"2015-06-16T14:58:11Z","updated_at":"2015-06-16T14:58:11Z","html_url":"https://github.com/davehunt/pytest-selenium/pull/11#discussion_r32529455","pull_request_url":"https://api.github.com/repos/davehunt/pytest-selenium/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/davehunt/pytest-selenium/pulls/comments/32529455"},"html":{"href":"https://github.com/davehunt/pytest-selenium/pull/11#discussion_r32529455"},"pull_request":{"href":"https://api.github.com/repos/davehunt/pytest-selenium/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/davehunt/pytest-selenium/pulls/11","id":37587329,"html_url":"https://github.com/davehunt/pytest-selenium/pull/11","diff_url":"https://github.com/davehunt/pytest-selenium/pull/11.diff","patch_url":"https://github.com/davehunt/pytest-selenium/pull/11.patch","issue_url":"https://api.github.com/repos/davehunt/pytest-selenium/issues/11","number":11,"state":"open","locked":false,"title":"Updated command line options","user":{"login":"justinpotts","id":2042849,"avatar_url":"https://avatars.githubusercontent.com/u/2042849?v=3","gravatar_id":"","url":"https://api.github.com/users/justinpotts","html_url":"https://github.com/justinpotts","followers_url":"https://api.github.com/users/justinpotts/followers","following_url":"https://api.github.com/users/justinpotts/following{/other_user}","gists_url":"https://api.github.com/users/justinpotts/gists{/gist_id}","starred_url":"https://api.github.com/users/justinpotts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinpotts/subscriptions","organizations_url":"https://api.github.com/users/justinpotts/orgs","repos_url":"https://api.github.com/users/justinpotts/repos","events_url":"https://api.github.com/users/justinpotts/events{/privacy}","received_events_url":"https://api.github.com/users/justinpotts/received_events","type":"User","site_admin":false},"body":"Issue #5 ","created_at":"2015-06-12T17:44:03Z","updated_at":"2015-06-16T14:58:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2c7a2c8efcb9665d19190e2ade304f750120b1a2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/davehunt/pytest-selenium/pulls/11/commits","review_comments_url":"https://api.github.com/repos/davehunt/pytest-selenium/pulls/11/comments","review_comment_url":"https://api.github.com/repos/davehunt/pytest-selenium/pulls/comments{/number}","comments_url":"https://api.github.com/repos/davehunt/pytest-selenium/issues/11/comments","statuses_url":"https://api.github.com/repos/davehunt/pytest-selenium/statuses/628a041f4c9420f9d2ad6912610e77db2e487fa6","head":{"label":"justinpotts:comline_options","ref":"comline_options","sha":"628a041f4c9420f9d2ad6912610e77db2e487fa6","user":{"login":"justinpotts","id":2042849,"avatar_url":"https://avatars.githubusercontent.com/u/2042849?v=3","gravatar_id":"","url":"https://api.github.com/users/justinpotts","html_url":"https://github.com/justinpotts","followers_url":"https://api.github.com/users/justinpotts/followers","following_url":"https://api.github.com/users/justinpotts/following{/other_user}","gists_url":"https://api.github.com/users/justinpotts/gists{/gist_id}","starred_url":"https://api.github.com/users/justinpotts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinpotts/subscriptions","organizations_url":"https://api.github.com/users/justinpotts/orgs","repos_url":"https://api.github.com/users/justinpotts/repos","events_url":"https://api.github.com/users/justinpotts/events{/privacy}","received_events_url":"https://api.github.com/users/justinpotts/received_events","type":"User","site_admin":false},"repo":{"id":37279795,"name":"pytest-selenium","full_name":"justinpotts/pytest-selenium","owner":{"login":"justinpotts","id":2042849,"avatar_url":"https://avatars.githubusercontent.com/u/2042849?v=3","gravatar_id":"","url":"https://api.github.com/users/justinpotts","html_url":"https://github.com/justinpotts","followers_url":"https://api.github.com/users/justinpotts/followers","following_url":"https://api.github.com/users/justinpotts/following{/other_user}","gists_url":"https://api.github.com/users/justinpotts/gists{/gist_id}","starred_url":"https://api.github.com/users/justinpotts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinpotts/subscriptions","organizations_url":"https://api.github.com/users/justinpotts/orgs","repos_url":"https://api.github.com/users/justinpotts/repos","events_url":"https://api.github.com/users/justinpotts/events{/privacy}","received_events_url":"https://api.github.com/users/justinpotts/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/justinpotts/pytest-selenium","description":"Plugin for running Selenium with py.test","fork":true,"url":"https://api.github.com/repos/justinpotts/pytest-selenium","forks_url":"https://api.github.com/repos/justinpotts/pytest-selenium/forks","keys_url":"https://api.github.com/repos/justinpotts/pytest-selenium/keys{/key_id}","collaborators_url":"https://api.github.com/repos/justinpotts/pytest-selenium/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/justinpotts/pytest-selenium/teams","hooks_url":"https://api.github.com/repos/justinpotts/pytest-selenium/hooks","issue_events_url":"https://api.github.com/repos/justinpotts/pytest-selenium/issues/events{/number}","events_url":"https://api.github.com/repos/justinpotts/pytest-selenium/events","assignees_url":"https://api.github.com/repos/justinpotts/pytest-selenium/assignees{/user}","branches_url":"https://api.github.com/repos/justinpotts/pytest-selenium/branches{/branch}","tags_url":"https://api.github.com/repos/justinpotts/pytest-selenium/tags","blobs_url":"https://api.github.com/repos/justinpotts/pytest-selenium/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/justinpotts/pytest-selenium/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/justinpotts/pytest-selenium/git/refs{/sha}","trees_url":"https://api.github.com/repos/justinpotts/pytest-selenium/git/trees{/sha}","statuses_url":"https://api.github.com/repos/justinpotts/pytest-selenium/statuses/{sha}","languages_url":"https://api.github.com/repos/justinpotts/pytest-selenium/languages","stargazers_url":"https://api.github.com/repos/justinpotts/pytest-selenium/stargazers","contributors_url":"https://api.github.com/repos/justinpotts/pytest-selenium/contributors","subscribers_url":"https://api.github.com/repos/justinpotts/pytest-selenium/subscribers","subscription_url":"https://api.github.com/repos/justinpotts/pytest-selenium/subscription","commits_url":"https://api.github.com/repos/justinpotts/pytest-selenium/commits{/sha}","git_commits_url":"https://api.github.com/repos/justinpotts/pytest-selenium/git/commits{/sha}","comments_url":"https://api.github.com/repos/justinpotts/pytest-selenium/comments{/number}","issue_comment_url":"https://api.github.com/repos/justinpotts/pytest-selenium/issues/comments{/number}","contents_url":"https://api.github.com/repos/justinpotts/pytest-selenium/contents/{+path}","compare_url":"https://api.github.com/repos/justinpotts/pytest-selenium/compare/{base}...{head}","merges_url":"https://api.github.com/repos/justinpotts/pytest-selenium/merges","archive_url":"https://api.github.com/repos/justinpotts/pytest-selenium/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/justinpotts/pytest-selenium/downloads","issues_url":"https://api.github.com/repos/justinpotts/pytest-selenium/issues{/number}","pulls_url":"https://api.github.com/repos/justinpotts/pytest-selenium/pulls{/number}","milestones_url":"https://api.github.com/repos/justinpotts/pytest-selenium/milestones{/number}","notifications_url":"https://api.github.com/repos/justinpotts/pytest-selenium/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/justinpotts/pytest-selenium/labels{/name}","releases_url":"https://api.github.com/repos/justinpotts/pytest-selenium/releases{/id}","created_at":"2015-06-11T18:51:29Z","updated_at":"2015-06-11T18:51:30Z","pushed_at":"2015-06-12T18:21:50Z","git_url":"git://github.com/justinpotts/pytest-selenium.git","ssh_url":"git@github.com:justinpotts/pytest-selenium.git","clone_url":"https://github.com/justinpotts/pytest-selenium.git","svn_url":"https://github.com/justinpotts/pytest-selenium","homepage":null,"size":517,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"davehunt:master","ref":"master","sha":"21c3531e872f1b537304efdf504d682718388718","user":{"login":"davehunt","id":122800,"avatar_url":"https://avatars.githubusercontent.com/u/122800?v=3","gravatar_id":"","url":"https://api.github.com/users/davehunt","html_url":"https://github.com/davehunt","followers_url":"https://api.github.com/users/davehunt/followers","following_url":"https://api.github.com/users/davehunt/following{/other_user}","gists_url":"https://api.github.com/users/davehunt/gists{/gist_id}","starred_url":"https://api.github.com/users/davehunt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davehunt/subscriptions","organizations_url":"https://api.github.com/users/davehunt/orgs","repos_url":"https://api.github.com/users/davehunt/repos","events_url":"https://api.github.com/users/davehunt/events{/privacy}","received_events_url":"https://api.github.com/users/davehunt/received_events","type":"User","site_admin":false},"repo":{"id":36279339,"name":"pytest-selenium","full_name":"davehunt/pytest-selenium","owner":{"login":"davehunt","id":122800,"avatar_url":"https://avatars.githubusercontent.com/u/122800?v=3","gravatar_id":"","url":"https://api.github.com/users/davehunt","html_url":"https://github.com/davehunt","followers_url":"https://api.github.com/users/davehunt/followers","following_url":"https://api.github.com/users/davehunt/following{/other_user}","gists_url":"https://api.github.com/users/davehunt/gists{/gist_id}","starred_url":"https://api.github.com/users/davehunt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davehunt/subscriptions","organizations_url":"https://api.github.com/users/davehunt/orgs","repos_url":"https://api.github.com/users/davehunt/repos","events_url":"https://api.github.com/users/davehunt/events{/privacy}","received_events_url":"https://api.github.com/users/davehunt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/davehunt/pytest-selenium","description":"Plugin for running Selenium with py.test","fork":false,"url":"https://api.github.com/repos/davehunt/pytest-selenium","forks_url":"https://api.github.com/repos/davehunt/pytest-selenium/forks","keys_url":"https://api.github.com/repos/davehunt/pytest-selenium/keys{/key_id}","collaborators_url":"https://api.github.com/repos/davehunt/pytest-selenium/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/davehunt/pytest-selenium/teams","hooks_url":"https://api.github.com/repos/davehunt/pytest-selenium/hooks","issue_events_url":"https://api.github.com/repos/davehunt/pytest-selenium/issues/events{/number}","events_url":"https://api.github.com/repos/davehunt/pytest-selenium/events","assignees_url":"https://api.github.com/repos/davehunt/pytest-selenium/assignees{/user}","branches_url":"https://api.github.com/repos/davehunt/pytest-selenium/branches{/branch}","tags_url":"https://api.github.com/repos/davehunt/pytest-selenium/tags","blobs_url":"https://api.github.com/repos/davehunt/pytest-selenium/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/davehunt/pytest-selenium/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/davehunt/pytest-selenium/git/refs{/sha}","trees_url":"https://api.github.com/repos/davehunt/pytest-selenium/git/trees{/sha}","statuses_url":"https://api.github.com/repos/davehunt/pytest-selenium/statuses/{sha}","languages_url":"https://api.github.com/repos/davehunt/pytest-selenium/languages","stargazers_url":"https://api.github.com/repos/davehunt/pytest-selenium/stargazers","contributors_url":"https://api.github.com/repos/davehunt/pytest-selenium/contributors","subscribers_url":"https://api.github.com/repos/davehunt/pytest-selenium/subscribers","subscription_url":"https://api.github.com/repos/davehunt/pytest-selenium/subscription","commits_url":"https://api.github.com/repos/davehunt/pytest-selenium/commits{/sha}","git_commits_url":"https://api.github.com/repos/davehunt/pytest-selenium/git/commits{/sha}","comments_url":"https://api.github.com/repos/davehunt/pytest-selenium/comments{/number}","issue_comment_url":"https://api.github.com/repos/davehunt/pytest-selenium/issues/comments{/number}","contents_url":"https://api.github.com/repos/davehunt/pytest-selenium/contents/{+path}","compare_url":"https://api.github.com/repos/davehunt/pytest-selenium/compare/{base}...{head}","merges_url":"https://api.github.com/repos/davehunt/pytest-selenium/merges","archive_url":"https://api.github.com/repos/davehunt/pytest-selenium/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/davehunt/pytest-selenium/downloads","issues_url":"https://api.github.com/repos/davehunt/pytest-selenium/issues{/number}","pulls_url":"https://api.github.com/repos/davehunt/pytest-selenium/pulls{/number}","milestones_url":"https://api.github.com/repos/davehunt/pytest-selenium/milestones{/number}","notifications_url":"https://api.github.com/repos/davehunt/pytest-selenium/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/davehunt/pytest-selenium/labels{/name}","releases_url":"https://api.github.com/repos/davehunt/pytest-selenium/releases{/id}","created_at":"2015-05-26T07:27:54Z","updated_at":"2015-06-11T14:36:23Z","pushed_at":"2015-06-12T18:21:50Z","git_url":"git://github.com/davehunt/pytest-selenium.git","ssh_url":"git@github.com:davehunt/pytest-selenium.git","clone_url":"https://github.com/davehunt/pytest-selenium.git","svn_url":"https://github.com/davehunt/pytest-selenium","homepage":null,"size":517,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":10,"forks":2,"open_issues":10,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/davehunt/pytest-selenium/pulls/11"},"html":{"href":"https://github.com/davehunt/pytest-selenium/pull/11"},"issue":{"href":"https://api.github.com/repos/davehunt/pytest-selenium/issues/11"},"comments":{"href":"https://api.github.com/repos/davehunt/pytest-selenium/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/davehunt/pytest-selenium/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/davehunt/pytest-selenium/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/davehunt/pytest-selenium/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/davehunt/pytest-selenium/statuses/628a041f4c9420f9d2ad6912610e77db2e487fa6"}}}}