Skip to content

Instantly share code, notes, and snippets.

View kunalworldwide's full-sized avatar
🎯
Focusing

Kunal Das kunalworldwide

🎯
Focusing
View GitHub Profile
@kunalworldwide
kunalworldwide / chromedriver.py
Last active April 28, 2021 15:03 — forked from primaryobjects/chromedriver.py
Automatically download the latest chromedriver for Selenium in Python. Works on Linux, Mac, Windows. Cross platform!
#!/usr/bin/env python3
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.common.exceptions import WebDriverException, SessionNotCreatedException
import sys
import os
import pathlib
import urllib.request
import re
import zipfile