1×
Become a member
to unlock all features
Autoplay

    Find and Test Focused Input with Chrome’s DevTools in Cypress

    cypressCypress
    ^1.4.1

    In this lesson, we’ll add tests that finds a focused input. We’ll use Chrome’s dev tools from inside the Cypress runner to inspect the element and update our test to verify that the expected element is focused. We’ll see how Cypress can be used to test drive our application by creating a failing test and updating our application code to make it pass.