private void DoPlay(string trackPath) { string playXPath = "//a[@class='sc-button-play playButton sc-button m-stretch']"; SeleniumUtils.GoToUrl(this._webDriver, trackPath); try { IWebElement playButton = this._webDriver.FindElement(By.XPath(playXPath)); playButton.Click(); } catch (NoSuchElementException) { } }