You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.
I'm using the Goutte and Selenium2 drivers to test an application.
Since the whole application runs inside a virtual machine I need different base_urls for both drivers. Goutte runs against http://localhost where Selenium need to run the tests against http://localhost:8110/ (the redirection port of the VM). Unfortunately we've to run the tests inside the VM, since on it the only place where we can be sure we've the right PHP version and so on.
My current workaround is a to use a tagged hook:
/** * Workaround for Selenium tests need to connect to a different port. * * @BeforeScenario @javascript */publicfunctionbefore(BeforeScenarioScope$scope)
{
$this->setMinkParameter(
'base_url',
'http://localhost:8110/'
);
}
Please add support for setting base_url for every driver itself.
Thanks
The text was updated successfully, but these errors were encountered:
Hello,
I'm using the Goutte and Selenium2 drivers to test an application.
Since the whole application runs inside a virtual machine I need different
base_url
s for both drivers. Goutte runs againsthttp://localhost
where Selenium need to run the tests againsthttp://localhost:8110/
(the redirection port of the VM). Unfortunately we've to run the tests inside the VM, since on it the only place where we can be sure we've the right PHP version and so on.My current workaround is a to use a tagged hook:
Please add support for setting
base_url
for every driver itself.Thanks
The text was updated successfully, but these errors were encountered: