﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Remote;
using OpenQA.Selenium.Support.Extensions;
using Riganti.Selenium.Core.Abstractions.Attributes;

namespace Riganti.Selenium.Core.Samples.FluentApi.Tests
{
    [TestClass]
    [FullStackTrace]
    public class CoordinatorTests : SeleniumTest
    {
        [TestMethod]
        public void Coordinator_Google()
        {
            this.RunInAllBrowsers(browser =>
            {
                browser.NavigateToUrl("https://google.com");
                browser.CheckIfTitleEquals("Google");
            });
        }
        [TestMethod]
        public void Coordinator_Google2()
        {
            this.RunInAllBrowsers(browser =>
            {
                browser.NavigateToUrl("https://google.com");
                browser.CheckIfTitleEquals("Google");
            });
        }
        [TestMethod]
        public void Coordinator_Google3()
        {
            this.RunInAllBrowsers(browser =>
            {
                browser.NavigateToUrl("https://google.com");
                browser.CheckIfTitleEquals("Google");
            });
        }
        [TestMethod]
        public void Coordinator_Google4()
        {
            this.RunInAllBrowsers(browser =>
            {
                browser.NavigateToUrl("https://google.com");
                browser.CheckIfTitleEquals("Google");
            });
        }
    }
}
