![](/img/trans.png)
[英]how to automatically install Visual C++ Redistributable for Visual Studio 2015 used in a java code
[英]How to install selenium using java in visual studio code
我用谷歌搜索並找不到任何有關在 Visual Studio 代碼中安裝 selenium webdriver 和 java 的適當文檔或信息。
如果有人可以解釋這些步驟或提供文件,我們將不勝感激。
Selenium webdriver 可作為獨立的 Java jar 使用。 您可以在www.mavenrepo.com 中找到它。 您無法像在 chrome 中那樣將其安裝到 Visual Studio 代碼中。
如果您正在查看視頻或一些參考資料,能否將其張貼在此處以便我們提供相應的幫助?
步驟 1:打開 VS Code 並使用 VS Code 擴展(Ctrl+Shift+X)安裝 Nuget 包管理器
第二步:然后到VS Code的Command Palette(Ctrl+Shift+P),搜索Nuget Package Manager : Add Package 然后搜索Selenium.Webdriver
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.