fuji-web icon indicating copy to clipboard operation
fuji-web copied to clipboard

Support dropdown

Open mondaychen opened this issue 1 year ago • 1 comments

We currently don’t support any kind of dropdown menu well

mondaychen avatar Mar 13 '24 22:03 mondaychen

One possible solution is to scan all select (with option as children) and [role="listbox"] (with [role="option"] as children) , and introduce a new type of annotation + new action type

Example annotation item:

label = "10" name = "Choose a city" tagName = "SELECT" options = ["New York", "Boston", "Paris", "London"]

Example action:

select(10, 'New York')

mondaychen avatar Mar 14 '24 00:03 mondaychen