Selenium2Library系列 keywords 之 _SelectElementKeywords 之 page_should_contain_list(self, locator, message='', loglevel='INFO')

     def page_should_contain_list(self, locator, message='', loglevel='INFO'):
"""Verifies select list identified by `locator` is found from current page. See `Page Should Contain Element` for explanation about `message` and
`loglevel` arguments. Key attributes for lists are `id` and `name`. See `introduction` for
details about locating elements.
"""
self._page_should_contain_element(locator, 'list', message, loglevel)

方法名:page_should_contain_list(self, locator, message='', loglevel='INFO')

相似方法:

公共方法 验证select list 存在于当前页面

接收参数:locator,message='',loglevel='INFO'

10行:使用_page_should_contain_element(locator, 'list', message, loglevel)

上一篇:PHP 使用 Redis


下一篇:EGL接口介绍-----Android OpenGL ES底层开发