what are the differences (and when to use) selenium-webdriver over webdriverjs?

前端 未结 3 488
眼角桃花
眼角桃花 2021-01-31 12:44

I\'m an experience professional that uses selenium-webdriver. I\'m exploring more options on how to test javascript applications and I found webdriverJs. Unfortunately, I dont u

3条回答
  •  遇见更好的自我
    2021-01-31 12:57

    I read the official documentation of NPM and seems that the 'accepted' answer on this thread is now incorrect ( It is possible that at the time of the original post the answer was correct ). You can review the official NPM document -

    • For WebDriverJS => https://www.npmjs.com/package/webdriverjs

    The document says -

    Project is now called WebdriverIO and has moved to webdriverio/webdriverio on GitHub. Please use $ npm install webdriverio because this NPM project is not maintained anymore!

    • For selenium-webdriverjs => https://www.npmjs.com/package/selenium-webdriverjs

    The document says -

    This package has been deprecated. Author message: End of life. Upstream has released an official package: selenium-webdriver

    Hence the only official Selenium-JavaScript library is selenium-webdriver

    Hope this helps!

提交回复
热议问题