Changed it to `expect(page.driver.confirm_messages).to be_empty)`