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
If I have the following code, it gives me error because it is not documented error in Raises, but it should document PlaywrightError instead of error
asyncdeffill(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 that executes those keys to complete. (Milliseconds) Raises: InvalidActionError: Fragment not support fill """try:
awaitself.__fragment.fill(text)
awaitasyncio.sleep(time_wait/1000)
exceptPlaywrightErroraserror:
if"Element is not an <input>, <textarea> or [contenteditable] element"inerror.message:
raiseInvalidActionError(self._css_query, "fill")
raiseerror
The text was updated successfully, but these errors were encountered:
If I have the following code, it gives me error because it is not documented error in Raises, but it should document PlaywrightError instead of error
The text was updated successfully, but these errors were encountered: