What are some introductory Selenium interview questions for beginners?
Why is the name Selenium used for this library?
How does Selenium work? what is it exactly?
Why do you need it?
What does it do?
What are the cons of using the Selenium library?
Why should you use Selenium WebDriver instead of a codeless automation tool?
What are the benefits of implementing Selenium automation?
How can you use Selenium WebDriver for API automation?
What is WebDriver?
What is the difference between WebDriver, ChromeDriver, FirefoxDriver?
What is WebElement?
What is By?
What is an implicit wait? Should you use one?
What is an explicit wait? Should you use one?
How do you write a Selenium test?
What are some attributes of a good Selenium test?
How do you decide if a test case should be automated or not?
How do you run the same automated test multiple times?
What are all different ways of finding an element in Selenium?
How does Page Object Model work?
Why do you need a unit testing framework such as Test NG?
Why do you need assertions?
How do you synchronize a Selenium test with the site?
Why do Selenium tests fail?
Why are Selenium tests unstable?
How do you choose what type of locator to use for finding an element?
Why do you need test fixtures?
Should tests share the same browser?
How do you check if a page is displayed in the browser?
How do you wait until the number of results displayed in the page is greater than 0?
How do you make sure that an automated test does not exceed 5 minutes execution time?
How do you reduce the size of a Selenium test?
When are you done working on a Selenium test?
How do you choose what Expected Condition to use for a specific element that the test should work with?
What is the difference in TestNG between BeforeMethod, BeforeClass and BeforeTest?
When should a page method use void in its signature?
When should a page method return a value?
When should a page method be private?
Should page class fields be private, protected or public? Explain your answer.
When should you use JavascriptExecutor?