ABCDE
1
Top 295+ Selenium Interview Questions
2
3
4
5
6
Selenium Interview Questions for Freshers
7
What is selenium?
8
Why is Selenium widely used in the software industry?
9
What are the components of selenium?
10
How does Selenium WebDriver work?
11
Which language is not supported by Selenium?
12
What are the programming languages supported by selenium?
13
What is the importance of XPATH in selenium?
14
What is a locator in selenium? Explain
15
What is a test suite in Selenium?
16
How to run multiple test cases in Selenium? Explain
17
How to run a specific test case in Selenium?
18
How to handle multiple tabs in Selenium?
19
How to handle state elements in Selenium?
20
What is the purpose of a wait statement in Selenium?
21
How to handle dynamic dropdowns in Selenium?
22
What is the difference between XPath and CSS selectors in Selenium?
23
How to capture screenshots in Selenium?
24
How to handle browser alerts in Selenium?
25
How to handle browser alert in Selenium?
26
How to handle browser authentication pop-ups in Selenium?
27
How to handle HTTP errors in Selenium?
28
How to create a data-driven test in Selenium?
29
How to read data from an Excel sheet in Selenium?
30
How to generate a test report in Selenium ?
31
How to run Selenium tests in parallel?
32
How to refresh a browser window in Selenium?
33
What is the difference between get() and navigate() in Selenium?
34
How to use Actions class in Selenium ?
35
What is the difference between getText() and getAttribute() in Selenium ?
36
What is a hard assertion in Selenium?
37
What is a CSS selector in Selenium?
38
What is the difference between a class and an ID in CSS?
39
What is the difference between a tag and an attribute in CSS?
40
How to inspect elements in a web page using Selenium?
41
What is a WebElement in Selenium ?
42
What is a WebDriver instance in Selenium?
43
What is the use of driver.get() method in Selenium?
44
What is the use of driver.findElement() method in Selenium?
45
What is the use of driver.quit() method in Selenium?
46
What is the use of driver.close() method in Selenium?
47
What is a browser profile in Selenium?
48
How to create a browser profile in Selenium?
49
What is a ChromeOptions class in Selenium?
50
How to set up ChromeOptions in Selenium?
51
What is a FirefoxProfile class in Selenium?
52
How to set up FirefoxProfile in Selenium?
53
What is the use of Implicit Wait in Selenium?
54
What is the use of Explicit Wait in Selenium?
55
What is the main disadvantage of implicit wait?
56
How to implement Page Object Model in Selenium?
57
What are the advantages of using Selenium?
58
What are the Selenium suite components?
59
What are the testing types supported by Selenium?
60
What is the difference between Selenium 2.0 and Selenium 3.0?
61
What is the same-origin policy and how is it handled?
62
What are the types of waits supported by WebDriver?
63
Mention the types of navigation commands
64
What is the major difference between driver.close() and driver.quit()?
65
What makes Selenium such a widely used testing tool? Give reasons
66
What's new in Selenium 4.0?
67
List out the technical challenges with Selenium?
68
What are the disadvantages of Selenium?
69
Why should testers opt for Selenium and not QTP?
70
What are the four parameters you have to pass in Selenium?
71
What is the difference between setSpeed() and sleep() methods?
72
How can you “submit” a form using Selenium?
73
What is an Object Repository?
74
List out different types of locators?
75
Explain how you can use the recovery scenario with Selenium?
76
Explain how you can debug the tests in Selenium IDE?
77
What are the limitations of Selenium IDE?
78
What are the two modes of views in Selenium IDE?
79
In Selenium IDE, what are the element locators that can be used to locate the elements on a web page?
80
In Selenium IDE, can you generate random numbers and dates for test data?
81
How can you convert any Selenium IDE tests from Selenese to another language?
82
Using Selenium IDE, is it possible to get data from a particular HTML table cell?
83
What are core extensions in Selenium IDE?
84
How will you handle working with multiple windows in Selenium?
85
What is Selenium RC?
86
Why is Selenium RC used?
87
What are the advantages of RC?
88
Explain what is framework and what are the frameworks available in RC?
89
How can we handle pop-ups in RC?
90
How do you identify an object using selenium?
91
Explain why to choose Python over Java in Selenium
92
Mention what are Listeners in Selenium WebDriver?
93
Mention what are the advantages of Using Github For Selenium?
94
What is the latest version of Selenium?
95
What is a Hub in Selenium Grid?
96
What is a node in Selenium Grid?
97
How many parameters can selenium commands have at minimum?
98
What are the Open-source Frameworks supported by Selenium WebDriver?
99
What is context Node ?
100
Can you explain the line of code WebDriver driver = new FirefoxDriver();?