-
Notifications
You must be signed in to change notification settings - Fork 103
Closed
Milestone
Description
It appears that Find-SeElement (now Get-SeElement) has undergone some pretty hefty changes, and with these changes it seems that splatting support has been removed.
Specifically this line is attempting to search $MyInvocation.Line for parameter matches, but $MyInvocation.Line is only populated with Get-SeElement @SplatName when passing splats, which will always fail to resolve names based off string matching.
https://github.com/adamdriscoll/selenium-powershell/blob/master/Selenium.psm1#L747
I'm not sure if this behavior was intended but it would be nice to use a universally supported PowerShell feature.
Sup3rlativ3
Metadata
Metadata
Assignees
Labels
No labels