/// <summary> /// Gets all the windows that contain the specified title. /// </summary> /// <param name="windowTitle">A part a window title string.</param> /// <returns>A collection of <see cref="ARemoteWindow" />.</returns> public IEnumerable <IAWindow> GetWindowsByTitleContains(string windowTitle) { return(WindowHandles .Where(handle => AWindowHelper.GetWindowText(handle).Contains(windowTitle)) .Select(handle => new ARemoteWindow(_process, handle))); }