Skip to content

Commit

Permalink
Fix calls for api changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Redth committed Sep 22, 2022
1 parent 2f343bc commit 1e7dbaa
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Driver/GrpcHost.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class GrpcHost
{
public GrpcHost(IAutomationConfiguration configuration)
{
var builder = CreateHostBuilder(this);
var builder = CreateHostBuilder(this, configuration);

host = builder.Build();
host.Start();
Expand Down
2 changes: 1 addition & 1 deletion src/Driver/MacDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public MacDriver(IAutomationConfiguration configuration) : base(configuration)
//var connectResponse = idb.connect(new Idb.ConnectRequest());
//Udid = connectResponse.Companion.Udid;

grpc = new GrpcHost();
grpc = new GrpcHost(configuration);
}

//public readonly string Udid;
Expand Down
2 changes: 1 addition & 1 deletion src/Driver/WindowsDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public WindowsDriver(IAutomationConfiguration configuration) : base(configuratio
appCapabilities.SetCapability("platformName", "Windows");
appCapabilities.SetCapability("platformVersion", "1.0");

grpc = new GrpcHost();
grpc = new GrpcHost(configuration);

Session = new Lazy<WindowsDriver<WindowsElement>>(() =>
new WindowsDriver<WindowsElement>(new Uri("http://127.0.0.1:4723"), appCapabilities));
Expand Down
2 changes: 1 addition & 1 deletion src/Driver/iOSDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public iOSDriver(IAutomationConfiguration configuration) : base(configuration)

Name = $"iOS ({configuration.Device} [{Udid}])";

grpc = new GrpcHost();
grpc = new GrpcHost(configuration);
}

public readonly string Udid;
Expand Down

0 comments on commit 1e7dbaa

Please sign in to comment.