+91 88606 33966            edu_sales@siriam.in                   Job Opening : On-site Functional Trainer/Instructor | Supply Chain Management (SCM)
Author : Mausomi Paul

How to Handle Checkboxes in Selenium

This article explains how to handle checkboxes using Selenium in Python. It includes locating checkboxes on a web page using their unique identifiers, verifying their initial selection state, toggling their selection by clicking, and printing the state changes to the console. 1. Import the Necessary Libraries, creating an driver instance and navigating to the specified […]

How to Handle IFrames in Selenium

This article explains how to identify and count the number of iframes (inline frames) present on a webpage using Selenium WebDriver. Two methods are used: An iFrame, or inline frame, is an HTML element that allows you to embed content from another source into a web page. iFrames are used to display content from other websites, […]

How to handles Drop down in selenium

This article demonstrates how to handle dropdown menus using the Select class in Selenium with Python. By interacting with a dropdown on the Selenium web form page, we perform operations such as selecting options by visible text, value, and index, retrieving the currently selected option, and printing all available options. Tasks The Selenium web form […]

How to Handle Alerts and Popups in Selenium

In this article, we will explore how to handle different types of JavaScript popups — alerts, confirm boxes, and prompt boxes — using Selenium. Each popup requires immediate user interaction and can be managed with driver.switch_to.alert. We will use methods like accept(), dismiss(), and send_keys() to interact with these. Follow the below steps to implement […]

Installing Selenium and Configuring Web Driver

This article setting up Selenium for web automation by installing the Selenium library using pip. Additionally, you’ll configure the required WebDriver (e.g., ChromeDriver or GeckoDriver) to interact with web browsers, ensuring your environment is ready for seamless browser automation. Install Selenium via pip Verify the installation Download the Appropriate WebDriver Selenium requires a browser-specific WebDriver […]

Selenium Python Example: How to run your first Test?

This activity involves automating a simple web interaction using Selenium. In this case, we’ll perform the following tasks: Prerequisites To run Selenium Python Tests here are the steps to follow: Import Necessary Librarie from selenium import webdriverimport time webdriver: This module provides the tools to control web browsers using Selenium. time: Standard Python library used […]

JUnit5: The Test Lifecycle

In JUnit 5, lifecycle methods are special methods that manage tests’ setup and teardown process. They allow developers to perform tasks before and after each test or the entire test suite. This helps prepare the test environment and clean up resources afterwards. The process is driven through four primary annotations  that are @BeforeAll, @BeforeEach, @AfterEach, and […]

Scroll to top