Atata 2.2.0 is released with new methods for opening new browser windows and several other improvements.
Changelog
New Features
- minor
#675 Add
CreateEnumerableValueProvider
method toUIComponent<TOwner>
- major
#680 Add
ToNewWindow
andToNewWindowAsTab
methods toGo
Changes and Enhancements
- major #676 Change hierarchical component name format in log messages
- minor
#677 Change return type of
ControlList<TItem, TOwner>.GetAllByXPathCondition
methods toEnumerableValueProvider<TItem, TOwner>
- major #678 Use Selenium.WebDriver package v4.5.0
- major #679 Use Atata.WebDriverExtras package v2.2.0
Fixes
- fix #671 Value format doesn’t handle correctly
"{{"
and"}}"
Navigation to New Window
ToNewWindow
and ToNewWindowAsTab
methods were added to Go
class.
Now you can easily open additional browser tabs or windows.
Usage
Go.To<GoTo1Page>();
Go.ToNewWindow<GoTo2Page>()
.PageUri.AbsolutePath.Should.EndWith("/goto2");
Go.ToPreviousWindow<GoTo1Page>()
.PageUri.AbsolutePath.Should.EndWith("/goto1");