Skip to content

Commit b3a0d62

Browse files
committed
Updating .NET tests
1 parent b78cf1b commit b3a0d62

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

dotnet/test/common/ByTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ public void ShouldUseXPathToFindByNameIfDriverDoesNotImplementFindsByName()
3535
Assert.AreEqual(mockElement.Object, element);
3636
}
3737

38-
public interface IAllDriver : IFindsById, IFindsByLinkText, IFindsByName, IFindsByXPath, ISearchContext
38+
public interface IAllDriver : IFindsElement, IFindsById, IFindsByLinkText, IFindsByName, IFindsByXPath, ISearchContext
3939
{
4040
}
4141

42-
public interface IOnlyXPath : IFindsByXPath, ISearchContext
42+
public interface IOnlyXPath : IFindsElement, IFindsByXPath, ISearchContext
4343
{
4444
}
4545
}

dotnet/test/common/ClearTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public void ShouldBeAbleToClearTextInput()
113113
[Test]
114114
public void ShouldBeAbleToClearUrlInput()
115115
{
116-
ShouldBeAbleToClearInput(By.Name("url_input"), "http://selenium.dev/");
116+
ShouldBeAbleToClearInput(By.Name("url_input"), "https://selenium.dev/");
117117
}
118118

119119
[Test]

dotnet/test/common/CustomDriverConfigs/DevChannelChromeDriver.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public DevChannelChromeDriver(ChromeDriverService service, ChromeOptions options
1919

2020
public static ChromeOptions DefaultOptions
2121
{
22-
get { return new ChromeOptions() { BinaryLocation = @"C:\Program Files (x86)\Google\Chrome Dev\Application\chrome.exe" }; }
22+
get { return new ChromeOptions() { BinaryLocation = @"C:\Program Files (x86)\Google\Chrome Dev\Application\chrome.exe", AcceptInsecureCertificates = true }; }
2323
}
2424
}
2525
}

dotnet/test/common/CustomDriverConfigs/StableChannelChromeDriver.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,10 @@ public StableChannelChromeDriver(ChromeDriverService service, ChromeOptions opti
1111
: base(service, options)
1212
{
1313
}
14+
15+
public static ChromeOptions DefaultOptions
16+
{
17+
get { return new ChromeOptions() { AcceptInsecureCertificates = true }; }
18+
}
1419
}
1520
}

0 commit comments

Comments
 (0)