怎么安装并使用selenium?


PowerShell交流中心怎么安装并使用selenium?
-1
liusheng asked 4年 ago

我已经下载IEDriverServer.exe以及selenium.webdriver.4.0.0-alpha05.nupkg这两个文件,我的电脑是win10系统,没有安装visual studio。但我要怎么才能使用selenium.webdriver.4.0.0-alpha05.nupkg这个安装包呢?安装selenium.webdriver后,如何进一步调用selenium呢?请多多指点。

KiYouMi replied 3年 ago

试贴

1 Answers
-1
Best Answer
Mooser Lee 管理员 answered 4年 ago

把selenium.webdriver.4.0.0-alpha05.nupkg 重命名成selenium.webdriver.4.0.0-alpha05.zip , 解压后,就能找到你期望的WebDriver.dll 了。

Mooser Lee 管理员 replied 4年 ago

具体可以参考这里:https://www.pstips.net/selenium-powershell-extensions.html#comment-18536

liusheng replied 4年 ago

谢谢,解压后,从文件夹里可以找到几个版本的WebDriver.dll,把他们分别放到system32后尝试add-type加载,都没有成功。