failWhenExpectingException();
} catch (WaitTimedOutError e) {
assertThat(e.getMessage()).contains("Timed out waiting for").contains(window.button.getClass().getName())
.contains("to be enabled");
}
stopWatch.stop();
assertThatWaited(stopWatch, timeout);
}
}