Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V1.20.1 XQueryError:6 - "invalid type" error in hybrid app #319

Open
APshenkin opened this issue Oct 28, 2024 · 0 comments
Open

V1.20.1 XQueryError:6 - "invalid type" error in hybrid app #319

APshenkin opened this issue Oct 28, 2024 · 0 comments

Comments

@APshenkin
Copy link

APshenkin commented Oct 28, 2024

After upgrading to 1.20.1 it's not possible to interact with elements in webview in hybrid app. Any command return error XQueryError:6 - \"invalid type\"

Downgrading to 1.19.1 solve the issue.

2024-10-28T16:08:35.910Z DEBUG @wdio/appium-service: [5f2147ab][WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:10100/session/0BDCDF3C-D307-4B37-AD72-AD4AB420F640/element] with body: {"using":"xpath","value":"//XCUIElementTypeButton[@label=\"create-pasword-button\"]"}

2024-10-28T16:08:35.918Z DEBUG @wdio/appium-service: [5f2147ab][WebDriverAgentMac] [xcodebuild] t =     3.38s Find the Application 'my.app.bundle'

2024-10-28T16:08:36.211Z DEBUG @wdio/appium-service: [5f2147ab][WD Proxy] Got response with status 400: {"value":{"error":"invalid selector","message":"XQueryError:6 - \"invalid type\"","traceback":"(\n\t0   CoreFoundation                      0x000000018c8b62ec __exceptionPreprocess + 176\n\t1   libobjc.A.dylib                     0x000000018c39a158 objc_exception_throw + 60\n\t2   WebDriverAgentLib                   0x00000001053bdb18 +[FBXPath matchesWithRootElement:forQuery:includeOnlyFirstMatch:] + 664\n\t3   WebDriverAgentLib                   0x00000001053b8e50 -[XCUIElement(FBFind) fb_descendantsMatchingXPathQuery:shouldReturnAfterFirstMatch:] + 156\n\t4   WebDriverAgentLib                   0x00000001053b662c +[FBFindElementCommands elementsUsing:withValue:under:shouldReturnAfterFirstMatch:] + 328\n\t5   WebDriverAgentLib                   0x00000001053b6484 +[FBFindElementCommands elementUsing:withValue:under:] + 132\n\t6   WebDriverAgentLib                   0x00000001053b5698 +[FBFindElementCommands handleFindElement:] + 236\n\t7   WebDriverAgentLib                   0x00000001053f8f44 -[FBRoute_...

2024-10-28T16:08:36.212Z DEBUG @wdio/appium-service: [5f2147ab][W3C] Matched W3C error code 'invalid selector' to InvalidSelectorError
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant