public void TestTouchActions() { var touches = new TouchActions(this.driver); var pivot = this.driver.FindElementById("MainPivot"); touches.Flick(pivot, -300, 0, 500).Perform(); var wait = new WebDriverWait(this.driver, TimeSpan.FromSeconds(5)); var element = wait.Until(ExpectedConditions.ElementIsVisible(By.Id("SecondTabTextBox"))); Assert.AreEqual("Nice swipe!", element.Text); }