Closed vrubiella closed 7 years ago
Sounds like problem on JSDom side or even Zombie side. Please report it there.
this indeed looks like a bug in JSDom itself.
Hello, I remove node modules and reinstall zombie@3 but error persist. I open an issue in Zombie project
https://github.com/assaf/zombie/issues/914
Thank you!
Hi, I have the same problem. I tried running this js code to check that it is possible to click a button and this code works well (I extracted variables and made some other changes to highlight the point). Therefore I assume that the problem is in the driver.
var button = 'My Button';
var url = 'http://example.org';
var urlFormSubmitted = 'http://example.org/submitted';
const Browser = require('zombie');
const browser = new Browser();
var visited = function() {
browser.assert.success();
browser.pressButton(button);
browser.assert.url(urlAfterButtonPressed);
}
browser
.visit(urlFormSubmitted, visited);
Still an issue with latest Zombie 3.x or Zombie 4.x versions?
Hi, I have defined this simple background:
When Scenario runs under "zombie driver", this errors occurs:
Error while processing event 'click' (Behat\Mink\Exception\DriverException)
I edit ZombieDriver.php class to retrieve more error info:
JS:
Error:
Thank you!.
Note: I'm using Zombie 3.1.1 under NodeJS v0.10.38