Skip to content

v1.0.0-alpha11

Compare
Choose a tag to compare
@yashaka yashaka released this 16 May 14:50

collection.ElementByIts(innerLocator, condition)

  • upgraded Selenium.WebDriver from from 4.2.0 to 4.9.1
  • collection.ElementBy(condition) alias to collection.FindBy(condition)
    • FindBy will be probably deprecated in future
  • collection.By(condition) alias to collection.FilterBy(condition)
    • FilterBy will be probably deprecated in future
  • element.Element(locator | selector) alias to element.Find(locator | selector)
    • Find will be probably deprecated in future
  • element.All(locator | selector) alias to element.FindAll(locator | selector)
    • FindAll will be probably deprecated in future
  • Should(driverCondition) alias to WaitTo(driverCondition)
  • conditions: Have.Url, .UrlContaining, Title, TitleContaining
  • collection.ElementByIts(locator | selector, condition)
    • so you can implement something like this:
      SS(".table-row").ElementByIts(".table-cell[role=name]", Have.Text("John")).Element("[role=remove-user]").Click()