File tree Expand file tree Collapse file tree 5 files changed +22
-2
lines changed Expand file tree Collapse file tree 5 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 1212RootModule = ' .\Selenium.psm1'
1313
1414# Version number of this module.
15- ModuleVersion = ' 1.2 '
15+ ModuleVersion = ' 1.3 '
1616
1717# Supported PSEditions
1818# CompatiblePSEditions = @()
@@ -83,7 +83,8 @@ FunctionsToExport = @(
8383 " Set-SeCookie" ,
8484 " Start-SeChrome" ,
8585 " Start-SeFirefox" ,
86- " Start-SeInternetExplorer"
86+ " Start-SeInternetExplorer" ,
87+ " Start-SeEdge" ,
8788 " Stop-SeDriver" ,
8889 " Wait-SeElementExists"
8990)
Original file line number Diff line number Diff line change @@ -40,6 +40,10 @@ function Start-SeInternetExplorer {
4040 New-Object - TypeName " OpenQA.Selenium.IE.InternetExplorerDriver"
4141}
4242
43+ function Start-SeEdge {
44+ New-Object - TypeName " OpenQA.Selenium.Edge.EdgeDriver"
45+ }
46+
4347function Start-SeFirefox {
4448 param ([Switch ]$Profile )
4549
Original file line number Diff line number Diff line change @@ -21,6 +21,20 @@ Describe "Start-SeFirefox" {
2121 }
2222}
2323
24+ Describe " Start-SeEdge" {
25+ Context " Should Start Edge Driver" {
26+ $Driver = Start-SeEdge
27+ Stop-SeDriver $Driver
28+ }
29+ }
30+
31+ Describe " Start-SeInternetExplorer" {
32+ Context " Should Start InternetExplorer Driver" {
33+ $Driver = Start-SeInternetExplorer
34+ Stop-SeDriver $Driver
35+ }
36+ }
37+
2438Describe " Get-SeCookie" {
2539 $Driver = Start-SeFirefox
2640 Context " Should get cookies from google" {
Original file line number Diff line number Diff line change 1+ 6E8182697EA5189491B5519D8496A3392E43741B7C0515130F2F8205881D208E
You can’t perform that action at this time.
0 commit comments