[dotnet] [bidi] Add browsing context screencast support - #17941
Conversation
PR Summary by QodoAdd BiDi BrowsingContext screencast APIs for .NET
AI Description
Diagram
High-Level Assessment
Files changed (7)
|
Code Review by Qodo
1.
|
|
Passing locally. So awaiting new FF version. |
|
Awaiting #17923 (FF 154), then it should pass. |
|
Code review by qodo was updated up to the latest commit de4ef46 |
|
Code review by qodo was updated up to the latest commit e3ca8bc |
Ignoring FF for now to move further. |
StartSceencastStopScreencast💥 What does this PR do?
This pull request adds support for starting and stopping screencasts in the BiDi
BrowsingContextmodule, including new API methods, supporting types, and a test. The main changes introduce the ability to programmatically record the browser context and manage screencast sessions.New screencast functionality:
StartScreencastAsyncandStopScreencastAsyncmethods to theIBrowsingContextModuleinterface and implemented them inBrowsingContextModule, enabling clients to start and stop screencasts on a browsing context. [1] [2]StartScreencastOptions,StartScreencastResult, and related parameter/result types in the newStartScreencast.csfile, and similarly for stopping screencasts inStopScreencast.cs. These types define the options and results for screencast commands. [1] [2]Screencastrecord type, representing an active screencast session with aStopAsyncmethod to end the session.Integration and serialization:
Testing:
CanStartAndStopScreencast, to verify that screencast sessions can be started and stopped, and that the output file is managed correctly. The test currently ignores Chrome, Edge, and Firefox as they do not support this feature yet. [1] [2]🔧 Implementation Notes
Following existing pattern.
🔄 Types of changes