Skip to content

Commit

Permalink
added fix for Page Should Contain Element not accepting lists
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriverweij committed Nov 18, 2023
1 parent 7dd3766 commit c5a101c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SeleniumLibrary/keywords/element.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def page_should_contain(self, text: str, loglevel: str = "TRACE"):
@keyword
def page_should_contain_element(
self,
locator: Union[WebElement, str],
locator: Union[WebElement, str, list[Union[WebElement,str]]],
message: Optional[str] = None,
loglevel: str = "TRACE",
limit: Optional[int] = None,
Expand Down

0 comments on commit c5a101c

Please sign in to comment.