forked from florentbr/SeleniumBasic
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_TouchActions.cs
More file actions
51 lines (34 loc) · 1.64 KB
/
_TouchActions.cs
File metadata and controls
51 lines (34 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
using System;
using System.ComponentModel;
using System.Runtime.InteropServices;
namespace Selenium.ComInterfaces {
#pragma warning disable 1591
[Guid("0277FC34-FD1B-4616-BB19-D5DE929CF018")]
[ComVisible(true), InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
public interface _TouchActions {
[DispId(6112), Description("")]
TouchActions Wait(int timems);
[DispId(6117), Description("")]
TouchActions Tap([MarshalAs(UnmanagedType.Struct)]WebElement element);
[DispId(6121), Description("")]
TouchActions TapDouble([MarshalAs(UnmanagedType.Struct)]WebElement element);
[DispId(6125), Description("")]
TouchActions PressHold(int locationX, int locationY);
[DispId(6129), Description("")]
TouchActions PressRelease(int locationX, int locationY);
[DispId(6131), Description("")]
TouchActions TapLong([MarshalAs(UnmanagedType.Struct)]WebElement element);
[DispId(6137), Description("")]
TouchActions Flick(int speedX, int speedY);
[DispId(6143), Description("")]
TouchActions FlickFrom([MarshalAs(UnmanagedType.Struct)]WebElement element, int offsetX, int offsetY, int speed);
[DispId(6148), Description("")]
TouchActions Move(int locationX, int locationY);
[DispId(6153), Description("")]
TouchActions Scroll(int offsetX, int offsetY);
[DispId(6159), Description("")]
TouchActions ScrollFrom([MarshalAs(UnmanagedType.Struct)]WebElement element, int offsetX, int offsetY);
[DispId(6165), Description("Performs all stored Actions.")]
void Perform();
}
}