Socket
Book a DemoInstallSign in
Socket

geckodriver-autoinstaller

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

geckodriver-autoinstaller

Automatically install geckodriver that supports the currently installed version of chrome.

pipPyPI
Version
0.1.0
Maintainers
1

geckodriver-autoinstaller

Automatically download and install geckodriver that supports the currently installed version of firefox. This installer supports Linux, MacOS and Windows operating systems.

Installation

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

Keywords

geckodriver chrome selenium splinter

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts