Skip to content

Instantly share code, notes, and snippets.

@testautomationtribe
Created August 15, 2016 20:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save testautomationtribe/778b9590e3b3a04670fc632e6dbc7e04 to your computer and use it in GitHub Desktop.
Save testautomationtribe/778b9590e3b3a04670fc632e6dbc7e04 to your computer and use it in GitHub Desktop.
using OpenQA.Selenium;
namespace TatAutomationFramework.Web.Pages
{
public class SupportPObject
{
IWebDriver driver;
/// <summary>
/// Verifies current page
/// </summary>
/// <returns></returns>
public bool IsAtPage()
{
driver = TestBase.driver;
if (driver != null)
{
return driver.Title.Contains("Support");
}
return false;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment