@Given("a user is in the Home page")
    public void home() throws InterruptedException {
        selenium.open(baseUrl + "/home");

        // Wait for element's presence
        for (int second = 0;; second++) {
            if (second >= 60) {
                fail("timeout");
            }
            if (selenium.isElementPresent("//a[@href='draftautosave/index.jsp']")) {
                break;
            }
            Thread.sleep(DraftAutoSaveSeleniumConstants.ONE_SECOND);
        }
    }