Skip to content

Commit 6c6a4b0

Browse files
committed
Update the ReadMe
1 parent c7d9261 commit 6c6a4b0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -458,14 +458,14 @@ self.find_element("a.my_class", timeout=5).click()
458458
self.click("a.my_class") # DO IT THIS WAY!
459459
```
460460

461-
Using dots to signify class names is a simplified way of using ``*=`` within a CSS selector. That simplified version looks like this:
461+
**ProTip™:** You can use dots to signify class names (Ex: ``div.class_name``) as a simplified version of ``div[class="class_name"]`` within a CSS selector.
462+
463+
You can also use ``*=`` to search for any partial value in a CSS selector as shown below:
462464

463465
```python
464-
self.click('a[class*="my_class"]')
466+
self.click('a[name*="partial_name"]')
465467
```
466468

467-
**ProTip™:** You can use ``*=`` to search for any partial value in a CSS selector.
468-
469469
#### Asserting visibility of text inside an element on a page within some number of seconds:
470470

471471
```python

0 commit comments

Comments
 (0)