diff --git a/py/selenium/webdriver/remote/webelement.py b/py/selenium/webdriver/remote/webelement.py index fe2626a8f2817..d5752ca678180 100644 --- a/py/selenium/webdriver/remote/webelement.py +++ b/py/selenium/webdriver/remote/webelement.py @@ -93,7 +93,7 @@ def click(self) -> None: """Clicks the element.""" self._execute(Command.CLICK_ELEMENT) - def submit(self): + def submit(self) -> None: """Submits a form.""" script = ( "/* submitForm */var form = arguments[0];\n"