Skip to content

Commit bc39ccf

Browse files
Larry SongLarry Song
authored andcommitted
update 'Get-SeKeys' to output the object string
1 parent 6549e13 commit bc39ccf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Selenium.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ function Invoke-SeClick {
128128

129129
function Get-SeKeys {
130130

131-
[OpenQA.Selenium.Keys] | Get-Member -MemberType Property -Static | Select-Object -Property Name
131+
[OpenQA.Selenium.Keys] | Get-Member -MemberType Property -Static | Select-Object -Property Name,@{N = "ObjectString"; E = {"[OpenQA.Selenium.Keys]::$($_.Name)"}}
132132
}
133133

134134
function Send-SeKeys {

0 commit comments

Comments
 (0)