New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebDriverException when no proxy config defined #2651
Comments
It is a bug. |
To define a "no proxy" in the yml:
|
This bug manifests itself on the Chrome driver in this manner: This was a showstopper for the Chrome driver, as it would not even reach the point of opening the browser. I tested it against driver versions v2.20 all the way back to 2.14. I can confirm that @tivnet 's suggestion of I can confirm that this fix (as tested in the current 2.1.x-dev at a687fba) does solve the issue, without needing the extra config as a workaround. Is a 2.1.6 expected soon, to get this fix released to us Chrome testers? |
If I specify http_proxy: direct I'm getting only empty pages with webdriver (PhantomJS). The error is then: [ModuleException] WebDriver: Current url is blank, no page was opened Tested different urls. I'm in a Vagrant box. Does I "have" to specify any proxy? |
I wrote about "http_proxy", but later I started getting all kind of weird errors, so finally I downgraded codeception and live happily ever since. |
@tivnet: Which version is working for you? Do you know where I can get the phar archive for this version? If not - no problem, I would download it via composer. But prefering phar at the moment. :) |
@jepster : right now, the only 2.1.x that's been a problem for me is 2.1.5. Thus, in my own composer.json, I have:
All versions of PHARs are listed at http://codeception.com/builds. I'm hoping that #2684 will get merged and a 2.1.6 release goes out soon 👍 |
@jepster I downgraded with composer "codeception/codeception": "2.1.4" Remember: is a must. WebDriver won't work otherwise. |
Thanks! Installed Codeception globally via composer by the following entry: "codeception/codeception": "~2.1 !=2.1.5" I can confirm that it works now. |
You saved my life bros. Thank you. |
I can confirm this issue. My solution was to downgrade to 2.1.4 |
Note the http_proxy: direct is necessary because of a bug. See: Codeception/Codeception#2651
2.1.6 - still broken |
Fixed by #2660 |
If no proxy capabilities are defined in acceptance.suite.yml I get
https://github.com/Codeception/Codeception/blob/2.1/src/Codeception/Module/WebDriver.php#L195 I get null from $this->getProxy() and $this->capabilities contents are set
Is there somekind of mistake or should the documentation be updated?
The text was updated successfully, but these errors were encountered: