This description was created by Ellipsis for commit 0d6c925464c6954966b4e87be4ed8806a1eac411
Summary:
Fixes file upload bug in chain_click by adding WrongElementToUploadFile exception, handling cases where file chooser dialog is not triggered, and updating fc_func to be asynchronous.
Key points:
Added WrongElementToUploadFile exception in skyvern/exceptions.py.
Modified chain_click function in skyvern/webeye/actions/handler.py to handle cases where file chooser dialog is not triggered.
Introduced is_filechooser_trigger flag to track if file chooser is triggered.
Updated fc_func in chain_click to be asynchronous.
Added logging and return ActionFailure with WrongElementToUploadFile if file chooser is not triggered.
Summary:
Fixes file upload bug in
chain_click
by addingWrongElementToUploadFile
exception, handling cases where file chooser dialog is not triggered, and updatingfc_func
to be asynchronous.Key points:
WrongElementToUploadFile
exception inskyvern/exceptions.py
.chain_click
function inskyvern/webeye/actions/handler.py
to handle cases where file chooser dialog is not triggered.is_filechooser_trigger
flag to track if file chooser is triggered.fc_func
inchain_click
to be asynchronous.ActionFailure
withWrongElementToUploadFile
if file chooser is not triggered.Generated with :heart: by ellipsis.dev