Enhanced Mouse Control
The addition of RealMouseDownOptions and RealMouseUpOptions interfaces to src/commands/mouseDown.ts and src/commands/mouseUp.ts respectively provides more flexibility and parameters for accurate mouse control.
Inclusion of Delay Option in Swipe
The touchMoveDelay option has been included in the RealSwipeOptions interface and realSwipe function, both in src/commands/realSwipe.ts. This allows users to adjust the time delay during a swipe function, so interactions that require a certain pace can be accurately emulated.
Integration of Wait Function
The wait function has been added to src/utils.ts, src/commands/realSwipe.ts, and src/commands/realType.ts. This provides developers a way to introduce pauses in the execution for better simulation of real-world user interactions.
Updated Documentation
The documentation for the commands cyrealhover, realSwipe, and realType in src/index.d.ts has been augmented for clearer explanations and usage examples. This will help users of these commands understand their functions more readily.
PR Summary
Enhanced Mouse Control The addition of
RealMouseDownOptions
andRealMouseUpOptions
interfaces tosrc/commands/mouseDown.ts
andsrc/commands/mouseUp.ts
respectively provides more flexibility and parameters for accurate mouse control.Inclusion of Delay Option in Swipe The
touchMoveDelay
option has been included in theRealSwipeOptions
interface andrealSwipe
function, both insrc/commands/realSwipe.ts
. This allows users to adjust the time delay during a swipe function, so interactions that require a certain pace can be accurately emulated.Integration of Wait Function The
wait
function has been added tosrc/utils.ts
,src/commands/realSwipe.ts
, andsrc/commands/realType.ts
. This provides developers a way to introduce pauses in the execution for better simulation of real-world user interactions.Updated Documentation The documentation for the commands
cyrealhover
,realSwipe
, andrealType
insrc/index.d.ts
has been augmented for clearer explanations and usage examples. This will help users of these commands understand their functions more readily.