@@ -6,7 +6,7 @@ from selenium.webdriver.remote.webdriver import WebDriver
6
6
from selenium .webdriver .remote .webelement import WebElement
7
7
8
8
class SeleniumLibrary :
9
- def __init__ (self , timeout = timedelta (seconds = 5.0 ), implicit_wait = timedelta (seconds = 0.0 ), run_on_failure = 'Capture Page Screenshot' , screenshot_root_directory : Optional [Optional ] = None , plugins : Optional [Optional ] = None , event_firing_webdriver : Optional [Optional ] = None , page_load_timeout = timedelta (seconds = 300.0 ), action_chain_delay = timedelta (seconds = 0.25 )): ...
9
+ def __init__ (self , timeout = timedelta (seconds = 5.0 ), implicit_wait = timedelta (seconds = 0.0 ), run_on_failure = 'Capture Page Screenshot' , screenshot_root_directory : Optional [Optional ] = None , plugins : Optional [Optional ] = None , event_firing_webdriver : Optional [Optional ] = None , page_load_timeout = timedelta (seconds = 300.0 ), action_chain_delay = timedelta (seconds = 0.25 ), language : Optional [ Optional ] = None ): ...
10
10
def add_cookie (self , name : str , value : str , path : Optional [Optional ] = None , domain : Optional [Optional ] = None , secure : Optional [Optional ] = None , expiry : Optional [Optional ] = None ): ...
11
11
def add_location_strategy (self , strategy_name : str , strategy_keyword : str , persist : bool = False ): ...
12
12
def alert_should_be_present (self , text : str = '' , action : str = 'ACCEPT' , timeout : Optional [Optional ] = None ): ...
@@ -107,7 +107,7 @@ class SeleniumLibrary:
107
107
def mouse_out (self , locator : Union ): ...
108
108
def mouse_over (self , locator : Union ): ...
109
109
def mouse_up (self , locator : Union ): ...
110
- def open_browser (self , url : Optional [Optional ] = None , browser : str = 'firefox' , alias : Optional [Optional ] = None , remote_url : Union = False , desired_capabilities : Optional [Union ] = None , ff_profile_dir : Optional [Union ] = None , options : Optional [Any ] = None , service_log_path : Optional [Optional ] = None , executable_path : Optional [Optional ] = None ): ...
110
+ def open_browser (self , url : Optional [Optional ] = None , browser : str = 'firefox' , alias : Optional [Optional ] = None , remote_url : Union = False , desired_capabilities : Optional [Union ] = None , ff_profile_dir : Optional [Union ] = None , options : Optional [Any ] = None , service_log_path : Optional [Optional ] = None , executable_path : Optional [Optional ] = None , service : Optional [ Any ] = None ): ...
111
111
def open_context_menu (self , locator : Union ): ...
112
112
def page_should_contain (self , text : str , loglevel : str = 'TRACE' ): ...
113
113
def page_should_contain_button (self , locator : Union , message : Optional [Optional ] = None , loglevel : str = 'TRACE' ): ...
@@ -129,6 +129,7 @@ class SeleniumLibrary:
129
129
def page_should_not_contain_textfield (self , locator : Union , message : Optional [Optional ] = None , loglevel : str = 'TRACE' ): ...
130
130
def press_key (self , locator : Union , key : str ): ...
131
131
def press_keys (self , locator : Optional [Union ] = None , * keys : str ): ...
132
+ def print_page_as_pdf (self , filename : str = 'selenium-page-{index}.pdf' , background : Optional [Optional ] = None , margin_bottom : Optional [Optional ] = None , margin_left : Optional [Optional ] = None , margin_right : Optional [Optional ] = None , margin_top : Optional [Optional ] = None , orientation : Optional [Optional ] = None , page_height : Optional [Optional ] = None , page_ranges : Optional [Optional ] = None , page_width : Optional [Optional ] = None , scale : Optional [Optional ] = None , shrink_to_fit : Optional [Optional ] = None ): ...
132
133
def radio_button_should_be_set_to (self , group_name : str , value : str ): ...
133
134
def radio_button_should_not_be_selected (self , group_name : str ): ...
134
135
def register_keyword_to_run_on_failure (self , keyword : Optional ): ...
0 commit comments