You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Actions that we can perform on to a fragment."""fromabcimportABC, abstractmethodfromtypingimportOptional, Sequencefrompy_web_gui.action.typesimportKey, ModificationKeyclassActionBase(ABC):
"""Actions that we can perform onto a fragment. Attributes: _css_query: CSS Query for fragment """def__init__(self, css_query: str):
"""Actions that we can perform onto a fragment. Args: css_query: CSS Query for fragment """self._css_query: str=css_query@abstractmethodasyncdeffill(self, text: str, time_wait: int=0) ->None:
"""Write text into the fragment. Args: text: What we want to write. time_wait: Time to wait for the action to complete. (Milliseconds) Raises: InvalidActionError: Fragment not support fill """pass
It fails me because this method doesn't throw the exception, but it's really just for documentation, and everyone who implements it should throw it.
The text was updated successfully, but these errors were encountered:
If I have the following code:
It fails me because this method doesn't throw the exception, but it's really just for documentation, and everyone who implements it should throw it.
The text was updated successfully, but these errors were encountered: