Skip to content

Commit 2ba1667

Browse files
committed
formatting
1 parent ea30fc5 commit 2ba1667

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dusk.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -266,12 +266,12 @@ Dusk provides a variety of methods for interacting with forms and input elements
266266

267267
Note that, although the method accepts one if necessary, we are not required to pass a CSS selector into the `type` method. If a CSS selector is not provided, Dusk will search for an input field with the given `name` attribute. Finally, Dusk will attempt to find a `textarea` with the given `name` attribute.
268268

269-
To "append" a text without clearing existing content:
269+
To append text to a field without clearing its content, you may use the `append` method:
270270

271271
$browser->type('tags', 'foo')
272-
->append('tags', ', bar, baz');
272+
->append('tags', ', bar, baz');
273273

274-
You may "clear" the value of an input using the `clear` method:
274+
You may clear the value of an input using the `clear` method:
275275

276276
$browser->clear('email');
277277

0 commit comments

Comments
 (0)