Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 43e3c84

Browse files
ili101itfranck
authored andcommitted
ConvertTo-Selenium send Enter (#181)
1 parent 7629318 commit 43e3c84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Public/ConvertTo-Selenium.ps1‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ function ConvertTo-Selenium {
8989
}
9090
{ $_.command -eq 'close' } { { Stop-SeDriver } ; Break }
9191
{ $_.command -in $ActionMap.Keys } {
92-
$Action = $ActionMap[$_.command] | Get-Replace -From '$Keys' -To $_.value -QuotesTo -By $_.value
92+
$Action = $ActionMap[$_.command] | Get-Replace -From '$Keys' -To ($_.value.Replace('${KEY_ENTER}','{{Enter}}')) -QuotesTo -By $_.value
9393
{ Get-SeElement -By $By | _Action_ } | Get-Replace -From '_Action_' -To $Action -By $_.target
9494
Break
9595
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /