For a how-to, see Using JavaScript in Behat tests (manual steps for installing, running).
For my stumbling around in the dark... read on.
On the unenviable proposition of having to add JavaScript support to Behat
behat mink extension cannot find fields