All Projects → jormon → Minimal Chrome On Heroku

jormon / Minimal Chrome On Heroku

Licence: unlicense
Getting headless chrome running on heroku

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Minimal Chrome On Heroku

Url To Pdf Api
Web page PDF/PNG rendering done right. Self-hosted service for rendering receipts, invoices, or any content.
Stars: ✭ 6,544 (+54433.33%)
Mutual labels:  heroku, chrome, headless-chrome
Undetected Chromedriver
Custom Selenium Chromedriver | Zero-Config | Passes ALL bot mitigation systems (like Distil / Imperva/ Datadadome / CloudFlare IUAM)
Stars: ✭ 365 (+2941.67%)
Mutual labels:  chromedriver, chrome
Chrome Headless Browser Docker
Continuously building Chrome Docker image for Linux.
Stars: ✭ 323 (+2591.67%)
Mutual labels:  chrome, headless-chrome
Pychrome
A Python Package for the Google Chrome Dev Protocol [threading base]
Stars: ✭ 469 (+3808.33%)
Mutual labels:  chrome, headless-chrome
Sillynium
Automate the creation of Python Selenium Scripts by drawing coloured boxes on webpage elements
Stars: ✭ 100 (+733.33%)
Mutual labels:  chromedriver, chrome
dockerfile
A collection of dockerfile I use
Stars: ✭ 90 (+650%)
Mutual labels:  chromedriver, headless-chrome
Docker Python Chromedriver
Dockerfile for running Python Selenium in headless Chrome (Python 2.7 / 3.6 / 3.7 / 3.8 / Alpine based Python / Chromedriver / Selenium / Xvfb included in different versions)
Stars: ✭ 385 (+3108.33%)
Mutual labels:  chromedriver, headless-chrome
Puppeteer Extra
💯 Teach puppeteer new tricks through plugins.
Stars: ✭ 3,397 (+28208.33%)
Mutual labels:  chrome, headless-chrome
Headless Chrome Crawler
Distributed crawler powered by Headless Chrome
Stars: ✭ 5,129 (+42641.67%)
Mutual labels:  chrome, headless-chrome
Puppeteer Lambda Starter Kit
Starter Kit for running Headless-Chrome by Puppeteer on AWS Lambda.
Stars: ✭ 563 (+4591.67%)
Mutual labels:  chrome, headless-chrome
Chromy
Chromy is a library for operating headless chrome. 🍺🍺🍺
Stars: ✭ 593 (+4841.67%)
Mutual labels:  chrome, headless-chrome
Chrome Protocol Proxy
Chrome DevTools Protocol Proxy - intelligent proxy for debugging purposes
Stars: ✭ 94 (+683.33%)
Mutual labels:  chromedriver, chrome
Docker Protractor Headless
Protractor end to end testing for AngularJS - dockerised and headless with real Chrome.
Stars: ✭ 90 (+650%)
Mutual labels:  chromedriver, chrome
headless-chrome
Implementation of the new headless chrome with chromedriver and selenium.
Stars: ✭ 34 (+183.33%)
Mutual labels:  chromedriver, headless-chrome
Serverless Chrome
🌐 Run headless Chrome/Chromium on AWS Lambda
Stars: ✭ 2,625 (+21775%)
Mutual labels:  chrome, headless-chrome
Nightmare
A high-level browser automation library.
Stars: ✭ 19,067 (+158791.67%)
Mutual labels:  chrome, headless-chrome
Api
API that uncovers the technologies used on websites and generates thumbnail from screenshot of website
Stars: ✭ 189 (+1475%)
Mutual labels:  chrome, headless-chrome
Chromeless
🖥 Chrome automation made simple. Runs locally or headless on AWS Lambda.
Stars: ✭ 13,254 (+110350%)
Mutual labels:  chrome, headless-chrome
Wrp
Web Rendering Proxy: Use vintage, historical, legacy browsers on modern web
Stars: ✭ 503 (+4091.67%)
Mutual labels:  chrome, headless-chrome
Html Pdf Chrome
HTML to PDF converter via Chrome/Chromium
Stars: ✭ 629 (+5141.67%)
Mutual labels:  chrome, headless-chrome

minimal-chrome-on-heroku

Getting Chrome up and running on Heroku!

This is a sister repo of jormon/minimal-chrome-on-heroku-xvfb which operates on the cedar-14 stack using xvfb.

I tried to keep the number of gems as minimal as possible, though I did include Thor for potential future uses with different configuration flags, etc.

Here are the rough needs to get this to work / notes:

  • There are some very hard-to-google configuration flags to set on your Chrome options, pay attention in the new_browser method if you're following along at home.
  • This uses watir for ease of scripting, but feel free to use raw Selenium.

Deployment

You can use the following button to deploy this to a test instance and check it out yourself!

Deploy

Use

Once you deploy, from your commandline, simply run the following command with heroku toolbelt:

$ heroku run "thor runner:website"

Downloads

The package also includes a test script to show how saving downloads from chrome can run. The thor task is runner:download, but I would advise invoking it like so:

$ heroku run bash
[heroku]$ bundle exec thor runner:download
[heroku]$ ls tmp/downloads # expect to see the rfc file here
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].