有关于 WebdriverIO 与 Selenium with Java 的任何反馈吗?我进退两难,想澄清这个困惑。
我花了几天时间学习WebdriverIO,也做了一些实践,但得出的结论是它还不够成熟。调试确实是一个挑战。
最佳答案
WebdriverIO是 (Selenium 2.0) WebDriver API 的 JavaScript/nodejs 实现 - 许多(Selendroid、Protractor 等)之一作为 specification说:
WebDriver is a remote control interface that enables introspection and control of user agents. It provides a platform- and language-neutral wire protocol as a way for out-of-process programs to remotely instruct the behaviour of web browsers.
如果您使用 Java,您将使用 Java implementation of WebDriver .您选择哪种语言和哪种实现取决于您、您的技能以及您团队的技能。
虽然我很怀疑WebdriverIO“不够成熟”。 WebDriver 是一个很好的规范,有许多强大的实现,但它经常被误用。当然,就新手而言,很大一部分“随机”失败在他们的测试代码中是完全可以避免的竞争条件。
关于java - WebdriverIO 与 Selenium Webdriver(Java 方法),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35632956/