# geckodriver-autoinstaller
Automatically download and install [geckodriver](https://github.com/mozilla/geckodriver/releases/latest) that supports the currently installed version of firefox. This installer supports Linux, MacOS and Windows operating systems.
## Installation
```bash
pip install geckodriver-autoinstaller
```
## Usage
Just type `import geckodriver_autoinstaller` in the module you want to use geckodriver.
## Example
```
from selenium import webdriver
import geckodriver_autoinstaller
geckodriver_autoinstaller.install() # Check if the current version of geckodriver exists
# and if it doesn't exist, download it automatically,
# then add geckodriver to path
driver = webdriver.Firefox()
driver.get("http://www.python.org")
assert "Python" in driver.title
```
Raw data
{
"_id": null,
"home_page": "https://github.com/yeongbin-jo/python-geckodriver-autoinstaller",
"name": "geckodriver-autoinstaller",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3",
"maintainer_email": "",
"keywords": "geckodriver chrome selenium splinter",
"author": "Yeongbin Jo",
"author_email": "yeongbin.jo@pylab.co",
"download_url": "https://files.pythonhosted.org/packages/c7/bf/f7fa0998e7afeeed402f6706866eca36d6c2ebbf9447f4d425a6447552ea/geckodriver-autoinstaller-0.1.0.tar.gz",
"platform": "",
"description": "# geckodriver-autoinstaller\nAutomatically download and install [geckodriver](https://github.com/mozilla/geckodriver/releases/latest) that supports the currently installed version of firefox. This installer supports Linux, MacOS and Windows operating systems.\n\n## Installation\n\n```bash\npip install geckodriver-autoinstaller\n```\n\n## Usage\nJust type `import geckodriver_autoinstaller` in the module you want to use geckodriver.\n\n## Example\n```\nfrom selenium import webdriver\nimport geckodriver_autoinstaller\n\n\ngeckodriver_autoinstaller.install() # Check if the current version of geckodriver exists\n # and if it doesn't exist, download it automatically,\n # then add geckodriver to path\n\ndriver = webdriver.Firefox()\ndriver.get(\"http://www.python.org\")\nassert \"Python\" in driver.title\n```\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Automatically install geckodriver that supports the currently installed version of chrome.",
"version": "0.1.0",
"split_keywords": [
"geckodriver",
"chrome",
"selenium",
"splinter"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "e00046c30874c3f5aad1279cc468846c",
"sha256": "609236aab9c111af10685cab1ab5551ce86b471101b6add34642545bc7e84bdc"
},
"downloads": -1,
"filename": "geckodriver_autoinstaller-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e00046c30874c3f5aad1279cc468846c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3",
"size": 5568,
"upload_time": "2020-02-14T07:25:24",
"upload_time_iso_8601": "2020-02-14T07:25:24.685645Z",
"url": "https://files.pythonhosted.org/packages/99/a0/527dd9b38cbb198e12ac1878a51cd86136222ffc1d131039e6286a6b57dc/geckodriver_autoinstaller-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "640b105ac4e7443110907ded7e8bbcad",
"sha256": "08953404903750a7e0905913d86eab13849c75ed61eb281c45697d9f5b5e2eb2"
},
"downloads": -1,
"filename": "geckodriver-autoinstaller-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "640b105ac4e7443110907ded7e8bbcad",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3",
"size": 4058,
"upload_time": "2020-02-14T07:25:26",
"upload_time_iso_8601": "2020-02-14T07:25:26.338271Z",
"url": "https://files.pythonhosted.org/packages/c7/bf/f7fa0998e7afeeed402f6706866eca36d6c2ebbf9447f4d425a6447552ea/geckodriver-autoinstaller-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2020-02-14 07:25:26",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "yeongbin-jo",
"github_project": "python-geckodriver-autoinstaller",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "geckodriver-autoinstaller"
}