public FormWithAJAXPage AssertThatTargetElementDoesNotExist() { AssertThatElements.DoNotExist(By.jQuery("#target")); return(this); }
public void AssertElementExistsWithJQuery(string id) { AssertThatElements.Exist(Seleno.PageObjects.Locators.By.jQuery(string.Format("#{0}", id))); }
public void AssertElementDoesNotExist(string id) { AssertThatElements.DoNotExist(By.Id(id)); }
public void AssertElementExists(string id) { AssertThatElements.Exist(By.Id(id)); }
public void AssertElementContainsValueWithJquery(string id, string value) { AssertThatElements.ConformTo( Seleno.PageObjects.Locators.By.jQuery(string.Format("#{0}", id)), es => ThrowIfElementDoesNotContainValue(value, es)); }
public void AssertElementContainsValue(string id, string value) { AssertThatElements.ConformTo(By.Id(id), es => ThrowIfElementDoesNotContainValue(value, es)); }