Esempio n. 1
0
 public static void Visit()
 {
     Selene.GoToUrl("https://todomvc4tasj.herokuapp.com/");
     Selene.WaitFor(Selene.GetWebDriver(), Have.JSReturnedTrue(
                        "return " +
                        "$._data($('#new-todo').get(0), 'events').hasOwnProperty('keyup')&& " +
                        "$._data($('#toggle-all').get(0), 'events').hasOwnProperty('change') && " +
                        "$._data($('#clear-completed').get(0), 'events').hasOwnProperty('click')"));
 }