1

I'm testing the Javascript part of the UI using rspec webdriver (describe "when blah", js: true do) and have the tests running automatically with autotest. The problem is that the browser opens with focus disrupting my work. How can I make it open the browser in an unobtrusive way? In case it helps I'm running Linux.

1 Answer 1

1

I solved this by ditching WebDriver and using Poltergeist:

Poltergeist is a driver for Capybara. It allows you to run your Capybara tests on a headless WebKit browser, provided by PhantomJS.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.