Powershell load dll got error: Add-Type : Could not load file or assembly 'WebDriver.dll' or one of its dependencies. Operation is not supported

前端 未结 3 611
借酒劲吻你
借酒劲吻你 2020-12-14 19:49

I want to use PowerShell with selenium and download selenium from http://www.java2s.com/Code/Jar/s/Downloadseleniumremotedriver2350jar.htm . When I

3条回答
  •  南方客
    南方客 (楼主)
    2020-12-14 20:23

    This worked for me: (from https://stackoverflow.com/a/19957173/107161)

    In files:

    C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe.config C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe.config

     
    
       
          
       
    
    

提交回复
热议问题