@@ -25,24 +25,24 @@ namespace OpenQA.Selenium.BiDi.Input;
2525
2626public sealed class InputModule : Module
2727{
28- public async Task < EmptyResult > PerformActionsAsync ( BrowsingContext . BrowsingContext context , IEnumerable < SourceActions > actions , PerformActionsOptions ? options = null )
28+ public async Task < PerformActionsResult > PerformActionsAsync ( BrowsingContext . BrowsingContext context , IEnumerable < SourceActions > actions , PerformActionsOptions ? options = null )
2929 {
3030 var @params = new PerformActionsParameters ( context , actions ) ;
3131
32- return await Broker . ExecuteCommandAsync ( new PerformActionsCommand ( @params ) , options , JsonContext . PerformActionsCommand , JsonContext . EmptyResult ) . ConfigureAwait ( false ) ;
32+ return await Broker . ExecuteCommandAsync ( new PerformActionsCommand ( @params ) , options , JsonContext . PerformActionsCommand , JsonContext . PerformActionsResult ) . ConfigureAwait ( false ) ;
3333 }
3434
35- public async Task < EmptyResult > ReleaseActionsAsync ( BrowsingContext . BrowsingContext context , ReleaseActionsOptions ? options = null )
35+ public async Task < ReleaseActionsResult > ReleaseActionsAsync ( BrowsingContext . BrowsingContext context , ReleaseActionsOptions ? options = null )
3636 {
3737 var @params = new ReleaseActionsParameters ( context ) ;
3838
39- return await Broker . ExecuteCommandAsync ( new ReleaseActionsCommand ( @params ) , options , JsonContext . ReleaseActionsCommand , JsonContext . EmptyResult ) . ConfigureAwait ( false ) ;
39+ return await Broker . ExecuteCommandAsync ( new ReleaseActionsCommand ( @params ) , options , JsonContext . ReleaseActionsCommand , JsonContext . ReleaseActionsResult ) . ConfigureAwait ( false ) ;
4040 }
4141
42- public async Task < EmptyResult > SetFilesAsync ( BrowsingContext . BrowsingContext context , Script . ISharedReference element , IEnumerable < string > files , SetFilesOptions ? options = null )
42+ public async Task < SetFilesResult > SetFilesAsync ( BrowsingContext . BrowsingContext context , Script . ISharedReference element , IEnumerable < string > files , SetFilesOptions ? options = null )
4343 {
4444 var @params = new SetFilesParameters ( context , element , files ) ;
4545
46- return await Broker . ExecuteCommandAsync ( new SetFilesCommand ( @params ) , options , JsonContext . SetFilesCommand , JsonContext . EmptyResult ) . ConfigureAwait ( false ) ;
46+ return await Broker . ExecuteCommandAsync ( new SetFilesCommand ( @params ) , options , JsonContext . SetFilesCommand , JsonContext . SetFilesResult ) . ConfigureAwait ( false ) ;
4747 }
4848}
0 commit comments