public void AffectWith(Action action, bool watchSubtree=true) { var body = GetPageBody(); var watcher = new PageFragmentWatcher(Driver, body); watcher.StartWatching(watchSubtree); action(); watcher.WaitForChange(); }
public void AffectWith(Action action, bool watchSubtree = true, int timeOut = Timeouts.DefaultChangeExpectation) { var body = GetPageBody(); var watcher = new PageFragmentWatcher(Driver, body); watcher.StartWatching(watchSubtree); action(); watcher.WaitForChange(timeOut); }