thoughtbot/capybara-webkit

Support for WebAudio

Closed this issue · 8 comments

Apologies if this has already been covered elsewhere.

I'm writing capybara code for driving an application that uses the WebAudio API. Unfortunately, the WebKit build bundled with capybara-webkit does not have support for this compiled in.

Would it be possible to tweak the makefiles so that WebAudio support is compiled in?

Thanks!

It's likely that the version of WebKit bundled with the version of Qt that you're using does not support the WebAudio API, and there's not much we can do about that. If you're using Qt 5.5, that's likely the case. Unfortunately, Qt 5.6 doesn't work with capybara-webkit, due to removal of APIs on which we depend.

We're working on porting capybara-webkit to Chromium Embedded (CEF), which provides a more recent version of the WebKit (actually, Blink) API. However, this is a work in progress.

Thanks for the explanation! I'll star the project and keep an eye on the CEF work.

Is WebRTC support in capybara-webkit in the same situation, and it will be available only with migration to Chrome Embedded?

We are working on revived QtWebKit (see https://github.com/annulen/webkit), it supports WebAudio API (though there may be bugs). It also supports other new web standards, including large part of ES6.

@annulen is there anywhere I can read about the effort to revive QtWebKit?

Closing as this is a limitation of QtWebkit