单项选择题
Selenium WebDriver如何判断元素是否已选择()
A.使用is_enabled()方法
B.使用is_selected()方法
C.使用is_used()方法
D.使用is_checked()方法
点击查看答案&解析
相关考题
-
单项选择题
Selenium WebDriver如何模拟鼠标悬停在元素上()
A.使用above_element()方法
B.使用move_to()方法
C.使用move_to_element()方法
D.使用get_attribute()方法 -
单项选择题
在Selenium WebDriver中,如何通过XML路径语言进行定位()
A.使用find_element_by_xpath()方法
B.使用find_element_by_css_selector()方法
C.使用find_element_by_xpath_name()方法
D.使用find_element_by_class_name()方法 -
单项选择题
在Selenium WebDriver中,如何切换到浏览器的iframe中()
A.使用switch_to_frame()方法
B.使用switch_to_window()方法
C.使用switch_to_alert()方法
D.使用switch_to_default_content()方法
