📜  selenium 中没有选择标签的下拉菜单 - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:46.127000             🧑  作者: Mango

代码示例1
If the dropdown list has no select tag, we cannot use the select class 
• Treat the dropdown list and its options as separate elements, 
locate every element separately 
• To select an option: 
o 1. Find and click on the list 
o 2. Find and click on the option