Category: Selenium

Selenium WebDriver with Java Interview Questions – Part 1

Table of Contents 1. What is Automation Testing? 2. What is Selenium Webdriver? 3. I have a use case that I need to execute some of the tests only once, I don’t have to execute these tests in the future, Should I use selenium Webdriver for this? 4. Explain Selenium Webdriver Architecture with Selenium 4. […]

Selenium 4 Feature: Chrome Dev Tools Protocol

Table of Contents What is Chrome Dev Tool? What are the Advantageous of Chrome Developer Tools? Inspect the Element / Elements Tab Toggle Device Performance Console Sources Network Memory Application Security LightHouse Chrome Dev Tools Protocol How to use Chrome Dev Tools Protocol in Selenium 4 What is the difference between Selenium 4 send() and […]

Selenium 4 Key Feature: Network Interception

Table of Contents Capture Network Request in Selenium 4 Capturing Network Response with CDP in Selenium 4 Blocking URL using Chrome DevTools Protocol in Selenium Loading Insecure Website using CDP in Selenium 4 Network Emulation and Controlling Network Speed using CDP in Selenium 4 Mock API using Chrome DevTools Protocol in Selenium 4 Selenium is […]

Selenium 4 Key features, What’s New!

Table of Contents Selenium 4 W3C Protocol Selenium IDE Enhanced Support for Selenium Grid Relative Locators Support for Chrome Debugging Tool What is the difference between send() and executeCdpCommand ()? Enhanced  Window/Tab Management in Selenium 4 Improved Documents Rich Actions Class Screenshot Options in Selenium 4 Network Interception. Selenium is the most used automation tool […]

Difference Between Cypress and Selenium

Table of Contents What is Cypress? What is Selenium? Cypress Test Automation Tool Advantages of Cypress Disadvantage of Cypress Selenium Test Automation Tool Advantages of Selenium Disadvantages of Selenium: Cypress and Selenium Similarities Cypress and Selenium Difference at a glance The world of test automation is expanding every day, new tools are getting added and […]

XPath in Selenium WebDriver

How to find XPath In Selenium automation, if the elements are not found by the general locators like id, class, name, etc. then XPath is used to find an element on the web page. Xpath is most common used locator technique if general locators cannot be used. In this we would learn what is XPath […]

How to Read/ Write data from Excel for Selenium DataDriven tests in Python

Introduction to Excel Data Driven Testing To interact with excel in Python is a straightforward process. We have to use the openpyxl library in Python which helps to read/write in excel. This package is not available by default in the installed Python packages. We have to download by running the command pip install openpyxl from […]

How to do Logging in Selenium Tests using Python Logging Framework

We shall discuss how to introduce logging to our tests and how logging is important. After execution of test cases if we want to know the failures and how the test execution has taken place, we look at the test reports. However, if we want to investigate why the failures have taken place we should […]

End to End Practice Project with Complete methods in Selenium Python

We shall now discuss one functional automation scenario in the application with the link: https://rahulshettyacademy.com/angularpractice/shop Selecting a Product from the list of Products with Product Name parameter Let us obtain all the list of product names along with their prices. Let us spy on one of the products and analyze the html code. Each of […]

JavaScript Executor and Chrome Options in Selenium Python

Table of Contents Javascript Executor and Why do we need them Code Implementation Examples of JavaScript Executor for various Web Operations Code Implementation Code Implementation Conclusion Chrome Options and importance in Selenium Code Implementation Conclusion Within the Selenium Python miscellaneous topics we shall be covering Javascript executor and some of the examples on Javascript Executor. […]