forked from florentbr/SeleniumBasic
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_Utils.cs
More file actions
34 lines (24 loc) · 1.51 KB
/
_Utils.cs
File metadata and controls
34 lines (24 loc) · 1.51 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
using Selenium;
using System;
using System.ComponentModel;
using System.Runtime.InteropServices;
namespace Selenium.ComInterfaces {
#pragma warning disable 1591
[Guid("0277FC34-FD1B-4616-BB19-01D514FE0B1A")]
[ComVisible(true), InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
[Description("")]
public interface _Utils {
[DispId(265), Description("Get a screenshot of the desktop")]
Image TakeScreenShot();
[DispId(403), Description("Sends keystrokes to the active application using the windows SendKeys methode.")]
void SendKeysNat(string keys);
[DispId(407), Description("Indicates whether the regular expression finds a match in the input string using the regular expression specified in the pattern parameter.")]
bool IsMatch(string input, string pattern);
[DispId(410), Description("Searches the specified input string for an occurrence of the regular expression supplied in the pattern parameter.")]
string Match(string input, string pattern, short group = 0);
[DispId(413), Description("Searches the specified input string for all the occurrences of the regular expression supplied in the pattern parameter.")]
List Matches(string input, string pattern, short group = 0);
[DispId(423), Description("Searches the specified input string for an occurrence of the regular expression supplied in the pattern parameter and replace it.")]
string Replace(string input, string pattern, string replacement);
}
}