public void ThrowsIfElementCollectionTypeIsInvalid() { var page = new InvalidCollectionTypePage(); Assert.Throws <ArgumentException>(() => PageFactory.InitElements(mockDriver, page), "is not IWebElement or IList<IWebElement>"); }
public void ThrowsIfElementCollectionTypeIsInvalid() { var page = new InvalidCollectionTypePage(); Assert.Throws<ArgumentException>(() => PageFactory.InitElements(mockDriver, page), "is not IWebElement or IList<IWebElement>"); }
public void ThrowsIfElementCollectionTypeIsInvalid() { var page = new InvalidCollectionTypePage(); PageFactory.InitElements(mockDriver, page); }
public void ThrowsIfElementCollectionTypeIsInvalid() { var page = new InvalidCollectionTypePage(); PageFactory.InitElements(mockDriver, page); }