Automating your web browser with selenium

4rkal
Quick Code
Published in
4 min readApr 19, 2022

--

Selenium is a very good skill to have as you can automate almost everything that you can do with a web browser.

EDIT: This guide will no longer work, check out my newest article on selenium

In this tutorial, we’ll learn how to use Python and Selenium to automate a web browser. If you’re a complete beginner, read my python article to understand the basics. (https://4rkal.medium.com/f1df170bcc08/python-for-beginners)

Setup

To install selenium you first have to install a browser driver. Here is the list of supported web browsers :

https://www.selenium.dev/downloads/

In this article we will be using firefox geckodriver. But you can use any of the browser drivers above.

Downloading geckodriver

To get started go to github.com/mozilla/geckodriver/releases

Scroll down and select the package for your computer.

--

--

4rkal
Quick Code

Programmer, crypto enthusiast . Posting about mostly tech , programming. Website: https://4rkal.com/