app v2.6.0 Release Notes

Release Date: 2018-07-12 // almost 4 years ago
    • app.Element is renamed app.Elem

    • func to get an element changed.

    Old way (deprecated/deleted):

      func ElementByCompo(c Compo) (ElemWithCompo, error) { ... }
      func NavigatorByCompo(c Compo) (Navigator, error)   { ... }
      func WindowByCompo(c Compo) (Window, error)         { ... }
      func PageByCompo(c Compo) (Page, error)             { ... }
    

    New way:

      func ElemByCompo(c Compo) Elem { ... }
    

    Example:

      app.ElemByCompo(myCompo).WhenWindow(func(w app.Window) {
        w.Center()
      })
    

    See Elem definition for more info.

    • ➕ Add compatibility with 10.11 (#144)

    • 🍎 MacOS driver is now compatible with MacOS El Capitan (10.11). Thanks to tectiv3