All Projects → dimmg → Dockselpy

dimmg / Dockselpy

Dockerized Selenium and Python with support for Chrome, Firefox and PhantomJS

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Dockselpy

Singlefile
Web Extension for Firefox/Chrome/MS Edge and CLI tool to save a faithful copy of an entire web page in a single HTML file
Stars: ✭ 4,417 (+1763.71%)
Mutual labels:  selenium, chrome, firefox
Docker Python Xvfb Selenium Chrome Firefox
Dockerfiles for Python 3.6/2.7 & Selenium in a headless Chrome or Firefox environment
Stars: ✭ 82 (-65.4%)
Mutual labels:  selenium, chrome, firefox
Selenium Python Helium
Selenium-python but lighter: Helium is the best Python library for web automation.
Stars: ✭ 2,732 (+1052.74%)
Mutual labels:  selenium, chrome, firefox
Cdp4j
cdp4j - Chrome DevTools Protocol for Java
Stars: ✭ 232 (-2.11%)
Mutual labels:  selenium, chrome
Forensic Tools
A collection of tools for forensic analysis
Stars: ✭ 204 (-13.92%)
Mutual labels:  chrome, firefox
Preact Devtools
Browser extension for inspection Preact applications
Stars: ✭ 204 (-13.92%)
Mutual labels:  chrome, firefox
Emoji Helper
A small cross-browser emoji cheatsheet extension 👍
Stars: ✭ 194 (-18.14%)
Mutual labels:  chrome, firefox
Docker Robot Framework
Robot Framework in Docker Alpine
Stars: ✭ 212 (-10.55%)
Mutual labels:  chrome, firefox
Chromeless
🖥 Chrome automation made simple. Runs locally or headless on AWS Lambda.
Stars: ✭ 13,254 (+5492.41%)
Mutual labels:  selenium, chrome
Supercookie
💭 Inspiration
Stars: ✭ 3,630 (+1431.65%)
Mutual labels:  chrome, firefox
Ocaramba
C# Framework to automate tests using Selenium WebDriver
Stars: ✭ 234 (-1.27%)
Mutual labels:  chrome, firefox
Nvidia Sniper
🎯 Autonomously buy Nvidia Founders Edition GPUs as soon as they become available.
Stars: ✭ 193 (-18.57%)
Mutual labels:  selenium, firefox
Xdm
Powerfull download accelerator and video downloader
Stars: ✭ 3,226 (+1261.18%)
Mutual labels:  chrome, firefox
Gadebugger
A Chrome, Firefox & Opera devtools extension for debugging Google Analytics tracking code
Stars: ✭ 225 (-5.06%)
Mutual labels:  chrome, firefox
Stormkitty
🔑 Open source stealer written on C#, all logs will be sent to Telegram bot.
Stars: ✭ 198 (-16.46%)
Mutual labels:  chrome, firefox
Arsenic
Async WebDriver implementation for asyncio and asyncio-compatible frameworks
Stars: ✭ 209 (-11.81%)
Mutual labels:  chrome, firefox
Pychromeless
Python Lambda Chrome Automation (naming pending)
Stars: ✭ 219 (-7.59%)
Mutual labels:  selenium, chrome
Awesome Java Crawler
本仓库收集整理爬虫相关资源,开发语言以Java为主
Stars: ✭ 228 (-3.8%)
Mutual labels:  selenium, chrome
Rester
A REST client for almost any web service (Firefox and Chrome Extension)
Stars: ✭ 192 (-18.99%)
Mutual labels:  chrome, firefox
Ad Detector
Detects articles with corporate sponsors.
Stars: ✭ 194 (-18.14%)
Mutual labels:  chrome, firefox

dockselpy

Dockerfile example on how to "assemble" together Selenium (with support for Chrome, Firefox and PhantomJS), Python and Xfvb.

Information

Recent struggle with finding a docker image for Selenium that supports headless versions for both Firefox and Chrome, led to the process of building my own version.

The image is build with the following dependencies:

  • latest Chrome and chromedriver
  • latest Firefox and geckodriver
  • latest stable PhantomJS webkit (v2.1.1)
  • Selenium
  • Python 3
  • Xvfb and the python wrapper - pyvirtualdisplay

Running:

  • docker

    docker build -t selenium_docker .
    docker run --privileged -p 4000:4000 -d -it selenium_docker 
    
  • docker-compose

    docker-compose stop && docker-compose build && docker-compose up -d
    

Example

from pyvirtualdisplay import Display
from selenium import webdriver

display = Display(visible=0, size=(800, 600))
display.start()

browser = webdriver.Firefox()
browser.get('https://www.google.com/')
print(browser.title)

browser.quit()
display.stop()

Detailed examples on how to use Firefox with custom profile, Google Chrome with desired options or PhantomJS can be found in the source.

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].