This description was created by Ellipsis for commit ecd7cef40b36ec8c3bb53cf5b94c793a7fca0e1d
Summary:
Refactored handle_select_option_action to check for already selected options in normal_select and updated getSelectOptions to return the selected option's text.
Key points:
Updated handle_select_option_action in skyvern/webeye/actions/handler.py to remove the check for already selected options.
Moved the check for already selected options to normal_select in skyvern/webeye/actions/handler.py.
Modified getSelectOptions in skyvern/webeye/scraper/domUtils.js to return the selected option's text along with the options list.
Added handling for selected attribute in buildTreeFromBody in skyvern/webeye/scraper/domUtils.js.
Summary:
Refactored
handle_select_option_action
to check for already selected options innormal_select
and updatedgetSelectOptions
to return the selected option's text.Key points:
handle_select_option_action
inskyvern/webeye/actions/handler.py
to remove the check for already selected options.normal_select
inskyvern/webeye/actions/handler.py
.getSelectOptions
inskyvern/webeye/scraper/domUtils.js
to return the selected option's text along with the options list.selected
attribute inbuildTreeFromBody
inskyvern/webeye/scraper/domUtils.js
.Generated with :heart: by ellipsis.dev