File upload with Behat, Mink & PhantomJS File upload with Behat, Mink & PhantomJS selenium selenium

File upload with Behat, Mink & PhantomJS


Could this behaviour exist due to inability to upload files that is a known bug with PhantomJS v 2.0.0?

Basically, a change made in Qt 4.8 and incorporated subsequently in Qt 5.0 prevented clicking on file input elements that were not caused by user gestures.

The solution is discussed further in the issue thread.

To quote, you have to comment one if condition in
/src/qt/qtwebkit/Source/WebCore/html/FileInputType.cpp

//if (!ScriptController::processingUserGesture())//    return;

then compile the binary.