I am new to selenium. I followed all the steps on this site https://adamtheautomator.com/selenium-and-powershell/ , but i get an error message. I am using this code with selenium 4.20.0
$workingpath = 'C:UsersSamir500DocumentsProgramsWebAutomation'
Add-Type -Path "$($workingPath)WebDriver.dll"
$ChromeDriver = New-Object OpenQA.Selenium.Chrome.ChromeDriver
$ChromeDriver.Navigate().GoToUrl('https://www.google.com')
and here the error
error