Skip to content

Commit 2ece5e7

Browse files
committed
self.update_text() is the new self.update_text_value()
1 parent 66d4235 commit 2ece5e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,10 +419,10 @@ def get_mirror_universe_captain_picard_superbowl_ad(superbowl_year):
419419

420420
#### Typing Text
421421

422-
update_text_value(selector, text) # updates the text from the specified element with the specified value. Exception raised if element missing or field not editable. Example:
422+
update_text(selector, text) # updates the text from the specified element with the specified value. Exception raised if element missing or field not editable. Example:
423423

424424
```python
425-
self.update_text_value("input#id_value", "2012")
425+
self.update_text("input#id_value", "2012")
426426
```
427427

428428
You can also use the WebDriver .send_keys() command, but it won't clear the text box first if there's already text inside.

0 commit comments

Comments
 (0)