-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[dotnet] [bidi] Support SetScreenSettingsOverrideAsync method in Emulation module #16704
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
[dotnet] [bidi] Support SetScreenSettingsOverrideAsync method in Emulation module #16704
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||
PR Code Suggestions ✨No code suggestions found for the PR. |
|
Honestly I don't know what is the best approach to ship binding without internal testing: remote end doesn't support it (yet?). Merging it with assumption we will return to it and unignore tests. |
User description
https://w3c.github.io/webdriver-bidi/#command-emulation-setScreenSettingsOverride
💥 What does this PR do?
Adds
SetScreenSettingsOverrideAsyncmethod in Emulation module.🔄 Types of changes
PR Type
Enhancement
Description
Adds
SetScreenSettingsOverrideAsyncmethod to Emulation moduleImplements command, parameters, options, and result types
Includes comprehensive test coverage with browser compatibility checks
Diagram Walkthrough
File Walkthrough
EmulationModule.cs
Add SetScreenSettingsOverrideAsync method implementationdotnet/src/webdriver/BiDi/Emulation/EmulationModule.cs
SetScreenSettingsOverrideAsyncmethod following existing patternSetScreenSettingsOverrideCommandandSetScreenSettingsOverrideResultfor JSON serializationSetScreenSettingsOverrideCommand.cs
Implement SetScreenSettingsOverride command and related typesdotnet/src/webdriver/BiDi/Emulation/SetScreenSettingsOverrideCommand.cs
SetScreenSettingsOverrideCommandfor BiDicommunication
SetScreenSettingsOverrideParametersrecord withScreenAreaproperty
SetScreenSettingsOverrideOptionswith context and usercontext support
ScreenArearecord with width and height propertiesSetScreenSettingsOverrideResultas empty result typeEmulationTest.cs
Add test for SetScreenSettingsOverride functionalitydotnet/test/common/BiDi/Emulation/EmulationTest.cs
CanSetScreenSettingsOverrideto verify functionalityFirefox
ScreenAreaparameter and context options