diff --git a/Aquality.Selenium/src/Aquality.Selenium/Aquality.Selenium.xml b/Aquality.Selenium/src/Aquality.Selenium/Aquality.Selenium.xml index ad496b6..3a4a92f 100644 --- a/Aquality.Selenium/src/Aquality.Selenium/Aquality.Selenium.xml +++ b/Aquality.Selenium/src/Aquality.Selenium/Aquality.Selenium.xml @@ -70,7 +70,6 @@ Instantiate browser. - Instance of Selenium WebDriver for desired web browser. Context of the webdriver (for example: DriverService is a part of context) @@ -79,6 +78,11 @@ Instance of Selenium WebDriver for desired web browser. + + + Container of WebDriver and other objects which are involved into webdriver instantiation process + + Provides Network Handling functionality diff --git a/Aquality.Selenium/tests/Aquality.Selenium.Tests/Integration/BrowserTests.cs b/Aquality.Selenium/tests/Aquality.Selenium.Tests/Integration/BrowserTests.cs index 0e11466..329ffef 100644 --- a/Aquality.Selenium/tests/Aquality.Selenium.Tests/Integration/BrowserTests.cs +++ b/Aquality.Selenium/tests/Aquality.Selenium.Tests/Integration/BrowserTests.cs @@ -258,5 +258,12 @@ public void Should_BePossibleTo_GetDownloadDir() var downloadDir = AqualityServices.Browser.DownloadDirectory; Assert.That(downloadDir.ToLower().Contains("downloads", StringComparison.InvariantCultureIgnoreCase)); } + + [Test] + public void Should_BePossibleTo_GetAccessToDriverContext() + { + var driverProcessId = AqualityServices.Browser.DriverContext.DriverService?.ProcessId; + Assert.That(driverProcessId, Is.Not.EqualTo(0)); + } } }