Comments (19)
I'd have to try this locally and dig into Qt a bit. I'm guessing I'd need to tweak some settings to allow redirecting to the secure host.
from capybara-webkit.
Would it help if I could put together a little app that just did that redirect, to reduce effort on your end?
from capybara-webkit.
Sure - if you want to fork the project and add a failing spec, that would be great.
from capybara-webkit.
I get a similar error:
Unable to load URL: http://127.0.0.1:53006/concepts/new (Capybara::Driver::Webkit::WebkitError)
http://127.0.0.1:53006/concepts/new
is the page capybara was at before submitting a form with goes to http://127.0.0.1:53006/concepts
.
The submit works but then http://127.0.0.1:53006/concepts
302-redirects to http://127.0.0.1:53006/concepts/1
which fails.
from capybara-webkit.
So maybe this has nothing to do with my secure port? Either capybara-webkit can't follow a 302 when a port is specified, or it can't follow a 302 at all?
from capybara-webkit.
I got the very same error with an URL like http://127.0.0.1:50941/enable?some=data.
from capybara-webkit.
Any traction here? I'm running into the same issue.
from capybara-webkit.
I haven't had time to work on this lately, so I haven't been able to look into it. If you submit a pull request, I'll make time to review it.
from capybara-webkit.
I'm hitting the Unable to load URL: http://127.0.0.1:49720/ (Capybara::Driver::Webkit::WebkitError) issue, too. In this app, when you go to the home page, a Javascript cookie is set for A/B testing and then the user is redirected using:
window.location = "/home";
from capybara-webkit.
I have come across this problem too. It was caused by using multipart forms.
semantic_form_for @model, :html => { :multipart => true } do |form| %>
I wonder if other people that have this problem are using forms with multipart => true
I was able to confirm that turning off multipart makes my feature past
my error was
Unable to load URL: http://127.0.0.1:54976/patients (Capybara::Driver::Webkit::WebkitError)
Not sure if this is related to issue 13
from capybara-webkit.
I'm using multipart forms as well.
On Thu, Jun 16, 2011 at 3:06 AM, wmernagh <
[email protected]>wrote:
I have come across this problem too. It was caused by using multipart
forms.
semantic_form_for @model, :html => { :multipart => true } do |form| %>
I wonder if other people that have this problem are using forms with
multipart => trueI was able to confirm that turning off multipart makes my feature past
my error was
Unable to load URL: http://127.0.0.1:54976/patients(Capybara::Driver::Webkit::WebkitError)
Not sure if this is related to [issue 13][
https://github.com//issues/13]Reply to this email directly or view it on GitHub:
from capybara-webkit.
Joe,
Had same problem:
Unable to load URL: http://127.0.0.1:55115/ (Capybara::Driver::Webkit::WebkitError)
Found this deep in trace:
Cannot modify SafeBuffer in place (ActionView::Template::Error)
Traced it to this issue with HAML gem:
https://github.com/nex3/haml/issues/404
Its fixed in Haml 3.1.2. Updating Haml corrected apparent capybara:webkit problem. Not sure if its related to other form problems above - so just an FYI.
from capybara-webkit.
Just tried upgrading HAML here on an app with the same situation and it didn't work. Just an FYI.
from capybara-webkit.
I am having a similar issue where the driver is unable to access any HTTPS urls on my local server for which I have set up self-signed certificates. I do not have this issue using WebDriver in Firefox as I can manually load the pages and add exceptions for the certificates, and was wondering if there is a similar way of doing this for webkit?
from capybara-webkit.
I'm getting the same errors when I do redirects, for example
def new
if current_user.profile
redirect_to results_path
else
@profile = current_user.build_profile
end
end
from capybara-webkit.
+1 i think, trying to test a payment page integration (wirecard qpay) with sandbox test login, works fine with firefox + selenium. the thing why i'd love to switch to capybara webkit, is that you can't disable firefox's security warning about leaving a secured page. so at every test run i have to dismiss this warning manually. this means, i can't enable this feature for CI, but have to run it manually from time to time.
from capybara-webkit.
cice: Would this workaround work for you? #152
from capybara-webkit.
hi dmacvicar, i'll try that tomorrow, thnx!
from capybara-webkit.
We added the ability to ignore SSL errors to capybara-webkit a while back. Please take a look at #109 for general "unable to load URL" issues.
from capybara-webkit.
Related Issues (20)
- Issue rendering modal (SweetAlert) in CapybaraWebkit HOT 5
- Unable to find css because it redirects to /login HOT 1
- Status code 0 when injecting javascript file to be loaded over HTTPS HOT 1
- Capybara::Webkit::Browser.command becomes out of sync reading @connection responses, causing JSON::ParserError HOT 1
- Deprecation warning on normalize_whitespace with capybara >= 3.0 HOT 15
- EOFError: end of file reached on qt 5.9? HOT 3
- Follow 308 redirects HOT 8
- I am getting error when bootstrap from Window to Linux machine HOT 1
- Failing to install on mac OS 10.13.6 HOT 7
- Capybara-webkit +qt5.5 fails with X Code 10 HOT 31
- Capybara README remark clarification HOT 1
- Failing to build 1.15 on Alpine while 1.14 builds fine HOT 2
- fatal: reference is not a tree: 9ba3d6ef8891e5c15dbdc9333f857b13711d4e97 HOT 2
- ~
- Unable to maximize the window HOT 3
- Consider adding flexbox troubleshooting to README
- Upgrading Capybara to latest version makes Gitlab CI fail
- -v
- Capybara::Webkit::ConnectionError: webkit_server failed to start.
- No longer maintained? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from capybara-webkit.