@@ -535,7 +535,7 @@ public async Task<DragData> DragAsync(decimal x, decimal y)
535535
536536 await ScrollIntoViewIfNeededAsync ( ) . ConfigureAwait ( false ) ;
537537 var start = await ClickablePointAsync ( ) . ConfigureAwait ( false ) ;
538- return await Page . Mouse . DragAsync ( start . x , start . y , x , y ) . ConfigureAwait ( false ) ;
538+ return await Page . Mouse . DragAsync ( start . X , start . Y , x , y ) . ConfigureAwait ( false ) ;
539539 }
540540
541541 /// <summary>
@@ -610,10 +610,10 @@ public async Task DragAndDropAsync(ElementHandle target, int delay = 0)
610610 await ScrollIntoViewIfNeededAsync ( ) . ConfigureAwait ( false ) ;
611611 var ( x , y ) = await ClickablePointAsync ( ) . ConfigureAwait ( false ) ;
612612 var targetPoint = await target . ClickablePointAsync ( ) . ConfigureAwait ( false ) ;
613- await Page . Mouse . DragAndDropAsync ( x , y , targetPoint . x , targetPoint . y , delay ) . ConfigureAwait ( false ) ;
613+ await Page . Mouse . DragAndDropAsync ( x , y , targetPoint . X , targetPoint . Y , delay ) . ConfigureAwait ( false ) ;
614614 }
615615
616- private async Task < ( decimal x , decimal y ) > ClickablePointAsync ( )
616+ private async Task < ( decimal X , decimal Y ) > ClickablePointAsync ( )
617617 {
618618 GetContentQuadsResponse result = null ;
619619
@@ -661,8 +661,8 @@ public async Task DragAndDropAsync(ElementHandle target, int delay = 0)
661661 }
662662
663663 return (
664- x : x / 4 ,
665- y : y / 4 ) ;
664+ X : x / 4 ,
665+ Y : y / 4 ) ;
666666 }
667667
668668 private IEnumerable < BoxModelPoint > IntersectQuadWithViewport ( IEnumerable < BoxModelPoint > quad , PageGetLayoutMetricsResponse viewport )
0 commit comments