Well done!

You have completed CSS Practice!

Quiz Question 1 of 3

Given the following HTML:

<html>
  <body>
    <div id="trick-question">
      <p></p>
      <div>
        <label>
          Got it!
          <input type="checkbox" name="got" />
          <input type="textbox" name="it" />
        </label>
      </div>
    </div>
  </body>
</html>

What would you put in the blank to fix the CSS locator to grab the text box?

const element = driver.findElement(By.css("#trick-question input_____"));

Choose the correct answer below:

Skip Quiz Review Video