Can I install selenium webdriver into Visual Studio Code?

点点圈 提交于 2020-12-30 05:28:22

问题


I would like to start writing some selenium scripts using Visual Studio Code.

Can I install the webdriver(s) and how?

In the demonstration video's that I have seen Visual Studio was used, not VSC.

Please guide me since I am not familiar with the VSC editor.


回答1:


Yes you can. Step 1: Open the VS Code and Install the Nuget Package Manager using the VS code extension (Ctrl+Shift+X)

Step 2: Then go to the Command Pallette of VS Code(Ctrl+Shift+P), Search for Nuget Package Manager : Add Package and then Search for Selenium.Webdriver

You can read more about it here



来源:https://stackoverflow.com/questions/50741700/can-i-install-selenium-webdriver-into-visual-studio-code

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!