All Projects → shadowmoose → pyderman

shadowmoose / pyderman

Licence: MIT license
Install Selenium-compatible Chrome/Firefox/Opera/PhantomJS/Edge webdrivers automatically.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to pyderman

yt-videos-list
Create and **automatically** update a list of all videos on a YouTube channel (in txt/csv/md form) via YouTube bot with end-to-end web scraping - no API tokens required. Multi-threaded support for YouTube videos list updates.
Stars: ✭ 64 (+166.67%)
Mutual labels:  selenium, chromedriver, geckodriver, operadriver
jest-selenium
This project shows how to drive your selenium tests with Jest.
Stars: ✭ 22 (-8.33%)
Mutual labels:  selenium, chromedriver, geckodriver
Webdrivermanager
WebDriverManager (Copyright © 2015-2021) is a project created and maintained by Boni Garcia and licensed under the terms of the Apache 2.0 License.
Stars: ✭ 1,808 (+7433.33%)
Mutual labels:  selenium, chromedriver, geckodriver
Echo360
Commandline tool for automated downloads of echo360 videos hosted by university
Stars: ✭ 81 (+237.5%)
Mutual labels:  phantomjs, selenium
wdm4j
Automatic Selenium WebDriver binaries management for java
Stars: ✭ 16 (-33.33%)
Mutual labels:  phantomjs, edge
Crack Geetest
滑动验证码破解示例,仅供学习使用。
Stars: ✭ 539 (+2145.83%)
Mutual labels:  phantomjs, selenium
Whatsapp Assistant Bot
A personal WhatsApp assistant bot that will help you search anything on the web (Google, Images, Google Maps)
Stars: ✭ 198 (+725%)
Mutual labels:  selenium, chromedriver
Awesome Regression Testing
🕶️ A curated list of resources around the topic: visual regression testing
Stars: ✭ 1,604 (+6583.33%)
Mutual labels:  phantomjs, selenium
Splashr
💦 Tools to Work with the 'Splash' JavaScript Rendering Service in R
Stars: ✭ 93 (+287.5%)
Mutual labels:  phantomjs, selenium
TRA-Ticket-Booker
(已不適用新版臺鐵訂票系統,且不再更新)台灣鐵路訂票應用程式(臺鐵 / 台鐵 / 訂單程票 / 訂來回票),基於 Selenium + PyQt4。
Stars: ✭ 26 (+8.33%)
Mutual labels:  phantomjs, selenium
chameleon-crawler
Browser automation for Chameleon.
Stars: ✭ 17 (-29.17%)
Mutual labels:  selenium, chromedriver
TqExtension
Test your Drupal 7 (D8 in progress) sites easier with TqExtension for Behat.
Stars: ✭ 13 (-45.83%)
Mutual labels:  phantomjs, selenium
kick-off-web-scraping-python-selenium-beautifulsoup
A tutorial-based introduction to web scraping with Python.
Stars: ✭ 18 (-25%)
Mutual labels:  phantomjs, selenium
Lambda Packs
Precompiled packages for AWS Lambda
Stars: ✭ 997 (+4054.17%)
Mutual labels:  phantomjs, selenium
Panther
A browser testing and web crawling library for PHP and Symfony
Stars: ✭ 2,480 (+10233.33%)
Mutual labels:  selenium, chromedriver
Monocle
PowerShell Web Automation module, made to make automating websites easier
Stars: ✭ 47 (+95.83%)
Mutual labels:  selenium, edge
docker-selenium-lambda
The simplest demo of chrome automation by python and selenium in AWS Lambda
Stars: ✭ 172 (+616.67%)
Mutual labels:  selenium, chromedriver
TikTok
Download public videos on TikTok using Python with Selenium
Stars: ✭ 37 (+54.17%)
Mutual labels:  selenium, chromedriver
Nightwatch
End-to-end testing framework written in Node.js and using the Webdriver API
Stars: ✭ 10,912 (+45366.67%)
Mutual labels:  selenium, chromedriver
Zillow
Zillow Scraper for Python using Selenium
Stars: ✭ 141 (+487.5%)
Mutual labels:  selenium, chromedriver

Pyderman (Selenium Web Driver Installer)

Ubuntu MacOS Windows MacOS (SUR)

This is a fast, simple, dependency-free package that can automatically find & download any version of the Google Chrome (chromeDriver), Firefox (geckoDriver), PhantomJS, Opera (operaDriver), and Edge (edgeDriver) web drivers.

This project was built to allow developers to seamlessly include selenium support on the user-side, without requiring any manual configuration on their part. It will automatically locate the correct driver binary for the platform & version you choose, as well as setting the os-specific permissions after downloading.

It is tested daily on Windows/Linux/macOS against Python versions 3.7+.

Installation

To install the library, run:

pip install pyderman

Usage

After installed, call it in your code like so:

import pyderman as driver
path = driver.install(browser=driver.firefox)
print(f"Installed geckodriver driver to path: {path}")

There are options for the output directory, disabling printout, running chmod on the downloaded executable, automatic overwriting, executable file name, and version number. All parameters are optional, and the default values are listed below.

This example downloads the Chrome Driver instead, by changing browser like so:

import pyderman as dr
path = dr.install(browser=dr.chrome, file_directory='./lib/', verbose=True, chmod=True, overwrite=False, version=None, filename=None, return_info=False)
print(f"Installed chromedriver to path: {path}")

The download is very fast, and will skip downloading if the file already exists. This behavior can be toggled with overwrite.

Notes

Note on MS Edge

Microsoft has switched Edge to use a flavor of Chrome behind the scenes. As of October 2019, Pyderman will download this MS Chromium Driver. Their driver is experimental, so make sure you know what you're doing if you use this driver. If you require stability, it is recommended you specify a version instead of using the "latest".

Note on macOS

Some versions of macOS have certificate issues with Python. Typically, in recent versions of Python, it will prompt you to install these when you install Python. Since Python needs these installed in order to make https requests, you may need to install these first. Depending on your project, it may also be possible to include a library to automatically import these certificates. Please visit this link to learn more.

Note on Big Sur

Apple broke a ton of compatibility moving to Big Sur, and now many of the web drivers do not have working builds within the new architecture. This project will only halfheartedly attempt to keep any drivers working on Big Sur architecture until all the available drivers have stable release patterns for the platform.

Why's it called 'Pyderman'?

Because it installs web-drivers. Get it?

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].