Bumblebee.Implementation.TableRow.TableRow C# (CSharp) Method

TableRow() public method

public TableRow ( IBlock parent, By @by ) : System.Collections
parent IBlock
@by OpenQA.Selenium.By
return System.Collections
		public TableRow(IBlock parent, By @by) : base(parent, @by)
		{
			_data = ParentBlock.Tag
				.FindElement(By.TagName("thead"))
				.FindElement(By.TagName("tr"))
				.FindElements(By.TagName("th"))
				.Zip(FindElements(By.TagName("td")), (header, cell) => new KeyValuePair<string, string>(header.Text, cell.Text))
				.ToDictionary(x => x.Key, x => x.Value);
		}

Same methods

TableRow::TableRow ( IBlock parent, IWebElement tag ) : System.Collections