【问题标题】:How to perform a double click using phpunit_selenium2 extension?如何使用 phpunit_selenium2 扩展执行双击?
【发布时间】:2012-12-20 19:26:07
【问题描述】:

这个问题专门针对 phpunit_selenium2。

【问题讨论】:

  • @alex:它不起作用:-)

标签: php testing selenium phpunit selenium-webdriver


【解决方案1】:

那么真正的开源方式:有没有这样的功能?克隆一个仓库,实现一个功能,创建拉取请求,?????,利润!!!!1

https://github.com/sebastianbergmann/phpunit-selenium/pull/212

现在phpunit_selenium2 支持双击。你可以像这样使用它:

$this->moveto($element);
$this->doubleclick();

Correspondent example from the tests

【讨论】:

    猜你喜欢
    • 2010-12-01
    • 1970-01-01
    • 1970-01-01
    • 2014-11-09
    • 2012-07-16
    • 1970-01-01
    • 2017-07-31
    • 1970-01-01
    • 2011-08-10
    相关资源
    最近更新 更多