Skip to content

Commit 6117b4e

Browse files
committed
Fixed Wait For Alert exemple in docs
1 parent af72127 commit 6117b4e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Browser/keywords/interaction.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -883,15 +883,15 @@ def wait_for_alert(
883883
Example with returning text:
884884
885885
| ${promise} = `Promise To` `Wait For Alert` action=accept
886-
| `Click` id=alerts
886+
| `Click` id=alerts
887887
| ${text} = `Wait For` ${promise}
888888
| Should Be Equal ${text} Am an alert
889889
890890
Example with text verify:
891891
892-
| ${promise} = Promise To Wait For Alert action=accept text=Am an alert
892+
| ${promise} = `Promise To` Wait For Alert action=accept text=Am an alert
893893
| Click id=alerts
894-
| ${text} = Wait For ${promise}
894+
| ${text} = `Wait For` ${promise}
895895
896896
[https://forum.robotframework.org/t//4343|Comment >>]
897897
"""

0 commit comments

Comments
 (0)