You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
WindowsDriver find returns RemoteWebElement instead of WindowsElement #1247
I'm new to Appium and I have the problem described in this issue #1194 (which was closed without any explanation). Basically I'm creating a WindowsDriver<WindowsElement> to automate a WPF app, when finding elements (by accesibility id) it says foundBy io.appium.java_client.windows.WindowsDriver however the returned element type is RemoteWebElement. I would expect the type to be WindowsElement. What's more, calling find by accessibility id on the returned element sometimes fails with a not supported exception.
Environment
java client build version or git revision if you use some shapshot: 7.2.0
Appium server version or git revision if you use some shapshot: 1.13.0
Desktop OS/version used to run Appium if necessary: Windows 10
Node.js version (unless using Appium.app|exe) or Appium CLI or Appium.app|exe:
Mobile platform/version under test: Windows/WPF
Real device or emulator/simulator: -
Details
Happy to provide, please let me know what you need.
Hey! I have the exact same issue: WindowsDriver returning RemoteWebElement, thus leading to cast errors if trying to store them in WindowsElement variables.
Looks like the same issue as #774.
Activity
guilim commentedon Dec 3, 2019
Hey! I have the exact same issue: WindowsDriver returning RemoteWebElement, thus leading to cast errors if trying to store them in WindowsElement variables.
Looks like the same issue as #774.