🌈 搜索
📅  最后修改于: 2022-03-11 15:02:25.546000             🧑  作者: Mango
How do you handle Select type of dropdown? - If it is we would have to use Select class from Selenium. - Methods to select from dropdown: Select s = new Select(element); - s.selectByVisibleText - s.selectByValue - s.selectByIndex --> How do we verify which option is selected in a dropdown? - If we want to get the currently selected option, we use getFirstSelectedOption() method.