Skip to content

Commit 81974bb

Browse files
committed
Define Match in InnerTextLocator
1 parent 5e35634 commit 81974bb

File tree

1 file changed

+7
-7
lines changed
  • dotnet/src/webdriver/BiDi/Modules/BrowsingContext

1 file changed

+7
-7
lines changed

dotnet/src/webdriver/BiDi/Modules/BrowsingContext/Locator.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@ public record InnerTextLocator(string Value) : Locator
4343
{
4444
public bool? IgnoreCase { get; set; }
4545

46-
public MatchType? MatchType { get; set; }
46+
public Match? MatchType { get; set; }
4747

4848
public long? MaxDepth { get; set; }
49+
50+
public enum Match
51+
{
52+
Full,
53+
Partial
54+
}
4955
}
5056

5157
public record XPathLocator(string Value) : Locator;
52-
53-
public enum MatchType
54-
{
55-
Full,
56-
Partial
57-
}

0 commit comments

Comments
 (0)