[dotnet] [bidi] Support SetClientWindowState in Browser module#15533
[dotnet] [bidi] Support SetClientWindowState in Browser module#15533nvborisenko wants to merge 10 commits intoSeleniumHQ:trunkfrom
Conversation
PR Reviewer Guide 🔍(Review updated until commit 0335935)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||
| [JsonSerializable(typeof(Modules.Browser.RemoveUserContextCommand))] | ||
| [JsonSerializable(typeof(Modules.Browser.GetClientWindowsCommand))] | ||
| [JsonSerializable(typeof(Modules.Browser.GetClientWindowsResult))] | ||
| [JsonSerializable(typeof(Modules.Browser.SetClientWindowStateCommand))] |
There was a problem hiding this comment.
I am not sure I have to add ClientWindowInfo type explicitly here, since it is already added by the code 3 lines below. @RenderMichael do you know? I cannot verify, the tests are ignored.
We can leave this PR opened until we verify how it works with real browser. At this moment I verified serialization only.
|
In draft because of not supported by browsers yet. |
PR Code Suggestions ✨No code suggestions found for the PR. |
User description
https://w3c.github.io/webdriver-bidi/#command-browser-setClientWindowState
Motivation and Context
Improve bidi coverage.
Types of changes
Checklist
PR Type
Enhancement
Description
• Add SetClientWindowState command support for BiDi Browser module
• Implement named state (fullscreen/maximized/minimized) and rect state options
• Add public API methods for setting client window states
• Include test coverage for new functionality
Changes walkthrough 📝
5 files
Add SetClientWindowState async methodsAdd BiDi reference and SetState methodsInherit from EmptyResult base classCreate new command with parameters and optionsAccept BiDi parameter in constructor1 files
Pass BiDi instance to converter1 files
Register SetClientWindowStateCommand for serialization1 files
Add tests for window state functionality