Skip to content

Commit 5874349

Browse files
committed
Generate stub file for 6.2.0rc1
1 parent 7469076 commit 5874349

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/SeleniumLibrary/__init__.pyi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class SeleniumLibrary:
2727
def close_browser(self): ...
2828
def close_window(self): ...
2929
def cover_element(self, locator: Union[selenium.webdriver.remote.webelement.WebElement, str]): ...
30-
def create_webdriver(self, driver_name: str, alias: Optional[Optional[str]] = None, kwargs = {}, **init_kwargs): ...
30+
def create_webdriver(self, driver_name: str, alias: Optional[Optional[str]] = None, kwargs: Optional[Optional[dict]] = None, **init_kwargs): ...
3131
def current_frame_should_contain(self, text: str, loglevel: str = 'TRACE'): ...
3232
def current_frame_should_not_contain(self, text: str, loglevel: str = 'TRACE'): ...
3333
def delete_all_cookies(self): ...
@@ -45,8 +45,8 @@ class SeleniumLibrary:
4545
def element_should_not_contain(self, locator: Union[selenium.webdriver.remote.webelement.WebElement, str], expected: Optional[str], message: Optional[Optional[str]] = None, ignore_case: bool = False): ...
4646
def element_text_should_be(self, locator: Union[selenium.webdriver.remote.webelement.WebElement, str], expected: Optional[str], message: Optional[Optional[str]] = None, ignore_case: bool = False): ...
4747
def element_text_should_not_be(self, locator: Union[selenium.webdriver.remote.webelement.WebElement, str], not_expected: Optional[str], message: Optional[Optional[str]] = None, ignore_case: bool = False): ...
48-
def execute_async_javascript(self, *code: Union[selenium.webdriver.remote.webelement.WebElement, str]): ...
49-
def execute_javascript(self, *code: Union[selenium.webdriver.remote.webelement.WebElement, str]): ...
48+
def execute_async_javascript(self, *code: Any): ...
49+
def execute_javascript(self, *code: Any): ...
5050
def frame_should_contain(self, locator: Union[selenium.webdriver.remote.webelement.WebElement, str], text: str, loglevel: str = 'TRACE'): ...
5151
def get_action_chain_delay(self): ...
5252
def get_all_links(self): ...

0 commit comments

Comments
 (0)