Closed kdiogenes closed 7 years ago
alpine has now qt 5.6, which does not work I suggest readme should be modified How can we use latest alpine so we can deploy all this on kubernetes ?
The README says:
If you're having trouble compiling or installing, please check out the wiki. If you don't have any luck there, please post to Stack Overflow. Please don't open a Github issue for a system-specific compiler issue.
You can check out the Wiki here: https://github.com/thoughtbot/capybara-webkit/wiki/Installing-Qt-and-compiling-capybara-webkit
We rely on the community to update those instructions for compiling on various systems, as the maintainers don't have the bandwidth to debug compiling on every system.
In general, many distributions have a separate package for qtwebkit, even on qt 5.6. If alpine doesn't, you'll have to compile Qt with the webkit module enabled.
@webattitude I also think that the information about qt version must be more explicit.
In the wiki there is a mention about no support for qt 5.6 https://github.com/thoughtbot/capybara-webkit/wiki/Installing-Qt-and-compiling-capybara-webkit#homebrew
There is also comments about this is some bug reports: https://github.com/thoughtbot/capybara-webkit/issues/984#issuecomment-302122527
The README don't mention anything about this, but from @jferris comment and this commit I understand that capybara-webkit should work with qt 5.6: https://github.com/thoughtbot/capybara-webkit/commit/0af3c34aa6d80581f59ceb8a5fb8fcb6d3e95dd9
I will give it another try...
I'm using
capybara-2.4.4
andcapybara-webkit-1.12.0
building onruby:2.2.4-alpine
. If I use qt4 everything works okay, but the wiki says that qt5 is the recommended version, so I'm opening this to try to find a solution.Capybara is able to use capybara-webkit to load the page, it can even save the page, but the interactions doesn't works. I also noted that current_path doesn't change.
This is a little script that shows the problem and below is the saved screenshot: