Selenium Articles

Found 362 articles

Element Methods in Selenium Python

Jaisshree
Jaisshree
Updated on 27-Mar-2026 828 Views

Selenium is an open-source automation testing tool used with programming languages like Python, Java, JavaScript, and Perl to test web applications. It provides various element methods to interact with web page components programmatically. Essential Element Methods 1. send_keys() Used for entering text into input fields, text areas, and form elements. Also supports modifier keys like Ctrl, Alt, and Shift. Return Type: None 2. is_selected() Checks if an element like checkbox, radio button, or option is selected. Return Type: Boolean (True or False) 3. is_displayed() Verifies if an element is visible on the web page. Return Type: ...

Read More

Search and Play Youtube Music with Selenium in Python

Prince Yadav
Prince Yadav
Updated on 27-Mar-2026 773 Views

Selenium WebDriver enables us to automate web browsers programmatically, making it possible to search and play YouTube music directly from Python scripts. This automation can streamline your music discovery process and integrate YouTube functionality into your applications. Prerequisites Before starting, ensure you have Python installed and a code editor ready. You'll also need to install Selenium and set up ChromeDriver for browser automation. Installing Selenium Install the Selenium library using pip ? pip install selenium Collecting selenium Downloading selenium-4.15.0-py3-none-any.whl (10.5 MB) |████████████████████████████████| 10.5 MB ...

Read More

Scrape LinkedIn Using Selenium And Beautiful Soup in Python

Prince Yadav
Prince Yadav
Updated on 27-Mar-2026 1K+ Views

Python has emerged as one of the most popular programming languages for web scraping, thanks to its rich ecosystem of libraries and tools. Two such powerful libraries are Selenium and Beautiful Soup, which, when combined, provide a robust solution for scraping data from websites. In this tutorial, we will delve into the world of web scraping with Python, specifically focusing on scraping LinkedIn using Selenium and Beautiful Soup. In this article, we will explore the process of automating web interactions using Selenium and parsing HTML content with Beautiful Soup. Together, these tools enable us to scrape data from LinkedIn, ...

Read More

Pause method - Action Chains in Selenium Python

Priya Mishra
Priya Mishra
Updated on 27-Mar-2026 2K+ Views

The Pause method is an essential technique in Selenium Python for implementing Action Chains with timing control. Action Chains allow users to perform complex interactions on web pages, such as hovering over elements, clicking and dragging, and performing sequential actions with deliberate delays. By incorporating the Pause method, programmers can introduce specific time delays between actions, ensuring accurate execution and synchronization with dynamic web elements. What are Action Chains? Action Chains in Selenium Python allow users to perform a series of actions sequentially, mimicking real user interactions. Whether it's clicking on an element, typing text, or hovering ...

Read More

Parent element method in Selenium Python

Priya Mishra
Priya Mishra
Updated on 27-Mar-2026 2K+ Views

Selenium is a robust tool that enables the automation of web browsers. A significant aspect of Selenium is its capability to find elements on web pages through diverse approaches, including the parent element method. By recognizing and manipulating the parent element associated with a particular target element, testers can effectively engage with specific sections of a webpage. This article explores the parent element method in Selenium Python, highlighting its benefits and practical implementation strategies. What is a Parent Element Method in Selenium Python? In HTML, elements are nested within other elements, creating a hierarchical structure. The parent ...

Read More

Click the Button by Text Using Python and Selenium

Prince Yadav
Prince Yadav
Updated on 27-Mar-2026 12K+ Views

Python and Selenium are two widely recognized and influential tools for web automation tasks, including testing, web scraping, and web interaction. Among the various tasks that web automation can perform, clicking a button on a webpage is one of the most common actions. The process of clicking a button on a webpage involves locating the button element using its text label. In this article, we offer a comprehensive guide on how to automate the process of clicking a button on a webpage using Python and Selenium by identifying the button element through its text label. We will take you ...

Read More

Locating multiple elements in Selenium Python

Siva Sai
Siva Sai
Updated on 27-Mar-2026 633 Views

Selenium is a powerful web automation tool that allows you to control web browsers programmatically. One of its key features is the ability to locate and interact with multiple elements on a webpage simultaneously. This tutorial covers how to find multiple elements using Selenium with Python. Setting Up Selenium First, install Selenium using pip and set up the WebDriver ? pip install selenium You'll also need to download a browser driver (like ChromeDriver for Chrome) and ensure it's in your system PATH or specify its location in your code. Modern Element Location Methods ...

Read More

Like instagram pictures using Selenium and Python

Siva Sai
Siva Sai
Updated on 27-Mar-2026 1K+ Views

With over a billion users, Instagram is a popular social media platform. While it provides APIs for certain interactions, developers often use web automation tools like Selenium to interact with Instagram programmatically. This article demonstrates how to automate liking Instagram pictures using Python and Selenium. Important: This tutorial is for educational purposes only. Always respect Instagram's terms of service and avoid spam-like behavior that could result in account restrictions. Prerequisites and Setup Before starting, you need Python and Selenium installed on your system. Install Selenium using pip ? pip install selenium You'll also ...

Read More

Food Recognition Selenium using Calorie Mama API

Atharva Shah
Atharva Shah
Updated on 27-Mar-2026 590 Views

Selenium WebDriver is an open-source automation tool for web browsers that provides a platform-independent testing framework. When combined with the Calorie Mama API, which uses deep learning and computer vision algorithms to recognize food items and their nutritional values from images, we can automate food recognition tasks. In this tutorial, we'll explore how to use Selenium WebDriver to automate the process of uploading food images to the Calorie Mama API and retrieving nutritional information programmatically. Prerequisites and Setup Firefox Browser Installation Download Firefox from the official website Install Firefox, which will be placed in C:\Program ...

Read More

Action Chains in Selenium Python

Rohan Singh
Rohan Singh
Updated on 27-Mar-2026 6K+ Views

Action chains in Selenium Python enable the execution of multiple browser actions together in sequence. Selenium is a popular open-source automation testing tool used to test web applications and automate browser actions. Action chains allow you to combine multiple actions like clicks, key presses, and mouse movements into a single automated workflow. What are Action Chains in Selenium Python? Action chains are a sequence of actions that are performed in a specific order on a web page to test for a specific outcome. These actions can include clicking elements, entering text, scrolling, dragging and dropping objects, and keyboard ...

Read More
Showing 1–10 of 362 articles
« Prev 1 2 3 4 5 37 Next »
Advertisements