Hi,
After I switched to 1.5 beta release, all my elements with By.name have stopped working with the following error msg -
Log - org.openqa.selenium.InvalidSelectorException: Locator Strategy ‘name’ is not supported for this session
Appium logs-
info: [MJSONWP] Responding to client with driver.click() result: true
info: [HTTP] <-- POST /wd/hub/session/eba0dd49-327a-44d3-9e0c-978c89b6feaf/element/12/click 200 286.842 ms - 76
info: [HTTP] --> POST /wd/hub/session/eba0dd49-327a-44d3-9e0c-978c89b6feaf/elements
info: [MJSONWP] Calling AppiumDriver.findElements() with args: [“name”,“Login”,“eba0dd49-327a-44d3-9e0c-978c89b6feaf”]
info: [HTTP] <-- POST /wd/hub/session/eba0dd49-327a-44d3-9e0c-978c89b6feaf/elements 500 2.328 ms - 144
info: [HTTP] --> POST /wd/hub/session/eba0dd49-327a-44d3-9e0c-978c89b6feaf/elements
info: [MJSONWP] Calling AppiumDriver.findElements() with args: [“xpath”,"//[@class=‘android.widget.LinearLayout’ and @index=‘0’]",“eba0dd49-327a-44d3-9e0c-978c89b6feaf”]
info: [debug] [AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//[@class=‘android.widget.LinearLayout’ and @index=‘0’]",“context”:"",“multiple”:true}}