美文网首页
config selenium on react

config selenium on react

作者: 米诺zuo | 来源:发表于2020-12-11 21:58 被阅读0次
selenium

https://www.selenium.dev/

selenium is an umbrella project for a range of tools and libraries that enabled and support the automation of web browsers
install selenium libraries
npm install selenium-webdriver
download chromedriver

To drive Chrome or Chromium, you have to download chromedriver and put it in a folder that is on your system’s path.
https://www.selenium.dev/documentation/en/webdriver/driver_requirements/
https://chromedriver.chromium.org/downloads

setx /m path "%path%;C:\WebDriver\bin\"

Add mocha executable file to your system path. If you have installed mocha globally, you can find your mocha.exe at “$USER_HOME\AppData\Roaming\npm”.


相关文章

网友评论

      本文标题:config selenium on react

      本文链接:https://www.haomeiwen.com/subject/hgbbwktx.html