Exemplo n.º 1
0
        public void TestInit()
        {
            var options = new AppiumOptions();

            options.AddAdditionalOption("app", "Microsoft.WindowsCalculator_8wekyb3d8bbwe!App");
            options.AddAdditionalOption("deviceName", "WindowsPC");
            _driver = new WindowsDriver <WindowsElement>(new Uri("http://127.0.0.1:4723"), options);
            _driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(5);
        }