Skip to content

Commit

Permalink
Generate stub file for 5.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
aaltat committed Mar 13, 2021
1 parent 9974127 commit 7c660ed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
3 changes: 1 addition & 2 deletions gen_stub.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@ def keyword_line(keyword_arguments, keyword_types, method_name):
from datetime import timedelta
from typing import Any, Optional, Union
from selenium.webdriver.remote.webdriver import WebDriver
from selenium.webdriver.remote.webelement import WebElement
import selenium
class SeleniumLibrary:
"""
Expand Down
7 changes: 4 additions & 3 deletions src/SeleniumLibrary/__init__.pyi
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
from datetime import timedelta
from typing import Any, Optional, Union

from selenium.webdriver.remote.webdriver import WebDriver
from selenium.webdriver.remote.webelement import WebElement
import selenium

class SeleniumLibrary:
def __init__(
Expand Down Expand Up @@ -309,7 +308,9 @@ class SeleniumLibrary:
alias: Optional[str] = None,
remote_url: Union[bool, str] = False,
desired_capabilities: Optional[Union[dict, None, str]] = None,
ff_profile_dir: Optional[str] = None,
ff_profile_dir: Optional[
Union[selenium.webdriver.firefox.firefox_profile.FirefoxProfile, str, None]
] = None,
options: Optional[Any] = None,
service_log_path: Optional[str] = None,
executable_path: Optional[str] = None,
Expand Down

0 comments on commit 7c660ed

Please sign in to comment.