We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9f25a6 commit 69d4155Copy full SHA for 69d4155
Selenium.psm1
@@ -56,9 +56,7 @@ function Find-SeElement {
56
[Parameter(ParameterSetName = "ByTagName")]
57
$TagName,
58
[Parameter(ParameterSetName = "ByXPath")]
59
- $XPath,
60
- [Parameter(ParameterSetName = "ByCssSelector")]
61
- $Css)
+ $XPath)
62
63
Process {
64
@@ -98,10 +96,6 @@ function Find-SeElement {
98
96
if ($PSCmdlet.ParameterSetName -eq "ByXPath") {
99
97
$Target.FindElements([OpenQA.Selenium.By]::XPath($XPath))
100
}
101
-
102
- if ($PSCmdlet.ParameterSetName -eq "ByCss") {
103
- $Target.FindElements([OpenQA.Selenium.By]::CssSelector($Css))
104
- }
105
106
107
0 commit comments