Skip to content

Releases: maxence-charriere/go-app

2.6.0

13 Jul 06:41
Compare
Choose a tag to compare
  • app.Element is renamed app.Elem

  • func to get an element changed.

    Old way (deprecated/deleted):

    func ElementByComponent(c Component) (ElementWithComponent, error) { ... }
    func NavigatorByComponent(c Component) (Navigator, error)          { ... }
    func WindowByComponent(c Component) (Window, error)                { ... }
    func PageByComponent(c Component) (Page, error)                    { ... }

    New way:

    func ElemByCompo(c Component) 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