-
-
Save testautomationtribe/50dd5542c7793f88a7573a9d54a7dded 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; | |
using OpenQA.Selenium.Support.PageObjects; | |
namespace TatAutomationFramework.Web.Pages | |
{ | |
public class SideMetaPObject | |
{ | |
[FindsBy(How = How.PartialLinkText, Using = "Log in")] | |
protected IWebElement LoginLink { get; set; } | |
/// <summary> | |
/// Navigate to login Page | |
/// </summary> | |
/// <returns></returns> | |
public WpLoginPObject NavigateToLogin() | |
{ | |
LoginLink.Click(); | |
return DoInitialize.PageElementsIn<WpLoginPObject>(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment