From e7b85543423633bfec876c3dcc5041673b3746be Mon Sep 17 00:00:00 2001 From: Debbie O'Brien Date: Wed, 14 Dec 2022 22:42:52 +0100 Subject: [PATCH] docs: change listItem to article in locators doc (#19060) --- docs/src/locators.md | 40 ++++++++++++++++++++++------------------ 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/docs/src/locators.md b/docs/src/locators.md index 1b947cf4e7..edbe49da97 100644 --- a/docs/src/locators.md +++ b/docs/src/locators.md @@ -806,14 +806,16 @@ await Expect(page.Locator("x-details")).ToContainTextAsync("Details"); Consider the following DOM structure where we want to click on the buy button of the second product card. We have a few options in order to filter the locators to get the right one. ```html card -
-

Product 1

- -
-
-

Product 2

- -
+