Showing posts with label Exception. Show all posts
Showing posts with label Exception. Show all posts

April 12, 2021

How to fix 'user data directory is already in use' exception in selenium

How to fix 'user data directory is already in use' exception in selenium

 If we have an SSO application and we want to login to the application with those credentials, we can use a small modification to our driver...

March 15, 2021

How to handle OpenQA.Selenium.ElementClickInterceptedException: element click intercepted

How to handle OpenQA.Selenium.ElementClickInterceptedException: element click intercepted

 This exception will be thrown by selenium mostly while loading a page. If our application is an angular application chance of this exceptio...

Fixing javascript error: Cannot read properties of null (reading 'querySelector') issue when using CSS identifier in selenium

 JavaScript is another way to interact with web elements when normal selenium methods fail to act. But one issue with javascript is, it does...