php - Run selenium in vagrant with browser outside virtualmachine -


i'm trying run selenium in virtual machine, when try speaks no there installed firefox, want point browser off virtual machine. how this.

i use selenium server , phpunit selenium

you need specify selenium host when creating webdriver , goes this:

remotewebdriver::create("http://{$host}:{$port}/wd/hub", $capabilities); 

the port 4444 default.

now, reaching anywhere inside box different matter, non-related php, phpunit or selenium.


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -