Skip to main content
Bumped by Community user
Bumped by Community user
deleted 4 characters in body
Source Link
Alexey R.
  • 11.6k
  • 5
  • 20
  • 39

I am trying to launch this browser & the code worked previously:

I am trying to launch this browser & the code worked previously:


namespace AutoFramework
{
    using OpenQA.Selenium;
    using OpenQA.Selenium.Chrome;
    using System;

    public static class Driver
    {
        //public static IWebDriver driver { get; set; }

        public static IWebDriver driver = new ChromeDriver();

        public static void WaitForElementUpTo(int sec`enter code here`onds = 5)
        {
            driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(seconds);
        }
    }
}
I am trying to launch this browser & the code worked previously:


namespace AutoFramework
{
    using OpenQA.Selenium;
    using OpenQA.Selenium.Chrome;
    using System;

    public static class Driver
    {
        //public static IWebDriver driver { get; set; }

        public static IWebDriver driver = new ChromeDriver();

        public static void WaitForElementUpTo(int sec`enter code here`onds = 5)
        {
            driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(seconds);
        }
    }
}

I am trying to launch this browser & the code worked previously:

namespace AutoFramework
{
    using OpenQA.Selenium;
    using OpenQA.Selenium.Chrome;
    using System;

    public static class Driver
    {
        //public static IWebDriver driver { get; set; }

        public static IWebDriver driver = new ChromeDriver();

        public static void WaitForElementUpTo(int sec`enter code here`onds = 5)
        {
            driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(seconds);
        }
    }
}
Source Link
OA345
  • 545
  • 1
  • 10
  • 19

Launching Mozilla Firefox Browser

I am trying to launch this browser & the code worked previously:


namespace AutoFramework
{
    using OpenQA.Selenium;
    using OpenQA.Selenium.Chrome;
    using System;

    public static class Driver
    {
        //public static IWebDriver driver { get; set; }

        public static IWebDriver driver = new ChromeDriver();

        public static void WaitForElementUpTo(int sec`enter code here`onds = 5)
        {
            driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(seconds);
        }
    }
}