-
-
Notifications
You must be signed in to change notification settings - Fork 582
Update dropdown selection based on PressKey #1130
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
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||||
PR Type
Enhancement
Description
Add keyboard navigation support for dropdown selection
Implement PressKey-based dropdown interaction as alternative to clicking
Maintain backward compatibility with existing click-based selection
Improve dropdown handling flexibility in web automation
Diagram Walkthrough
flowchart LR A["Click Dropdown"] --> B{"PressKey Available?"} B -->|Yes| C["Press Key + Enter"] B -->|No| D["Locate Option by Text"] D --> E["Click Option"] C --> F["Selection Complete"] E --> FFile Walkthrough
PlaywrightWebDriver.DoAction.cs
Enhanced dropdown selection with keyboard navigationsrc/Plugins/BotSharp.Plugin.WebDriver/Drivers/PlaywrightDriver/PlaywrightWebDriver.DoAction.cs
PressKeyproperty in dropdownactions
PressKeyfollowed by Enter key