forked from florentbr/SeleniumBasic
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_Mouse.cs
More file actions
28 lines (19 loc) · 831 Bytes
/
_Mouse.cs
File metadata and controls
28 lines (19 loc) · 831 Bytes
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
using System.ComponentModel;
using System.Runtime.InteropServices;
namespace Selenium.ComInterfaces {
#pragma warning disable 1591
[Guid("0277FC34-FD1B-4616-BB19-63F894CA99E9")]
[ComVisible(true), InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
public interface _Mouse {
[DispId(231), Description("")]
Mouse Click(MouseButton button = MouseButton.Left);
[DispId(234), Description("")]
Mouse ClickDouble();
[DispId(237), Description("")]
Mouse ClickAndHold(MouseButton button = MouseButton.Left);
[DispId(239), Description("")]
Mouse Release(MouseButton button = MouseButton.Left);
[DispId(243), Description("")]
Mouse MoveTo([MarshalAs(UnmanagedType.Struct)]WebElement element, int xoffset = 0, int yoffset = 0);
}
}