Skip to content

Commit 69d4155

Browse files
Chris SimpkinsChris Simpkins
authored andcommitted
Reverted CSS change
1 parent e9f25a6 commit 69d4155

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Selenium.psm1

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,7 @@ function Find-SeElement {
5656
[Parameter(ParameterSetName = "ByTagName")]
5757
$TagName,
5858
[Parameter(ParameterSetName = "ByXPath")]
59-
$XPath,
60-
[Parameter(ParameterSetName = "ByCssSelector")]
61-
$Css)
59+
$XPath)
6260

6361
Process {
6462

@@ -98,10 +96,6 @@ function Find-SeElement {
9896
if ($PSCmdlet.ParameterSetName -eq "ByXPath") {
9997
$Target.FindElements([OpenQA.Selenium.By]::XPath($XPath))
10098
}
101-
102-
if ($PSCmdlet.ParameterSetName -eq "ByCss") {
103-
$Target.FindElements([OpenQA.Selenium.By]::CssSelector($Css))
104-
}
10599
}
106100
}
107101

0 commit comments

Comments
 (0)