public void Should_return_sizzlejs_install_script()
        {
            // GIVEN
            var scriptLoader = new ScriptLoader();

            // WHEN
            var script = scriptLoader.GetInstallScript();

            // THEN
            Console.WriteLine(script);
            Assert.That(script, Is.Not.Null, "expected script");
            Assert.That(script, Text.Contains("Sizzle"), "expected Sizzle function");
        }
        public void Should_inject_script_sucessfully()
        {
            ExecuteTest(browser =>
                            {
                                // GIVEN
                                var scriptLoader = new ScriptLoader();

                                // THEN
                                browser.RunScript(scriptLoader.GetInstallScript());

                                // WHEN
                                var eval = browser.Eval("window.Sizzle('#popupid').length;");
                                Assert.That(eval, Is.EqualTo("1"));
                            });
        }