我在使用 php 时在 WebDriver 中触发按键事件有问题。有 class > test 元素在这个元素上通过 jquery 绑定按键。我尝试点击,但没有结果
$this->_city = $this->driver->findElement(WebDriverBy::className('test'));
$this->_city->click()
Run Code Online (Sandbox Code Playgroud)
请帮助我,谁知道如何使用 php 在 webdriwer 上模拟按键。