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