{ "info": { "author": "Jani Mikkonen", "author_email": "jani.mikkonen@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "Intended Audience :: Information Technology", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Operating System :: MacOS", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX :: Linux", "Operating System :: POSIX :: Other", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Quality Assurance", "Topic :: Software Development :: Testing", "Topic :: Utilities" ], "description": "``webdrivermanager``\n=======================\n\nPython module to facilitate downloading and deploying `WebDriver `_ binaries. The classes in this module can be used to automatically search for and download the latest version (or a specific version) of a WebDriver binary and then extract it and place it by copying or symlinking it to the location where Selenium or other tools should be able to find it then.\n\n\nInstallation\n------------\n\nThis module is available on the Python Package Index (PyPI) and can be installed as follows:\n\n``pip install webdrivermanager``\n\n\nDependencies\n------------\n\nThis module is dependent on the following additional packages:\n\n- `requests `_\n- `tqdm `_\n- `BeautifulSoup4 `_\n- `appdirs `_\n\n\nClasses\n-------\n\nThe following classes are available:\n\n- ``ChromeDriverManager`` for downloading and installing `chromedriver `_ (for Google Chrome).\n- ``GeckoDriverManager`` for downloading and installing `geckodriver `_ (for Mozilla Firefox).\n- ``OperaChromiumDriverManager`` for downloading and installing `operadriver `_ (for Chromium based Opera browsers).\n- ``EdgeDriverManager`` for downloading and installing `edgedriver `_ (for Microsoft Edge).\n\n\nStatus\n------\n\nCurrently being developed/tested using Python 2.7.15 and 3.7 on macOS, Windows & Linux\n\n\nExample module usage\n--------------------\n\nExample::\n\n >>> from webdrivermanager import GeckoDriverManager\n >>> gdd = GeckoDriverManager()\n >>> gdd.download_and_install()\n 1524kb [00:00, 1631.24kb/s]\n ('/Users/rasjani/webdriver/geckodriver-v0.20.1-macos/geckodriver', '/Users/rasjani/bin/geckodriver')\n >>> gdd.download_and_install(\"v0.20.0\")\n 1501kb [00:02, 678.92kb/s]\n Symlink /Users/rasjani/bin/geckodriver already exists and will be overwritten.\n ('/Users/rasjani/webdriver/geckodriver-v0.20.0-macos/geckodriver', '/Users/rasjani/bin/geckodriver')\n >>> gdd.download_and_install()\n Symlink /Users/rasjani/bin/geckodriver already exists and will be overwritten.\n ('/Users/rasjani/webdriver/geckodriver-v0.20.1-macos/geckodriver', '/Users/rasjani/bin/geckodriver')\n >>>\n\n\nCommand line tool\n-----------------\n\nThere is a command-line tool that is also available. After installing the package, it can be used as follows (Windows example)::\n\n > webdrivermanager chrome:2.38 firefox opera:v.2.35\n Downloading WebDriver for browser: 'chrome'\n 3300kb [00:00, 11216.38kb/s]\n Driver binary downloaded to: C:\\Users\\rasjani\\webdriver\\chrome\\2.38\\2.38%2Fchromedriver_win32\\chromedriver.exe\n Driver copied to: C:\\Users\\rasjani\\bin\\chromedriver.exe\n\n Downloading WebDriver for browser: 'firefox'\n 3031kb [00:01, 2253.64kb/s]\n Driver binary downloaded to: C:\\Users\\rasjani\\webdriver\\gecko\\v0.20.1\\geckodriver-v0.20.1-win64\\geckodriver.exe\n Driver copied to: C:\\Users\\rasjani\\bin\\geckodriver.exe\n\n Downloading WebDriver for browser: 'opera'\n 3548kb [00:02, 1239.02kb/s]\n Driver binary downloaded to: C:\\Users\\rasjani\\webdriver\\operachromium\\v.2.35\\operadriver_win64\\operadriver_win64\\operadriver.exe\n Driver copied to: C:\\Users\\rasjani\\bin\\operadriver.exe\n\n WARNING: Path 'C:\\Users\\rasjani\\bin' is not in the PATH environment variable.\n\nIn the above example, a version was specified for Chrome and Opera while no version was specified for Firefox so the latest version of ``geckodriver`` was implicitly downloaded.\n\nCommand line options\n--------------------\n\n usage: webdrivermanager [-h] [--downloadpath F] [--linkpath F] [--os OSNAME]\n browser [browser ...]\n\n Tool for downloading and installing WebDriver binaries.\n\n\tpositional arguments:\n\t browser Browser to download the corresponding WebDriver\n\t\t\t\t binary. Valid values are: chrome, firefox, gecko,\n\t\t\t\t mozilla, opera, edge. Optionally specify a version\n\t\t\t\t number of the WebDriver binary as follows:\n\t\t\t\t 'browser:version' e.g. 'chrome:2.39'. If no version\n\t\t\t\t number is specified, the latest available version of\n\t\t\t\t the WebDriver binary will be downloaded.\n\n optional arguments:\n -h, --help show this help message and exit\n --downloadpath F, -d F\n Where to download the webdriver binaries\n --linkpath F, -l F Where to link the webdriver binary to. Set to \"AUTO\"\n if you need some intelligence to decice where to place\n the final webdriver binary\n --linkpath F, -l F Where to link the webdriver binary to. Set to \"AUTO\"\n if you need some intelligense to decide where to place\n the final webdriver binary. If set to \"SKIP\", no\n link/copy done\n --os OSNAME, -o OSNAME\n Overrides os detection with given os name\n\n\nDo note that `--downloadpath`/`-d` flag location is used for storing the whole downloaded and then `--linkpath`/`-l` path location is where the final binary is either symlinled or copied to. Linkpath should be the directory you either already have in PATH or you should place there since tools using these webdrivers usually locate the appropriate webdriver binary from PATH environment variable.\n\nIf linkpath flag is set to *AUTO*, tool will iterate over your current PATH environment variable and tries to find the first writeable directory within it and place the copy or symlink into it. If linkpath is set to *SKIP*, only download is done, linking/copying is skipped.\n\nLicense\n-------\n\nThis is released under an MIT license. See the ``LICENSE`` file in this repository for more information.\n\nConsult the license terms of the providers of the WebDriver downloads prior to downloading / using the WebDrivers.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/rasjani/webdrivermanager", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "webdrivermanager", "package_url": "https://pypi.org/project/webdrivermanager/", "platform": "", "project_url": "https://pypi.org/project/webdrivermanager/", "project_urls": { "Homepage": "https://github.com/rasjani/webdrivermanager" }, "release_url": "https://pypi.org/project/webdrivermanager/0.7.4/", "requires_dist": null, "requires_python": "", "summary": "Module for facilitating download and deploy of WebDriver binaries.", "version": "0.7.4" }, "last_serial": 4939998, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "53873cff3fffa7f76c943330d5704714", "sha256": "3968e7c4fae41bd2afde39aa183a40476aa4b071c3fc0bd5b9a7d0c5c3051796" }, "downloads": -1, "filename": "webdrivermanager-0.2.0.tar.gz", "has_sig": false, "md5_digest": "53873cff3fffa7f76c943330d5704714", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8792, "upload_time": "2018-10-26T14:51:17", "url": "https://files.pythonhosted.org/packages/79/e0/697bba5c3d439d56150a7800f80d1a0e707a91fea73b103ec3077e457168/webdrivermanager-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "fe1f3f19d6f43a13c5e8382e00506a9e", "sha256": "98d014a85e9ba0b81f559273ef4bc36ce9762a0717abc1e0c77a696575f5a24f" }, "downloads": -1, "filename": "webdrivermanager-0.3.0.tar.gz", "has_sig": false, "md5_digest": "fe1f3f19d6f43a13c5e8382e00506a9e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9754, "upload_time": "2018-10-27T13:02:40", "url": "https://files.pythonhosted.org/packages/3c/86/065bd08913d4bbe83c93d16ae17099027587600a4c38d49fded0f9370103/webdrivermanager-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "1a800d02a149f8c0dc847556f921deb7", "sha256": "ffac6762904bfd44e2b7e712e2aa7d9f4e8ad62659b00351b393733e6630459e" }, "downloads": -1, "filename": "webdrivermanager-0.4.0.tar.gz", "has_sig": false, "md5_digest": "1a800d02a149f8c0dc847556f921deb7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10580, "upload_time": "2018-10-28T11:38:03", "url": "https://files.pythonhosted.org/packages/5d/35/dc62020d34618feb72f69aa9f15b48ba47c0246a02fe5b10ae85baf7389a/webdrivermanager-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "48adc5db49c986f0847d9cfcda1d0106", "sha256": "7b35f0b1f04244daf42730fe2d2b8682b858e7fcea6e0ff54d7185f5e4ea263c" }, "downloads": -1, "filename": "webdrivermanager-0.4.1.tar.gz", "has_sig": false, "md5_digest": "48adc5db49c986f0847d9cfcda1d0106", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9695, "upload_time": "2018-10-31T11:09:45", "url": "https://files.pythonhosted.org/packages/d5/da/9d2a310c91c04fefb2df838ae4911e784f5ca450a7873b5cab14d869ca56/webdrivermanager-0.4.1.tar.gz" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "edd4ec8d08f27d94331346d80779b9b8", "sha256": "096c2a6b05e1f56ea6d1609a2e11f448ae4990ecae1356a016346bd4a525159f" }, "downloads": -1, "filename": "webdrivermanager-0.4.2.tar.gz", "has_sig": false, "md5_digest": "edd4ec8d08f27d94331346d80779b9b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13645, "upload_time": "2018-11-02T14:24:29", "url": "https://files.pythonhosted.org/packages/8b/64/c7c6a6b12814f0b81dfee5cc2004acf12b317f48c4eb77ce6af57d009d1b/webdrivermanager-0.4.2.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "8a60b28714a4593e0475ac7088a1f7d2", "sha256": "9e9cb71b85f79140c1771c9b7f1617b9e6643ff9ab196f45e56b7e404270a73e" }, "downloads": -1, "filename": "webdrivermanager-0.5.0.tar.gz", "has_sig": false, "md5_digest": "8a60b28714a4593e0475ac7088a1f7d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9853, "upload_time": "2018-12-18T20:04:05", "url": "https://files.pythonhosted.org/packages/b0/fa/3827576a67be8fe9e67c5bca39f1c830c77ecca93ab6dee5c97e5368130f/webdrivermanager-0.5.0.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "faa9a25fb7c224963765296f3df67a4e", "sha256": "880eec4a14895f71a65969034123e14733e37f2a2eb95b13522961bffb8e634a" }, "downloads": -1, "filename": "webdrivermanager-0.6.0.tar.gz", "has_sig": false, "md5_digest": "faa9a25fb7c224963765296f3df67a4e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9870, "upload_time": "2019-01-29T11:00:29", "url": "https://files.pythonhosted.org/packages/aa/da/086385d35d7b75bf9960739e9f81c66b7a64a4ae7e6ae2dc12f71c79c667/webdrivermanager-0.6.0.tar.gz" } ], "0.7.1": [ { "comment_text": "", "digests": { "md5": "47298e784dfa5e6924780439ef202a11", "sha256": "8b61608b99ab436fb8ffb630c8c7dcde69ba5dd128baea267a2b472b29f8aafa" }, "downloads": -1, "filename": "webdrivermanager-0.7.1.tar.gz", "has_sig": false, "md5_digest": "47298e784dfa5e6924780439ef202a11", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13532, "upload_time": "2019-02-20T08:35:29", "url": "https://files.pythonhosted.org/packages/56/06/3528f9e7415a178eb59bfc82250ef840d1358f15c3a3afc2f80ddc1e5a1a/webdrivermanager-0.7.1.tar.gz" } ], "0.7.2": [ { "comment_text": "", "digests": { "md5": "e6f7776894644b453420d4384507614b", "sha256": "5d4b7056e99c5d66e4c01bb7bdd5aa238d95b3bc7b228d1167e8065e45596c6e" }, "downloads": -1, "filename": "webdrivermanager-0.7.2.tar.gz", "has_sig": false, "md5_digest": "e6f7776894644b453420d4384507614b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13827, "upload_time": "2019-02-20T12:11:03", "url": "https://files.pythonhosted.org/packages/4c/d9/28869071c07b467dd3eb8a054adb382d6fea61777fd0c787b7a97419be0b/webdrivermanager-0.7.2.tar.gz" } ], "0.7.3": [ { "comment_text": "", "digests": { "md5": "f1005a561b92f68c680399a903cb6b0c", "sha256": "259942984fd65125b5aca456c2c448eb6601a258340d4c70956f1d1246e68d75" }, "downloads": -1, "filename": "webdrivermanager-0.7.3.tar.gz", "has_sig": false, "md5_digest": "f1005a561b92f68c680399a903cb6b0c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14449, "upload_time": "2019-03-13T14:44:03", "url": "https://files.pythonhosted.org/packages/59/e2/89c58350f7196c26f6eb90e03a3e3c2c0f581bb58aebcdff4ac1afdf799f/webdrivermanager-0.7.3.tar.gz" } ], "0.7.4": [ { "comment_text": "", "digests": { "md5": "ad8b24edc4d627181c4bad3597025c54", "sha256": "0b442b06b0c1f28441b2aeed34b7f12a71d9ca9ed8d667a7894c14e2a0d3b785" }, "downloads": -1, "filename": "webdrivermanager-0.7.4.tar.gz", "has_sig": false, "md5_digest": "ad8b24edc4d627181c4bad3597025c54", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14497, "upload_time": "2019-03-14T14:28:33", "url": "https://files.pythonhosted.org/packages/c4/2e/35771d09e229bcfbfab08da114bedb66b0d4ceb03d935705da4c2b4535f3/webdrivermanager-0.7.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ad8b24edc4d627181c4bad3597025c54", "sha256": "0b442b06b0c1f28441b2aeed34b7f12a71d9ca9ed8d667a7894c14e2a0d3b785" }, "downloads": -1, "filename": "webdrivermanager-0.7.4.tar.gz", "has_sig": false, "md5_digest": "ad8b24edc4d627181c4bad3597025c54", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14497, "upload_time": "2019-03-14T14:28:33", "url": "https://files.pythonhosted.org/packages/c4/2e/35771d09e229bcfbfab08da114bedb66b0d4ceb03d935705da4c2b4535f3/webdrivermanager-0.7.4.tar.gz" } ] }