thoughtbot / capybara-webkit

A Capybara driver for headless WebKit to test JavaScript web apps
https://thoughtbot.com/open-source
MIT License
1.97k stars 428 forks source link

failure to create sqlite html5 web database #202

Closed cjkula closed 12 years ago

cjkula commented 12 years ago

Driving javascript through rspec > capybara > webkit (qt)

The browser feature test (window.openDatabase) passes and evaluates to a native function, but calling openDatabase returns null. My guess is that the sqlite plugin for Qt has not been included in the build, so there is nothing for it to point to.

Or is there a way to reconfigure something so that web sql works correctly? I love doing my javascript testing this way -- would be great to be able to test html5 db integration as well!

jferris commented 12 years ago

We just merged support for local storage. Can you try this again with the latest master?

cjkula commented 12 years ago

I'll give it a shot, but won't get around to it for several days! Will get back to you with what I find.

Thanks,

Chris

On Fri, May 4, 2012 at 2:05 PM, Joe Ferris < reply@reply.github.com

wrote:

We just merged support for local storage. Can you try this again with the latest master?


Reply to this email directly or view it on GitHub:

https://github.com/thoughtbot/capybara-webkit/issues/202#issuecomment-5520326

Christopher Kula cjkula@gmail.com

jferris commented 12 years ago

I'm closing this due to inactivity, but please let me know if you're still running into trouble with local storage.