"Fossies" - the Fresh Open Source Software Archive

Member "selenium-selenium-4.8.1/dotnet/test/webdriverbackedselenium/TestEval.cs" (17 Feb 2023, 352 Bytes) of package /linux/www/selenium-selenium-4.8.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C# source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 using NUnit.Framework;
    2 
    3 namespace Selenium.Tests
    4 {
    5     [TestFixture]
    6     public class TestEval : SeleniumTestCaseBase
    7     {
    8         [Test]
    9         public void ShouldAllowEval()
   10         {
   11             selenium.Open("../tests/html/test_open.html");
   12             Assert.AreEqual(selenium.GetEval("window.document.title"), "Open Test");
   13         }
   14     }
   15 }