Skip to content

Commit

Permalink
Fixed missing type cast
Browse files Browse the repository at this point in the history
  • Loading branch information
ericbsd committed Jun 7, 2024
1 parent 28a82cf commit 0061a96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions keywords/webui/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -998,7 +998,7 @@ def is_file_downloaded(cls, download_path: str, filename: str) -> bool:
return file.is_file()

@classmethod
def is_input_visible(cls, name) -> bool:
def is_input_visible(cls, name: str) -> bool:
"""
This method returns True if the given input is visible, otherwise False.
Expand All @@ -1011,7 +1011,7 @@ def is_input_visible(cls, name) -> bool:
return cls.is_visible(xpaths.common_xpaths.input_field(cls.convert_to_tag_format(name)))

@classmethod
def is_link_visible(cls, name) -> bool:
def is_link_visible(cls, name: str) -> bool:
"""
This method returns True if the given link is visible, otherwise False.
Expand Down

0 comments on commit 0061a96

Please sign in to comment.