Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7da0ab8

Browse files
committed
Link to CSS selector docs
1 parent 4c9eb4e commit 7da0ab8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

source/locating-elements.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,9 +272,10 @@ The "p" element can be located like this::
272272
Locating Elements by CSS Selectors
273273
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
274274

275-
Use this when you want to locate an element using CSS selector syntax. With
276-
this strategy, the first element matching the given CSS selector will be
277-
returned. If no element matches the provided CSS selector, a
275+
Use this when you want to locate an element using `CSS selector
276+
<https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Selectors>`
277+
syntax. With this strategy, the first element matching the given CSS selector
278+
will be returned. If no element matches the provided CSS selector, a
278279
``NoSuchElementException`` will be raised.
279280

280281
For instance, consider this page source::

0 commit comments

Comments
 (0)