Which of the following is the correct syntax to use Select class?

48. Which of the following is the correct syntax to use Select class?

  1. Select dropdown = new Select(<WebElement>)
  2. select dropdown = new select(<Element>)
  3. Select dropdown = Select(<WebElement>)

Answer: A) Select dropdown = new Select(<WebElement>)

Explanation:

The correct syntax for the Select class is: Select dropdown = new Select(<WebElement>)

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.