单项选择题
如何在PyTest中验证HTTP响应的状态码()
A.使用response.get()
B.使用response.status()
C.使用response.status_code
D.使用response.code()
点击查看答案&解析
相关考题
-
单项选择题
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()方法
