Selenium - The Test Tribe

Tag: Selenium

Taking Screenshots in Selenium [with Code]

In the automation testing field, capturing screenshots is very important to verify the behaviour of different aspects of an application. Screenshots are visual evidence that helps testers verify application behaviour, identify issues, and improve test documentation. Selenium WebDriver, a popular tool for automating web applications,…

00
How to Drag and Drop Elements When Using Selenium WebDriver?

When automating web applications with Selenium WebDriver, there are different scenarios where drag-and-drop functionality is needed. This occurs in test cases for applications featuring interactive UI elements, such as file uploaders, dashboards, Kanban boards, or drag-and-drop forms. This helps users move elements as expected without…

00
Using Apache POI to Read Data from Excel in Selenium

Data management is one of the most important aspects of Selenium test automation, as it allows for the perfect reading and writing of files. One simple method is using Excel files to store and retrieve test data. Apache POI (Poor Obfuscation Implementation) is a powerful…

00
CSS Selectors in Selenium Explained (with Examples)

One of the most important tasks when automating web applications using Selenium is locating elements efficiently. CSS Selectors are one of the most powerful and preferred ways to locate elements due to their speed and flexibility. They provide a concise syntax to identify elements based…

Using JavaScriptExecutor in Selenium for Enhanced Browser Automation

JavaScriptExecutor executes JavaScript code directly within the browser. Using JavaScriptExecutor in Selenium, testers can perform advanced automation tasks like scrolling, clicking hidden elements, handling alerts, and manipulating the Document Object Model (DOM). This makes it an important tool for improving browser testing features. Read further…

How to Handle iFrames and Frames in Selenium WebDriver?

Frames and iFrames (Inline Frames) are regularly used in web pages to embed content from external sources or divide a page into multiple sections. Handling frames and iFrames is a common challenge during test automation for the Selenium WebDriver, as switching between different contexts within…

00
Understanding the Action Class in Selenium and How to Handle It?

While Selenium WebDriver provides essential functions like clicking elements and sending text, there are situations where more advanced functions are needed. The Action Class in Selenium is an advanced feature in the Selenium WebDriver that provides an API for performing complex user interactions like mouse…

00
What is Stale Element Reference Exception in Selenium (and How to Handle It?)

What is the Stale Element Reference Exception in Selenium? Why Does the Stale Element Reference Exception Happen? Common Scenarios Leading to Stale Element Reference Prevention Strategies for Stale Element Reference How to Avoid a StaleElementReferenceException? Best Practices for Preventing Stale Element Issues Handling StaleElementReferenceException Debugging…

00
Load More
[sibwp_form id=2]
The Test Tribe Logo
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.