8000 Update README.md · seleniumQuery/seleniumQuery@d167ecd · GitHub
[go: up one dir, main page]

Skip to content

Commit d167ecd

Browse files
committed
Update README.md
1 parent d97ec60 commit d167ecd

File tree

1 file changed

+10
-14
lines changed

1 file changed

+10
-14
lines changed

README.md

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,13 @@ public class SeleniumQueryExample {
5656
}
5757
}
5858
```
59-
The code above can be found at the [seleniumQuery demos project](https://github.com/seleniumQuery/seleniumQuery-demos).
60-
61-
To get seleniumQuery's latest snapshot, add this to your **`pom.xml`**:
59+
The code above can be found at the [seleniumQuery demos project](https://github.com/seleniumQuery/seleniumQuery-demos). To get the latest version, add to your **`pom.xml`**:
6260
```xml
63-
<dependencies>
64-
<dependency>
65-
<groupId>io.github.seleniumquery</groupId>
66-
<artifactId>seleniumquery</artifactId>
67-
<version>0.9.0</version>
68-
</dependency>
69-
</dependencies>
61+
<dependency>
62+
<groupId>io.github.seleniumquery</groupId>
63+
<artifactId>seleniumquery</artifactId>
64+
<version>0.9.0</version>
65+
</dependency>
7066
```
7167

7268
<br>
@@ -153,16 +149,16 @@ jQuery("input.street").val("5th St!");
153149

154150
That's why it can work with disabled JavaScript!
155151

156-
But there is a more important aspect of that: As our functions yield the same result as if you were using jQuery, remember we always execute them from the user perspective.
152+
But there is a more important aspect to it: As our functions yield the same result as if you were using jQuery, remember we always execute them from the user perspective.
157153
In other words, when you call:
158154
```java
159155
$(":input[name='email']").val("seleniumQuery@example.com");
160156
```
161157

162-
We don't change the `value` attribute directly like jQuery does. We actually do as a user would: We clear the input
163-
and type, key by key, the string provided as argument!
158+
We don't change the `value` attribute directly like jQuery does. We actually do as a user would: We **clear** the input
159+
and **type, key by key**, the string provided as argument!
164160

165-
But we go the **extra mile**: Our `$().val()` works even on `contenteditable` elements: They don't have `value`, but we type
161+
But we go the **extra mile**: Our `$().val()` even works on `contenteditable` elements: They don't have `value`, but we type
166162
the text in them, again, key by key, as an user would!
167163

168164
###Always from the user perspective

0 commit comments

Comments
 (0)
0