public void BeforeAll()
 {
     TimeOutDuration timeSpan = new TimeOutDuration(new TimeSpan(0, 0, 0, 5, 0));
     driver = new FirefoxDriver();
     driver.Url = "https://www.google.com";
     AppiumPageObjectMemberDecorator decorator = new AppiumPageObjectMemberDecorator(timeSpan);
     PageFactory.InitElements(driver, this, decorator);
     links = new FoundLinks();
     PageFactory.InitElements(ires, links, decorator);
 }
        public void BeforeAll()
        {
            TimeOutDuration timeSpan = new TimeOutDuration(new TimeSpan(0, 0, 0, 5, 0));

            driver     = new FirefoxDriver();
            driver.Url = "https://www.google.com";
            AppiumPageObjectMemberDecorator decorator = new AppiumPageObjectMemberDecorator(timeSpan);

            PageFactory.InitElements(driver, this, decorator);
            links = new FoundLinks();
            PageFactory.InitElements(ires, links, decorator);
        }