-
Notifications
You must be signed in to change notification settings - Fork 660
Support Dropdowns #674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Support Dropdowns #674
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
Added support for dropdown form elements through a new selectOption
action, demonstrated with a JotForm example that fills out a medical questionnaire.
- Added
SELECTOPTION
toSupportedPlaywrightAction
enum intypes/act.ts
for handling dropdown selections - Modified
lib/prompt.ts
to include dropdown-specific instructions inbuildActObservePrompt
- Added comprehensive example
examples/form_filling_jotform.ts
showcasing dropdown interactions with medical form fields - Added new
form-filling-jotform
script inpackage.json
to run the dropdown example
💡 (3/5) Reply to the bot's comments like "Can you suggest a fix for this @greptileai?" or ask follow-up questions!
4 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings | Greptile
const stagehand = new Stagehand({ | ||
...StagehandConfig, | ||
env: "LOCAL", | ||
modelName: "gpt-4o", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
syntax: modelName 'gpt-4o' appears to be a typo - should likely be 'gpt-4'
modelName: "gpt-4o", | |
modelName: "gpt-4", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No
This would be amazing to have, not supporting dropdown is a dealbreaker to us. |
why
Added support for dropdowns during form filling
what changed
test plan