Stuck last 3 day

149 views
Skip to first unread message

Suresh R

unread,
Feb 4, 2024, 8:27:42 AM2/4/24
to Selenium Users
Hello team,

Below is the error getting I am while u run the script in the power shell below error I am getting even though I have installed chromedriver latest version and chrome as well. Pleasde help me


Import-Module : The specified module 'Selenium.WebDriver' was not loaded because no valid module file was found in any module 
directory.
At line:13 char:5
+ Import-Module Selenium.WebDriver
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : ResourceUnavailable: (Selenium.WebDriver:String) [Import-Module], FileNotFoundException
    + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
 
Exception calling ".ctor" with "2" argument(s): "unknown error: cannot find Chrome binary"
At C:\Program Files\WindowsPowerShell\Modules\Selenium\3.0.1\Selenium.psm1:253 char:9
+ $Driver = [OpenQA.Selenium.Chrome.ChromeDriver]::new($service ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : WebDriverException
Reply all
Reply to author
Forward
0 new messages