I an trying to load the webdriver.dll file in my powershell ISE, But its saying that the working directory is invalid. If you could someone help me to load the driver that much appreciated.
Regards Ananth
Your working directory
$workingPath = 'C:\Selenium'
# Add the working directory to the environment path.
# This is required for the ChromeDriver to work.
if (($env:Path -split ';') -notcontains $workingPath) {
$env:Path += ";$workingPath"
}
Add-Type -Path "$($workingPath)\WebDriver.dll"