diff --git a/nixos/doc/manual/development/writing-nixos-tests.xml b/nixos/doc/manual/development/writing-nixos-tests.xml
index d9dc3cd5e2acd..74ab23605b353 100644
--- a/nixos/doc/manual/development/writing-nixos-tests.xml
+++ b/nixos/doc/manual/development/writing-nixos-tests.xml
@@ -216,12 +216,12 @@ start_all()
- send_keys
+ send_key
Simulate pressing keys on the virtual keyboard, e.g.,
- send_keys("ctrl-alt-delete").
+ send_key("ctrl-alt-delete").
@@ -232,7 +232,7 @@ start_all()
Simulate typing a sequence of characters on the virtual keyboard, e.g.,
- send_keys("foobar\n") will type the string
+ send_chars("foobar\n") will type the string
foobar followed by the Enter key.