1. What is Selenium?
Answer:
Selenium is an open-source automation testing tool used for testing web applications. It supports multiple browsers (Chrome, Firefox, Edge, etc.) and programming languages (Java, Python, C#, etc.).
---
2. What are the components of Selenium?
Answer:
1. Selenium IDE – Record and playback tool
2. Selenium WebDriver – For automating web applications using code
3. Selenium Grid – For parallel and distributed execution
4. Selenium RC (Remote Control) – Deprecated component
---
3. What is Selenium WebDriver?
Answer:
WebDriver is a library that allows direct communication between your automation script and the browser. It doesn’t rely on JavaScript for automation (unlike Selenium RC).
---
4. What are the advantages of Selenium?
Answer:
Open-source and free
Supports multiple languages and browsers
Integrates easily with tools like Maven, Jenkins, and TestNG
Supports parallel execution via Selenium Grid
---
5. What are the limitations of Selenium?
Answer:
Only supports web applications (no desktop/mobile apps directly)
No built-in reporting
Cannot handle CAPTCHA or OTP
Requires external tools for file upload/download or handling pop-ups
0