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

Multilayer CSV to filtered excel -

Listboxes in c# -

ios - Why must I define variables twice in the Header file? -