Recall & Review
beginner
What is Selenium primarily used for in software testing?
Selenium is a tool for automating web browsers to test web applications across different browsers and platforms.
Click to reveal answer
intermediate
How does Cypress differ from Selenium in terms of architecture?
Cypress runs inside the browser and executes tests in the same run loop as the application, while Selenium controls the browser externally via WebDriver.
Click to reveal answer
intermediate
What is a key advantage of Playwright over Selenium and Cypress?
Playwright supports multiple browsers (Chromium, Firefox, WebKit) with a single API and offers automatic waiting for elements, making tests more reliable.
Click to reveal answer
beginner
Which tool is best suited for testing modern JavaScript frameworks with fast feedback?
Cypress is often preferred for modern JavaScript frameworks because it provides fast test execution and easy debugging with real-time reloads.
Click to reveal answer
intermediate
What is a limitation of Selenium compared to Cypress and Playwright?
Selenium can be slower and less reliable due to its external control of browsers and requires more setup for modern web app features like automatic waits.
Click to reveal answer
Which tool runs tests inside the browser's JavaScript runtime?
✗ Incorrect
Cypress runs tests inside the browser's JavaScript runtime, unlike Selenium and Playwright which control browsers externally.
Which tool supports testing on WebKit browsers like Safari?
✗ Incorrect
Playwright supports Chromium, Firefox, and WebKit browsers, enabling testing on Safari.
Which tool requires a WebDriver to communicate with browsers?
✗ Incorrect
Selenium uses WebDriver to control browsers externally.
Which tool provides automatic waiting for elements to be ready before actions?
✗ Incorrect
Playwright automatically waits for elements to be ready, improving test reliability.
Which tool is known for fast test execution and easy debugging with real-time reloads?
✗ Incorrect
Cypress offers fast test execution and real-time reloads for easy debugging.
Explain the main architectural differences between Selenium, Cypress, and Playwright.
Think about where the test code runs and how the tool interacts with the browser.
You got /3 concepts.
Describe scenarios where you might choose Cypress over Selenium or Playwright.
Consider developer experience and speed.
You got /3 concepts.