Selenium Dynamic XPath Tutorial (All Commands)

Welcome to the Dynamic XPath Tutorial using Selenium. In this tutorial we will explore over 20 different code snippets using XPath commands to retrieve elements from a web page in Selenium. Prerequisites The prerequisites to this tutorial is that you have Selenium setup properly on your system. For those who do not, here is a … Read more

How to Install Webdriver_manager Chrome in Selenium Python?

In this Python tutorial, we will learn how to install Selenium for Chrome using the Webdriver_manager module. Selenium is a popular open-source framework used for automating web browsers. It provides a convenient way to interact with web elements, perform actions, and extract data from websites. To use Selenium with Python, you need to have the … Read more

Running Headless Selenium in Python (2023)

In the world of web testing and automation, Selenium has become a popular tool for developers and testers alike. It allows us to simulate user interactions with web applications, automate repetitive tasks, and perform end-to-end testing. But have you ever wondered if there’s a way to run Selenium tests without a visible browser window? That’s … Read more

Changing HTML tags and content with Python BeautifulSoup

If you’re working with HTML in Python, the BeautifulSoup library is an excellent choice for parsing and manipulating HTML content. Most people only know about BeautifulSoup in the context of “parsing” HTML content. Little do they know, that BeautifulSoup can also be used for changing (replacing) tags and HTML content in Python. For example, let’s … Read more

BeautifulSoup User Agents in Python

BeautifulSoup is a popular Python library that simplifies web scraping by allowing you easily extract useful information from HTML (web) files. In this article, we will explain what User Agents are, why they are essential for web scraping, and how to use them in BeautifulSoup. What is a User Agent? User-Agent is a header that … Read more