Hi all,
I want to run Behat tests with selenium inside a vagrant environment.
Did anyone of you got that running? I am currently using homestead from
Laravel as my vagrant environment.
I installed xvfb as virtual display, but selenium throws
"TypeError: Cannot find function addEventListener in object [object
HTMLDocument]. (script in http://links.local/ from (431, 33) to (718,
43)#433)"
when running behat
while e.g. running firefox throws
"(process:17266): GLib-CRITICAL **: g_slice_set_config: assertion
'sys_page_size == 0' failed
Xlib: extension "RANDR" missing on display ":99".
(firefox:17266): LIBDBUSMENU-GLIB-WARNING **: Unable to get session bus:
Failed to execute child process "dbus-launch" (No such file or directory)"
I got my instructions from
http://programmingarehard.com/2014/03/17/behat-and-selenium-in-vagrant.html
https://antoniocarlosribeiro.com/technology/articles/codeption-and-selenium-on-laravel-homestead
Any idea, webpage or tutorial is welcome :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php