fix custom selection bugs (#800)
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
There is an input element on an HTML page. Based on the context and information provided, you have two goals:
|
||||
- Confirm if an auto-completion attempt appears after the user inputs the current value.
|
||||
- If auto-completion suggestions appear, assist the user in selecting the most appropriate element based on the user’s goal, details, and the context.
|
||||
- If auto-completion suggestions appear, assist the user in selecting the most appropriate element based on the user's goal, details, and the context.
|
||||
|
||||
You can confirm an auto-completion attempt based on the following rules:
|
||||
- Several auto-completion suggestions appear for the input value.
|
||||
- Although messages like “No results” and “No match” mean no option was matched, they still indicate an attempt to generate auto-completion suggestions.
|
||||
- Although messages like "No results" and "No match" mean no option was matched, they still indicate an attempt to generate auto-completion suggestions.
|
||||
|
||||
You must identify a potential auto-completion suggestion based on the following rules:
|
||||
- The option must be an element with an ID from the provided “HTML elements”. Do not create or assume options outside of these elements.
|
||||
- The content of the option must be meaningful. Do not consider non-message indicators like “No results” or “No match” as valid options.
|
||||
- The option must be an element with an ID from the provided "HTML elements". Do not create or assume options outside of these elements.
|
||||
- The content of the option must be meaningful. Do not consider non-message indicators like "No results" or "No match" as valid options.
|
||||
|
||||
MAKE SURE YOU OUTPUT VALID JSON. No text before or after JSON, no trailing commas, no comments (//), no unnecessary quotes, etc.
|
||||
Each interactable element is tagged with an ID.
|
||||
|
||||
@@ -2,10 +2,10 @@ You are performing a selection action on an HTML page. Assist the user in select
|
||||
|
||||
You can identify the matching element based on the following guidelines:
|
||||
1. Select the most suitable element based on the user goal, user details, and the context.
|
||||
2. If no option is a perfect match, choose a fallback option such as “Others” or “None of the above”.
|
||||
2. If no option is a perfect match, and there is a fallback option such as "Others" or "None of the above" in the DOM elements, you can consider it a match.
|
||||
3. If a field is required, do not leave it blank.
|
||||
4. If a field is required, do not select a placeholder value, such as “Please select”, “-”, or “Select…”.
|
||||
5. Exclude loading indicators like “loading more results” as valid options.
|
||||
4. If a field is required, do not select a placeholder value, such as "Please select", "-", or "Select…".
|
||||
5. Exclude loading indicators like "loading more results" as valid options.
|
||||
|
||||
MAKE SURE YOU OUTPUT VALID JSON. No text before or after JSON, no trailing commas, no comments (//), no unnecessary quotes, etc.
|
||||
Each interactable element is tagged with an ID.
|
||||
|
||||
@@ -2,7 +2,7 @@ There is a screenshot from a part of a web HTML page. Help me confirm if it is a
|
||||
|
||||
An open dropdown menu can be defined as:
|
||||
- At least one option is visible in the screenshot.
|
||||
- Do not consider it an open dropdown menu if the only visible option displays a message like “No results” or “No match”.
|
||||
- Do not consider it an open dropdown menu if the only visible option displays a message like "No results" or "No match".
|
||||
|
||||
MAKE SURE YOU OUTPUT VALID JSON. No text before or after JSON, no trailing commas, no comments (//), no unnecessary quotes, etc.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user