private BrowserPageObject GetBrowserPageObject(PageObjectBase pageObject)
        {
            if (pageObject == null)
            {
                return(null);
            }

            var browserPageObject = pageObject as BrowserPageObject;

            if (browserPageObject != null)
            {
                return(browserPageObject);
            }
            else
            {
                return(GetBrowserPageObject(pageObject.Parent));
            }
        }
Beispiel #2
0
 protected PageObjectBase(PageObjectBase parent, ISearchContext searchContext)
 {
     this.Parent        = parent;
     this.SearchContext = searchContext;
 }
 public AppiumXamarinPageObjectBase(PageObjectBase parent, ISearchContext searchContext) : base(parent, searchContext)
 {
 }
 public AppiumXamarinPageObjectBase(PageObjectBase parent) : base(parent)
 {
 }
 protected AppiumWpfPageObjectBase(PageObjectBase parent, ISearchContext searchContext) : base(parent, searchContext)
 {
 }
 protected AppiumWpfPageObjectBase(PageObjectBase parent) : base(parent)
 {
 }
 protected WebPageObjectBase(PageObjectBase parent, ISearchContext searchContext) : base(parent, searchContext)
 {
 }
 protected WebPageObjectBase(PageObjectBase parent) : base(parent)
 {
 }
Beispiel #9
0
 protected AndroidPageObjectBase(PageObjectBase parent) : base(parent)
 {
 }