コード例 #1
0
		/// <summary>
		/// Drag and Drop this element to target.
		/// </summary>
		/// <param name="driver"></param>
		/// <param name="target"></param>
		public void DragAndDrop(WebDriver driver, WebElement target)
		{
			target.DragDropEnd(driver, _element);
		}
コード例 #2
0
		public WebElement FindElement(ByMethod method, string selector)
		{
			WebElement result = null;
			if (_element.FindElements(GetBy(method, selector)).Count > 0)
			{
				result = new WebElement(_element.FindElement(GetBy(method, selector)));
			}
			return result;
		}