1     def page_should_contain_list(self, locator, message='', loglevel='INFO'):
 2         """Verifies select list identified by `locator` is found from current page.
 3 
 4         See `Page Should Contain Element` for explanation about `message` and
 5         `loglevel` arguments.
 6 
 7         Key attributes for lists are `id` and `name`. See `introduction` for
 8         details about locating elements.
 9         """
10         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)

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-08
  • 2022-12-23
  • 2021-07-03
  • 2022-01-06
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-24
  • 2021-07-16
相关资源
相似解决方案