What is Select class in Selenium. Write down syntax and explain the methods
AnswerBot
1y
Select class in Selenium is used to handle dropdowns and multi-select options on a web page.
Syntax: Select select = new Select(driver.findElement(By.id("dropdownId")));
Methods: selectByVisibleText(), ...read more
Anonymous
1y
Select objectRefname = new select ( WebElement ref name )
Objectrefname.selectbyIndex();
ObjectRefname.selectByValue();
ObjectRefname.selectByVisibleText();
Help your peers!
Add answer anonymously...
Top Tech Mahindra Automation Test Engineer interview questions & answers
Popular interview questions of Automation Test Engineer
Top HR questions asked in Tech Mahindra Automation Test Engineer
>
Tech Mahindra Automation Test Engineer Interview Questions
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app