-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update .NET test to properly use remote/grid
- Loading branch information
Showing
2 changed files
with
21 additions
and
3 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
dotnet/test/common/CustomDriverConfigs/StableChannelRemoteChromeDriver.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using OpenQA.Selenium.Chrome; | ||
using OpenQA.Selenium.Remote; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace OpenQA.Selenium.Remote | ||
{ | ||
public class StableChannelRemoteChromeDriver : RemoteWebDriver | ||
{ | ||
public StableChannelRemoteChromeDriver() | ||
: base(new Uri("http://127.0.0.1:6000/wd/hub/"), new ChromeOptions()) | ||
{ | ||
this.FileDetector = new LocalFileDetector(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters