Skip to content

Start-Driver -Browser Edge throws an error #188

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mabster opened this issue Nov 24, 2020 · 1 comment
Closed

Start-Driver -Browser Edge throws an error #188

mabster opened this issue Nov 24, 2020 · 1 comment
Assignees
Labels

Comments

@mabster
Copy link

mabster commented Nov 24, 2020

Hi gang!

I think this line:

'Edge' { $Driver = Start-EdgeDriver @PSBoundParameters; break }

... should be calling Start-SeEdgeDriver rather than just Start-EdgeDriver. In the 4.0 preview, I get this error when I try to start a (Chromium) Edge driver:

Start-EdgeDriver : The term 'Start-EdgeDriver' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Program Files\WindowsPowerShell\Modules\selenium\4.0.0\Selenium.psm1:1802 char:32
+             'Edge' { $Driver = Start-EdgeDriver @PSBoundParameters; b ...
+                                ~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Start-EdgeDriver:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
@itfranck itfranck self-assigned this Nov 29, 2020
@itfranck itfranck added the bug label Nov 29, 2020
@itfranck itfranck modified the milestone: V4.0 Nov 29, 2020
@itfranck
Copy link
Collaborator

itfranck commented Dec 4, 2020

Thanks.
Fixed for Preview2

@itfranck itfranck closed this as completed Dec 4, 2020
itfranck added a commit that referenced this issue Dec 6, 2020
* Start-SeEdgeDriver throw error on launch (#188)

* Edge fix + general debug fix

* .Where is not a method for CIM Instance object (#190)

* Firefox not using the proper DriverOption (#191)

* Filter parameter to get-seelement and applied to Get-SeInput (#186 #192 )

Also fixed a logic error with $Value that was used both as a parameter and a variable, which caused issues.

* Legacy code removal causing error with screenshots (#187)

* Fix - Filter + Filter error message

* Select input by attributes fix.

* Edge (new) driver option need to be of type ChromeOptions (#195)

* Edge driver option fix (#193)

* Edge - semi revert (#197)

Since Start-SeDriver have priority over options, options should not handle stuff that depends on parameters.

* IE fix (#193)

* MSEdge Fix (#193)

* ErrorAction Stop when MSEdge Service fail to create.

* AcceptInsecureCertificates (Firefox, Chrome, Edge) (#189)

* #177 Get-SeInput view (initial commit)

* V4.0.0-preview2 build

* Drivers update

* V4.0.0-preview2 changelog

* Version update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants