Selenium exceptions: the complete list and explanations

During automation in Selenium, you will come across various exceptions and need to deal with them. Even if you work with other automation testing tools such as Katalon Studio, you may still face these types of exceptions (because Katalon Studio is built on top of Selenium). They are, however, more easily fixable than bugs or errors as they can throw logical termination.

This article will provide you with a list of common exceptions in Selenium as well as the cases in which they occur.

But first, let’s have a look at some important information regarding the term “exception” in Selenium.

What are Selenium Exceptions?


An exception is known as an event, which occurs during the execution of a program, that disrupts the normal flow of the program’s instructions. An exception is also considered as a fault.

Classification of Selenium exceptions

Selenium exceptions are divided into two types including Checked Exceptions and Unchecked Exceptions.

1. Checked Exceptions

Checked Exceptions are handled during the process of writing codes. These exceptions are handled before compiling the code, therefore, such exceptions are examined at the compile time.

2. Unchecked Exceptions

These exceptions are thrown at runtime. Unchecked exceptions are more catastrophic than the compile-time exception as it causes problems while running Automation pack in headless.

The list of common exceptions in Selenium

1. RemoteDriverServerException: This Selenium exception is thrown when the server does not respond due to the problem that the capabilities described are not proper.

2. ScreenshotException: It is impossible to capture a screen.

3. ScriptTimeoutException: Thrown when executeAsyncScript takes more time than the given time limit to return the value.

4. SessionNotCreatedException: A new session could not be successfully created.

5. SessionNotFoundException: The WebDriver is performing the action right after you quit the browser.

6. StaleElementReferenceException: This Selenium exception happens if the web element is detached from the current DOM.

7. TimeoutException: Thrown when there is not enough time for a command to be completed.

8. UnableToCreateProfileException: You can open a browser with certain options using profiles, but sometimes a new version of Selenium driverserver or browser may not support the profiles.

9. WebDriverException: This takes place when the WebDriver is performing the action right after you close the browser.


“Exception” is a quite common term when it comes to programming, regardless of which language you use to write codes. Therefore, we have listed all types of exceptions in Selenium along with their explanations. From here, you can create robust and optimal codes in Selenium as well as Katalon Studio by handling these exceptions wisely. We hope this article will be a quick reference for you to tackle exceptions in Selenium and Katalon Studio.

Best Selenium Training in Gurgaon at Talent Plus Plus

Need of Selenium training

Are you looking for Selenium Training in Gurgaon? With the growth of technology many software are coming into the market every day that helps different companies in making their work easier. Different software reduces the cost production of numerous industries and help in earning huge profit. For this purpose IT companies always do research and develop advanced software for meeting different needs. However, while designing new software if there will be any fault will come in coding it will reduce the efficiency of the software and can also cause damage of life and property. Therefore, before launching any software into the market IT companies test the software designed by engineers. For this purpose IT companies need software testers, which validate the authenticity of different software.

Software testers are highly skilled professionals and due to this reason IT companies pay them huge salaries. Looking at the increasing demand of software testers and bright career opportunity many students and even working people join the software testing training programs. In order to join software testing programs first you need to complete basic level, which is manual testing course. Although, manual testing is now outdated in market but you need to know that before going to Selenium training, which advanced level of software testing course. If you are looking for best institution for Selenium training in Gurgaon then Talent Plus Plus will provide you best platform for getting best career opportunity. Let us see why we are the best institution for selenium automation training program.

Highly experienced faculties

At our institution all the faculties taking classes are from world’s leading IT companies. With their immense experience students can learn better about software testing techniques. Further, along with the course the faculties also share their real-life professional experience with the students, which can help students in getting best career opportunity. In addition, our faculties are also expert motivators who make the students prepare for facing different challenges that they face in their professional career. Thus, you can get world class software testing training at our institution.

Best timing for classes

We organize all our classes on weekends so that even if you work or study any other course it will easy for you attend our classes. Further, it will also ensure that you are not going to miss any of our classes. You will always feel comfortable while attending our classes and training module will be clear for you. It will help you in future when you will work as a professional software tester in any IT company.

More emphasis on practical training

At Talent Plus Plus all the theoretical classes are accompanied by practical training. Student at our institutions after completing each class do practical training on the things they have gone through. We also provide our students real case studies, which is based on the things that our faculties are teaching. At times we also provide mock tests to our students based on practical situation, which help them in their professional career in solving any kind of issues. 

Focus on each student

Our goal is not just to complete the courses in specified time duration but also focus on each student. Our faculties take care that each student must understand whatever they teach in their every class. Due to this, our all students are competent to answer every question during their interview. Further, we always allow two-way communications in our classes so that students can solve all their queries. 

Most economical feeTalent plus plus

Our course fee is very economical and you can complete Selenium training in Gurgaon with us in just Rs. 10,000. With us you can complete selenium training program in approximately 8 weeks. Thus, you can groom your career and reach the heights of success by paying nominal at our institution.

Give us a call at +91-9911449111 for a free demo class. Talent++ also provides Online Selenium Training which you can join from anywhere in the world.

Visit this for more details –

1 2 3