One more attempt... Re-installed everything, now I do not make progress, in fact I regress...
Using Wampserver 3.3.3 running PHP 8.2.13 Moodle 4.3.3+ (Build: 20240308).
Wamp settings: Allow links on projects homepage.
I install Moodle in a moodletest dir. This is my config extract:
$CFG->wwwroot = 'http://localhost/moodletest';
$CFG->dataroot = 'C:\\wamp64\\moodledatatest';
$CFG->admin = 'admin';
$CFG->behat_dataroot = "C:\wamp64\www\moodledata_behat";
$CFG->behat_wwwroot = 'http://127.0.0.1/moodletest';
$CFG->behat_prefix = 'zbehat_';
require_once('C:\behat3\moodle-browser-config\init.php');
In "C:\wamp64\www\moodletest" I run php admin/tool/behat/cli/init.php
Result: Error: Composer dependencies are not installed. Ensure you set $CFG->behat_* vars in config.php and you ran admin/tool/behat/cli/init.php.
If I go to : http://127.0.0.1/moodletest/
I get: Behat config error: Behat is configured but not enabled on this test site.
😒😒😒