Skip to content

Commit a375f3d

Browse files
authored
Merge pull request #95 from unoplatform/kazo0-patch-1
2 parents 1ad309b + ff5a651 commit a375f3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Uno.UITest.Puppeteer/SeleniumAppQuery.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ IAppQuery IAppQuery.Descendant(string className)
6363
IAppQuery IAppQuery.Frame(string cssSelector) => throw new System.NotImplementedException();
6464

6565
IAppQuery IAppQuery.Id(string id)
66-
=> Apply(() => _queryItems.Add(new SearchQueryItem($"//*[id='{id}']")));
66+
=> Apply(() => _queryItems.Add(new SearchQueryItem($"//*[@id='{id}']")));
6767

6868
IAppQuery IAppQuery.Id(int id)
69-
=> Apply(() => _queryItems.Add(new SearchQueryItem($"//*[id='{id}']")));
69+
=> Apply(() => _queryItems.Add(new SearchQueryItem($"//*[@id='{id}']")));
7070

7171
IAppQuery IAppQuery.Index(int index) => throw new System.NotImplementedException();
7272

0 commit comments

Comments
 (0)