Skip to content

Commit

Permalink
Link to CSS selector docs
Browse files Browse the repository at this point in the history
  • Loading branch information
baijum committed Oct 22, 2020
1 parent 4c9eb4e commit 7da0ab8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions source/locating-elements.rst
Original file line number Diff line number Diff line change
Expand Up @@ -272,9 +272,10 @@ The "p" element can be located like this::
Locating Elements by CSS Selectors
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

For instance, consider this page source::
Expand Down

0 comments on commit 7da0ab8

Please sign in to comment.