Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upRouting base on hostname #115
Open
Labels
Comments
You can pass the Btw, it would be great to document available options: https://github.com/symfony/panther/blob/master/src/PantherTestCaseTrait.php#L105-L108 Easy Hacktoberfest PR :) |
@dunglas yeah it work, but how to forward this host to local ip? $hostname = $options['hostname'] ?? null;
if (null !== $hostname) {
exec(sprintf('echo 127.0.0.1 %s >> /etc/hosts', $hostname));
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My project have routing based on hosts. But web driver make request to http://127.0.0.1:9080.
How can i change host?