Skip to content

v2.2.0.1 - Multi browser execution, sticky sessions

Compare
Choose a tag to compare
@stirno stirno released this 27 Oct 00:28
· 103 commits to master since this release

New toys:

FluentSession.EnableStickySession();
FluentSession.DisableStickySession();
FluentAutomation.SeleniumWebDriver.Bootstrap(Browser.Chrome, Browser.Firefox, Browser.PhantomJs);

On test classes, you can now get access to the session object and IoC container. This should allow complete extensibility for users:

public class Test1 : FluentTest
{
    public Test1()
    {
        FluentAutomation.SeleniumWebDriver.Bootstrap(Browser.Chrome);
        this.Session.Container.Register<IWebDriver>((c, o) => new RemoteWebDriver(...));
    }

    public void TestMethod1()
    {
        I.Open("http://google.com/");
    }
}

Updated to use Selenium 2.37