@@ -222,7 +222,7 @@ def wait_until_page_does_not_contain(
222222 @keyword
223223 def wait_until_page_contains_element (
224224 self ,
225- locator : Union [WebElement , None , str ],
225+ locator : Union [WebElement , str ],
226226 timeout : Optional [timedelta ] = None ,
227227 error : Optional [str ] = None ,
228228 limit : Optional [int ] = None ,
@@ -260,7 +260,7 @@ def wait_until_page_contains_element(
260260 @keyword
261261 def wait_until_page_does_not_contain_element (
262262 self ,
263- locator : Union [WebElement , None , str ],
263+ locator : Union [WebElement , str ],
264264 timeout : Optional [timedelta ] = None ,
265265 error : Optional [str ] = None ,
266266 limit : Optional [int ] = None ,
@@ -298,7 +298,7 @@ def wait_until_page_does_not_contain_element(
298298 @keyword
299299 def wait_until_element_is_visible (
300300 self ,
301- locator : Union [WebElement , None , str ],
301+ locator : Union [WebElement , str ],
302302 timeout : Optional [timedelta ] = None ,
303303 error : Optional [str ] = None ,
304304 ):
@@ -321,7 +321,7 @@ def wait_until_element_is_visible(
321321 @keyword
322322 def wait_until_element_is_not_visible (
323323 self ,
324- locator : Union [WebElement , None , str ],
324+ locator : Union [WebElement , str ],
325325 timeout : Optional [timedelta ] = None ,
326326 error : Optional [str ] = None ,
327327 ):
@@ -344,7 +344,7 @@ def wait_until_element_is_not_visible(
344344 @keyword
345345 def wait_until_element_is_enabled (
346346 self ,
347- locator : Union [WebElement , None , str ],
347+ locator : Union [WebElement , str ],
348348 timeout : Optional [timedelta ] = None ,
349349 error : Optional [str ] = None ,
350350 ):
@@ -372,7 +372,7 @@ def wait_until_element_is_enabled(
372372 @keyword
373373 def wait_until_element_contains (
374374 self ,
375- locator : Union [WebElement , None , str ],
375+ locator : Union [WebElement , str ],
376376 text : str ,
377377 timeout : Optional [timedelta ] = None ,
378378 error : Optional [str ] = None ,
@@ -396,7 +396,7 @@ def wait_until_element_contains(
396396 @keyword
397397 def wait_until_element_does_not_contain (
398398 self ,
399- locator : Union [WebElement , None , str ],
399+ locator : Union [WebElement , str ],
400400 text : str ,
401401 timeout : Optional [timedelta ] = None ,
402402 error : Optional [str ] = None ,
0 commit comments