public static void TearDown() { ReturnToMainPage(); SwitchToAlarmTab(); // Delete all created alarms var alarmEntries = AlarmClockSession.FindElementsByName("Windows Application Driver Test Alarm"); foreach (var alarmEntry in alarmEntries) { AlarmClockSession.Mouse.ContextClick(alarmEntry.Coordinates); AlarmClockSession.FindElementByName("Delete").Click(); } AlarmClockSession.Dispose(); AlarmClockSession = null; }
public override IEnumerable <IOSElement> FindAllElements(IOSDriver <IOSElement> searchContext) { return(searchContext.FindElementsByName(Value)); }