Q. Which annotation is used to set up preconditions in TestNG with Selenium?
Solution:
@BeforeMethod runs setup code
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
@BeforeMethod runs setup code
Strengthen Your Practice with our comprehensive question bank.