Content-Length: 262347 | pFad | http://github.com/adamdriscoll/selenium-powershell/commit/43e3c846ef053867a9e69d7c7692bb918f79cbf7

07 ConvertTo-Selenium send Enter (#181) · adamdriscoll/selenium-powershell@43e3c84 · GitHub
Skip to content

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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/adamdriscoll/selenium-powershell/commit/43e3c846ef053867a9e69d7c7692bb918f79cbf7

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy