Skip to content

Commit ec45f68

Browse files
author
David Haeffner
committed
Add minimal delay after Enter key submitted (on Chrome with CDP) to address potential race conditions
1 parent 561165f commit ec45f68

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/selenium-ide/src/neo/IO/SideeX/ext-command.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,8 @@ export default class ExtCommand {
591591
code: 'Enter',
592592
text: '\r',
593593
})
594+
// adding minimal sleep after Enter to address race conditions
595+
await new Promise(resolve => setTimeout(resolve, 500))
594596
}
595597
try {
596598
await connection.attach()

0 commit comments

Comments
 (0)