forked from florentbr/SeleniumBasic
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_TouchScreen.cs
More file actions
52 lines (35 loc) · 1.6 KB
/
_TouchScreen.cs
File metadata and controls
52 lines (35 loc) · 1.6 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
52
using System.ComponentModel;
using System.Runtime.InteropServices;
namespace Selenium.ComInterfaces {
#pragma warning disable 1591
[Guid("0277FC34-FD1B-4616-BB19-FFD6FAEF290A")]
[ComVisible(true), InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
public interface _TouchScreen {
[DispId(3423), Description("")]
bool IsPortrait();
[DispId(3427), Description("")]
void ToLandscape();
[DispId(3429), Description("")]
void ToPortrait();
[DispId(3432), Description("")]
TouchScreen FlickFrom([MarshalAs(UnmanagedType.Struct)]WebElement element, int xoffset, int yoffset, int speed);
[DispId(3435), Description("")]
TouchScreen Flick(int xspeed, int yspeed);
[DispId(3438), Description("")]
TouchScreen Move(int x, int y);
[DispId(3442), Description("")]
TouchScreen PressHold(int x, int y);
[DispId(3445), Description("")]
TouchScreen PressRelease(int x, int y);
[DispId(3447), Description("")]
TouchScreen ScrollFrom([MarshalAs(UnmanagedType.Struct)]WebElement element, int xoffset, int yoffset);
[DispId(3449), Description("")]
TouchScreen Scroll(int xoffset, int yoffset);
[DispId(3453), Description("")]
TouchScreen Tap([MarshalAs(UnmanagedType.Struct)]WebElement element);
[DispId(3459), Description("")]
TouchScreen TapDouble([MarshalAs(UnmanagedType.Struct)]WebElement element);
[DispId(3465), Description("")]
TouchScreen TapLong([MarshalAs(UnmanagedType.Struct)]WebElement element);
}
}