From afa873480ce3711ea4f731f29eb6047de07d7c66 Mon Sep 17 00:00:00 2001 From: YevgeniyShunevych Date: Tue, 15 Aug 2017 14:26:05 +0300 Subject: [PATCH] Fix AddEncodedExtension methods of ChromeOptions and OperaOptions Signed-off-by: Jim Evans --- dotnet/src/webdriver/Chrome/ChromeOptions.cs | 2 +- dotnet/src/webdriver/Opera/OperaOptions.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dotnet/src/webdriver/Chrome/ChromeOptions.cs b/dotnet/src/webdriver/Chrome/ChromeOptions.cs index 5626fc0f5f8a9..2dd7e343b361b 100644 --- a/dotnet/src/webdriver/Chrome/ChromeOptions.cs +++ b/dotnet/src/webdriver/Chrome/ChromeOptions.cs @@ -321,7 +321,7 @@ public void AddEncodedExtension(string extension) throw new ArgumentException("extension must not be null or empty", "extension"); } - this.AddExtensions(extension); + this.AddEncodedExtensions(extension); } /// diff --git a/dotnet/src/webdriver/Opera/OperaOptions.cs b/dotnet/src/webdriver/Opera/OperaOptions.cs index 4af67e922513b..06bcb6f2665f2 100644 --- a/dotnet/src/webdriver/Opera/OperaOptions.cs +++ b/dotnet/src/webdriver/Opera/OperaOptions.cs @@ -291,7 +291,7 @@ public void AddEncodedExtension(string extension) throw new ArgumentException("extension must not be null or empty", "extension"); } - this.AddExtensions(extension); + this.AddEncodedExtensions(extension); } ///