Skip to content

Commit 36b6948

Browse files
committed
Fix some issues. Update manifest.
1 parent 4fa20ad commit 36b6948

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

Selenium.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ FunctionsToExport = @(
8383
"Set-SeCookie",
8484
"Start-SeChrome",
8585
"Start-SeFirefox",
86-
"Start-SeIe"
86+
"Start-SeInternetExplorer"
8787
"Stop-SeDriver",
8888
"Wait-SeElementExists"
8989
)

Selenium.psm1

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function Start-SeChrome {
3131
New-Object -TypeName "OpenQA.Selenium.Chrome.ChromeDriver" -ArgumentList $Chrome_Options
3232
}
3333

34-
function Start-SeIe {
34+
function Start-SeInternetExplorer {
3535
New-Object -TypeName "OpenQA.Selenium.IE.InternetExplorerDriver"
3636
}
3737

@@ -86,9 +86,7 @@ function Find-SeElement {
8686
[Parameter(ParameterSetName = "ByTagName")]
8787
$TagName,
8888
[Parameter(ParameterSetName = "ByXPath")]
89-
$XPath,
90-
[Parameter(ParameterSetName = "ByCss")]
91-
$Css
89+
$XPath
9290
)
9391

9492

Selenium.tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Import-Module (Join-Path $PSScriptRoot "Selenium.psm1")
1+
Import-Module (Join-Path $PSScriptRoot "Selenium.psd1") -Force
22

33
Describe "Get-SeCookie" {
44
$Driver = Start-SeFirefox

0 commit comments

Comments
 (0)