Beispiel #1
0
        public void CreateMessage_FirefoxOptions_ReturnString()
        {
            var options = new FirefoxOptions();

            options.AddArguments(new List <string> {
                "--start-maximized", "--ignore-certificate-errors"
            });
            var str = options.CreateMessage().Replace("\n", "").Replace("\r", "").RemoveWhitespace();

            str.Should().Be(firefoxOptions);
        }