FubuMvcArchive / Serenity

The dynamic duo of StoryTeller and WebDriver aim to grant you Serenity by acceptance testing your FubuMVC application
6 stars 7 forks source link

ScreenFixture.waitForElement should not blow up #37

Open jeremydmiller opened 11 years ago

jeremydmiller commented 11 years ago

Today this method will blow up if the element isn't found, completely negating its value.

Use FindElements(By).Any() instead of FindElement(By) != null