Skip to content

Start-Driver -Browser Edge throws an error #188

Closed
@mabster

Description

@mabster

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

Activity

self-assigned this
on Nov 29, 2020
modified the milestone: V4.0 on Nov 29, 2020
itfranck

itfranck commented on Dec 4, 2020

@itfranck
Collaborator

Thanks.
Fixed for Preview2

added a commit that references this issue on Dec 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Start-Driver -Browser Edge throws an error · Issue #188 · adamdriscoll/selenium-powershell