diff --git a/.gitignore b/.gitignore index 11af94b6..ba4b3c52 100644 --- a/.gitignore +++ b/.gitignore @@ -15,4 +15,5 @@ packages .idea .vs/ env.json -.vscode/ \ No newline at end of file +.vscode/ +*.user diff --git a/src/Appium.Net/Appium/AppiumDriver.cs b/src/Appium.Net/Appium/AppiumDriver.cs index 82cc46f1..bdcdb585 100644 --- a/src/Appium.Net/Appium/AppiumDriver.cs +++ b/src/Appium.Net/Appium/AppiumDriver.cs @@ -194,10 +194,10 @@ public IReadOnlyCollection FindElementsByAccessibilityId(string selector) => #region IFindsByImage Members - public W FindElementByImage(string base64Template) => FindElement(MobileBy.Image(base64Template)); + public W FindElementByImage(string base64Template) => FindElement(MobileSelector.Image, base64Template); public IReadOnlyCollection FindElementsByImage(string base64Template) => - ConvertToExtendedWebElementCollection(FindElements(MobileBy.Image(base64Template))); + ConvertToExtendedWebElementCollection(FindElements(MobileSelector.Image, base64Template)); #endregion diff --git a/src/Appium.Net/Appium/Interfaces/IFindsByimage.cs b/src/Appium.Net/Appium/Interfaces/IFindsByimage.cs index c4e10b77..2079a89b 100644 --- a/src/Appium.Net/Appium/Interfaces/IFindsByimage.cs +++ b/src/Appium.Net/Appium/Interfaces/IFindsByimage.cs @@ -22,8 +22,8 @@ public interface IFindsByImage : IFindsByFluentSelector where W : IWeb /// /// Performs the lookup for a single element by matching its image template /// to the current full screen shot. This type of locator requires OpenCV libraries - /// and bindings for NodeJS to be installed on the server machine. ookup options - /// fine-tuning might be done via . (Supported since Appium 1.8.2) + /// and bindings for NodeJS to be installed on the server machine. + /// Lookup options fine-tuning might be done via . (Supported since Appium 1.8.2) /// /// base64-encoded template image string. /// Supported image formats are the same as for OpenCV library. @@ -36,8 +36,8 @@ public interface IFindsByImage : IFindsByFluentSelector where W : IWeb /// /// Performs the lookup for a list of elements by matching its image template /// to the current full screen shot. This type of locator requires OpenCV libraries - /// and bindings for NodeJS to be installed on the server machine. ookup options - /// fine-tuning might be done via . (Supported since Appium 1.8.2) + /// and bindings for NodeJS to be installed on the server machine. + /// Lookup options fine-tuning might be done via . (Supported since Appium 1.8.2) /// /// base64-encoded template image string. /// Supported image formats are the same as for OpenCV library.