|
_get_browser(self)
Returns Instance of the WebDriver browser |
source code
|
|
|
_set_browser(self,
browser)
Instance of the WebDriver browser |
source code
|
|
|
_get_homepage(self)
Instance of the WebDriver homepage |
source code
|
|
|
_set_homepage(self,
homepage)
Instance of the WebDriver homepage |
source code
|
|
|
|
|
|
|
|
|
generate_test_report(self,
request)
Generates HTML page with all the screenshots for a test case Supports
generating different When test cases are run multiple times with the
same arguments |
source code
|
|
|
navigate(self,
page,
save_screenshot=True)
Navigate to "page" |
source code
|
|
|
go_home(self,
save_screenshot=True)
Navigate to home page |
source code
|
|
|
save_screenshot(self,
description)
Saves screen shot for the current page |
source code
|
|
|
|
|
|
|
wait_for_element_to_be_visible(self,
locator_strategy,
locator_string,
error_msg=None,
timeout=10) |
source code
|
|
|
wait_for_element_to_be_clickable(self,
locator_strategy,
locator_string,
error_msg=None,
timeout=10) |
source code
|
|
|
wait_for_element_to_be_present(self,
locator_strategy,
locator_string,
error_msg=None,
timeout=10) |
source code
|
|
|
wait_for_element_to_be_selected(self,
locator_strategy,
locator_string,
error_msg=None,
timeout=10) |
source code
|
|
|
wait_for_element_to_be_invisible(self,
locator_strategy,
locator_string,
error_msg=None,
timeout=10) |
source code
|
|
|
wait_for_test_to_be_present_in_element(self,
locator_strategy,
locator_string,
text,
error_msg=None,
timeout=10) |
source code
|
|
|
wait_for_test_to_be_present_in_element_value(self,
locator_strategy,
locator_string,
text,
error_msg=None,
timeout=10) |
source code
|
|
Inherited from PytestTester.PytestTester :
log
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__init__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|