-
-
Save testautomationtribe/778b9590e3b3a04670fc632e6dbc7e04 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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