单项选择题
在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()方法 -
单项选择题
JavaScript中,用来输出文本的方法是什么()
A.background-color
B.color
C.font-size
D.text-align -
单项选择题
在PyTest中,以下哪个选项用于将测试用例分组为一个测试集合()
A.pytest.testcase
B.pytest.case
C.pytest.suite
D.pytest.mark
