Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/290.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用php webdriver/ghostdriver/PhantomJS 1.9实现会话隔离是否可行?_Php_Webdriver_Phantomjs_Ghostdriver - Fatal编程技术网

使用php webdriver/ghostdriver/PhantomJS 1.9实现会话隔离是否可行?

使用php webdriver/ghostdriver/PhantomJS 1.9实现会话隔离是否可行?,php,webdriver,phantomjs,ghostdriver,Php,Webdriver,Phantomjs,Ghostdriver,我试图通过facebooks php webdriver/ghost驱动程序和phantomjs实现会话隔离。我希望在会话/测试互不干扰的情况下运行并发测试 我已经尽可能多地研究了这一点,但我对幻影很陌生,所以这让我感到相当困惑。我可以看到它包含在ghostdriver 1.1.1中,但phamtomjs 1.9中没有,它包含在2中,我认为它不适用于facebooks php webdriver 我也可以看到这里讨论的PhantomJ和 我认为这只能在PhantomJS2中完成,对吗?如果在幻像

我试图通过facebooks php webdriver/ghost驱动程序和phantomjs实现会话隔离。我希望在会话/测试互不干扰的情况下运行并发测试

我已经尽可能多地研究了这一点,但我对幻影很陌生,所以这让我感到相当困惑。我可以看到它包含在ghostdriver 1.1.1中,但phamtomjs 1.9中没有,它包含在2中,我认为它不适用于facebooks php webdriver

我也可以看到这里讨论的PhantomJ和


我认为这只能在PhantomJS2中完成,对吗?如果在幻像1.9中可以使用GHOST驱动程序和PHP WebDug,有人可以告诉我如何?

如何使用多个幻象(不同的主机端口)?我确实这么认为,但是我能用PHP脚本来管理这些不同的实例吗?与在随机端口上执行新实例一样,运行测试,然后从PHP脚本中关闭实例。