@@ -6,7 +6,7 @@ from selenium.webdriver.remote.webdriver import WebDriver
66from selenium .webdriver .remote .webelement import WebElement
77
88class 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 ), language : Optional [ Optional ] = None ): ...
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 )): ...
1010 def add_cookie (self , name : str , value : str , path : Optional [Optional ] = None , domain : Optional [Optional ] = None , secure : Optional [Optional ] = None , expiry : Optional [Optional ] = None ): ...
1111 def add_location_strategy (self , strategy_name : str , strategy_keyword : str , persist : bool = False ): ...
1212 def alert_should_be_present (self , text : str = '' , action : str = 'ACCEPT' , timeout : Optional [Optional ] = None ): ...
@@ -107,7 +107,7 @@ class SeleniumLibrary:
107107 def mouse_out (self , locator : Union ): ...
108108 def mouse_over (self , locator : Union ): ...
109109 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 , service : Optional [ Any ] = 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 ): ...
111111 def open_context_menu (self , locator : Union ): ...
112112 def page_should_contain (self , text : str , loglevel : str = 'TRACE' ): ...
113113 def page_should_contain_button (self , locator : Union , message : Optional [Optional ] = None , loglevel : str = 'TRACE' ): ...
@@ -129,7 +129,6 @@ class SeleniumLibrary:
129129 def page_should_not_contain_textfield (self , locator : Union , message : Optional [Optional ] = None , loglevel : str = 'TRACE' ): ...
130130 def press_key (self , locator : Union , key : str ): ...
131131 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 ): ...
133132 def radio_button_should_be_set_to (self , group_name : str , value : str ): ...
134133 def radio_button_should_not_be_selected (self , group_name : str ): ...
135134 def register_keyword_to_run_on_failure (self , keyword : Optional ): ...
0 commit comments