Classic Docs
Docs Navigation

I’m having issues with capybara-webkit

  • Check how your configuration compares to our test app, which is known to pass. The spec_helper.rb, for example, should have minimal configuration necessary.

  • Do not run xvfb – Semaphore does that before each build.

  • You can dump the content of the page to file with save_page.

That method would just save content of the page to file and return path to file. After that you can just print content of the file to the stdout and inspect it in the build logs. Once you see the content of the page that you are testing I should be much easier to understand what’s going on.

  • Make sure your views don’t have scripts such as Google Analytics running in test environment – they will cause timeouts.

We’ve found Selenium and Firefox to be more stable and predictable than Webkit.

Semaphore Docs are open source — Edit on GitHub


Occasional lightweight product and blog updates. Unsubscribe at any time.

2009-2021 © Rendered Text. All rights reserved. Terms of Service, Privacy policy, Security.