In the past, we have seen different ways to handle authentication in Selenium using AutoIT, Robot Class, and sometimes even using Actions class as well right. In Selenium 4 we have CDP support which allows us the bypass these credentials. If you are new to Chrome DevTools Protocol then I would recommend you to read official docs which will help you to … [Read more...] about Handle Authentication Pop Up in Selenium 4 using Chrome DevTools Protocols API
Advance Selenium
How To Execute Selenium Scripts On Already Opened Browser
There can be many scenarios where you need to run a Selenium test or script on an already opened browser for debugging purposes. If you want to start the Chrome browser in Selenium without any debugging mode then here is the detailed post and video on the same. To start the selenium test on the existing or already opened window we need to use Chrome DevTools … [Read more...] about How To Execute Selenium Scripts On Already Opened Browser
How to capture screenshot for failed test cases in Selenium Webdriver
Writing Selenium Webdriver script is not enough everyone can design a script nowadays. We need to design the script in such a way that we can utilize script code as much as possible. This article will talk about the Capture screenshot in selenium for failed test cases. I am a big fan of screenshots in Automation because it helps me a lot to identify the exact … [Read more...] about How to capture screenshot for failed test cases in Selenium Webdriver
How to Scroll into view in Selenium Webdriver
A few days back when I was automating my application I got one scenario where I had so many scroll bars into the single page itself and I had to scroll all bar one by one to get specific text which I had to validate. It was a little challenging to scroll for each element. In Selenium we can do this with scrollIntoView(true) which can scroll automatically till the specific … [Read more...] about How to Scroll into view in Selenium Webdriver
How to handle calendar in Selenium Webdriver and web table
In my recent projects, I have handled a web table and calendar multiple times and in this article, I will show you how you can handle the calendar in Selenium Webdriver using the table approach. I will use JQuery Date picker for example but you can take any example because the approach will remain the same. I will be using findElements methods to find all the dates and then … [Read more...] about How to handle calendar in Selenium Webdriver and web table