{"id":28400343,"url":"https://github.com/alykoshin/selenium-chrome-proxy-plugin","last_synced_at":"2025-06-28T09:31:59.302Z","repository":{"id":26367741,"uuid":"108531196","full_name":"alykoshin/selenium-chrome-proxy-plugin","owner":"alykoshin","description":"Chrome plugin generator for setting private proxies","archived":false,"fork":false,"pushed_at":"2025-06-12T10:15:15.000Z","size":352,"stargazers_count":4,"open_issues_count":15,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-12T11:32:59.683Z","etag":null,"topics":["authorization","chrome","proxy","selenium"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alykoshin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-10-27T10:10:55.000Z","updated_at":"2019-12-28T10:35:21.000Z","dependencies_parsed_at":"2023-11-30T16:30:49.234Z","dependency_job_id":"f816d52f-d295-4938-b249-4129d7c2709c","html_url":"https://github.com/alykoshin/selenium-chrome-proxy-plugin","commit_stats":{"total_commits":28,"total_committers":1,"mean_commits":28.0,"dds":0.0,"last_synced_commit":"98c52ac661945d2518f7d92591a23daa8acd33ec"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/alykoshin/selenium-chrome-proxy-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alykoshin%2Fselenium-chrome-proxy-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alykoshin%2Fselenium-chrome-proxy-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alykoshin%2Fselenium-chrome-proxy-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alykoshin%2Fselenium-chrome-proxy-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alykoshin","download_url":"https://codeload.github.com/alykoshin/selenium-chrome-proxy-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alykoshin%2Fselenium-chrome-proxy-plugin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262406186,"owners_count":23306097,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authorization","chrome","proxy","selenium"],"created_at":"2025-06-01T10:07:38.456Z","updated_at":"2025-06-28T09:31:59.296Z","avatar_url":"https://github.com/alykoshin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm version](https://badge.fury.io/js/selenium-chrome-proxy-plugin.svg)](http://badge.fury.io/js/selenium-chrome-proxy-plugin)\n[![Build Status](https://travis-ci.org/alykoshin/selenium-chrome-proxy-plugin.svg)](https://travis-ci.org/alykoshin/selenium-chrome-proxy-plugin)\n[![Coverage Status](https://coveralls.io/repos/alykoshin/selenium-chrome-proxy-plugin/badge.svg?branch=master\u0026service=github)](https://coveralls.io/github/alykoshin/selenium-chrome-proxy-plugin?branch=master)\n[![Code Climate](https://codeclimate.com/github/alykoshin/selenium-chrome-proxy-plugin/badges/gpa.svg)](https://codeclimate.com/github/alykoshin/selenium-chrome-proxy-plugin)\n[![Inch CI](https://inch-ci.org/github/alykoshin/selenium-chrome-proxy-plugin.svg?branch=master)](https://inch-ci.org/github/alykoshin/selenium-chrome-proxy-plugin)\n\n[![Dependency Status](https://david-dm.org/alykoshin/selenium-chrome-proxy-plugin/status.svg)](https://david-dm.org/alykoshin/selenium-chrome-proxy-plugin#info=dependencies)\n[![devDependency Status](https://david-dm.org/alykoshin/selenium-chrome-proxy-plugin/dev-status.svg)](https://david-dm.org/alykoshin/selenium-chrome-proxy-plugin#info=devDependencies)\n\n\n# selenium-chrome-proxy-plugin\n\nChrome plugin generator for setting private proxies to use with Selenium\n\n\nThis module is based on https://github.com/RobinDev/Selenium-Chrome-HTTP-Private-Proxy\n\n\n\nIf you have different needs regarding the functionality, please add a [feature request](https://github.com/alykoshin/selenium-chrome-proxy-plugin/issues).\n\n\n## Installation\n\n```sh\nnpm install --save selenium-chrome-proxy-plugin\n```\n\n## Usage\n\nFor usage please refer to `examples/index.js`.\nDo not forget to put `chromedriver` into same directory.  \n\nTo run with debug output:\n\n```sh\n$ DEBUG=selenium-chrome-proxy-plugin node index\n```\n\nModule uses `os.tmpdir()` for temporary files (it depends on OS;`/tmp` for Linux). \nTemp directory may be changed by providing `tempDir` property in config:\nPlease, do not forget to call `plugin.cleanpu()` to remove temporary files.\n\n```js\n  const proxyConfig = {\n    host: '\u003cproxy_host\u003e',\n    port: '\u003cproxy_port\u003e', \n    username: '\u003cproxy_username\u003e', \n    password: '\u003cproxy_password\u003e',\n    tempDir:  './temp' \n  };\n  return new ProxyPlugin({\n    proxyConfig: proxyConfig\n    //chromeOptions: chromeOptions,\n  })\n    .then((plugin) =\u003e {\n      console.log('PLUGIN READY');\n      return new webdriver.Builder()\n        .forBrowser('chrome')\n        .setChromeOptions(plugin.chromeOptions)\n        .build()\n        .then((driver) =\u003e plugin.cleanup()\n           .then(() =\u003e driver.get('http://whatismyip.host/'))\n           .then(() =\u003e console.log('DONE'))\n        )\n        ;\n    })\n    .catch((err) =\u003e console.log('ERROR:', err))\n    ;\n```\n\nIt is also possible to provide `chromeOptions`:\n\n```js \nreturn new ProxyPlugin({ proxyConfig: config, options: chromeOptions })\n  .then((plugin) =\u003e {\n  ...\n```\n\nMay be used with callbacks:\n\n```js\n return new ProxyPlugin({\n    proxyConfig: proxyConfig,\n    //chromeOptions: chromeOptions,\n  }, (err, plugin) =\u003e {\n  \n    ...\n    \n  });\n```\n\nMore info along with working examples may be found in `examples` subdirectory.\n\n\n## Credits\n[Alexander](https://github.com/alykoshin/)\n\n\n# Links to package pages:\n\n[github.com](https://github.com/alykoshin/selenium-chrome-proxy-plugin) \u0026nbsp; [npmjs.com](https://www.npmjs.com/package/selenium-chrome-proxy-plugin) \u0026nbsp; [travis-ci.org](https://travis-ci.org/alykoshin/selenium-chrome-proxy-plugin) \u0026nbsp; [coveralls.io](https://coveralls.io/github/alykoshin/selenium-chrome-proxy-plugin) \u0026nbsp; [inch-ci.org](https://inch-ci.org/github/alykoshin/selenium-chrome-proxy-plugin)\n\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falykoshin%2Fselenium-chrome-proxy-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falykoshin%2Fselenium-chrome-proxy-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falykoshin%2Fselenium-chrome-proxy-plugin/lists"}