Skip to content

Commit 5d658dc

Browse files
authored
Finessing headers
1 parent be6b819 commit 5d658dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/guides/selectors.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ The best and most simple selector will always be to use an element ID: `#some-id
5252

5353
We suggest the use of CSS selectors above XPath selectors when possible.
5454

55-
### Do and Do not
55+
### Writing proper selectors
5656

5757
There are correct ways of writing selectors and incorrect ways. These suggestions will help you write better selectors.
5858

@@ -90,7 +90,7 @@ The `*=` means `contains`. The selector is saying 'find an input whose name cont
9090
9191
Similarly here, this will match all elements which contains the class `.add`. This is brittle and susceptible to breaking when new elements/styles are added to the page.
9292
93-
#### Being too specific
93+
#### Avoid being too specific
9494
9595
DO NOT make your selectors too specific either. If a selector is too specific, there is a high probability that it will break due to even minor changes to the application being tested.
9696

0 commit comments

Comments
 (0)