8000 bugs in errorcodes parsing with lateset selenium3 beta 4 · Issue #488 · appium/java-client · GitHub
[go: up one dir, main page]

Skip to content

bugs in errorcodes parsing with lateset selenium3 beta 4 #488

@wangxf1030

Description

@wangxf1030

Description

NO_SUCH_ELEMENT can't be parsed.
NPE. Please see the attachment at the end for stacktrace.

Environment

java8
Appium1.5.2
MAC
Android

Details

With the latest selenium(selenium3 beta 4) and appium1.5.2:
When "NO_SUCH_ELEMENT" error is parsed,
ErrorCodesMobile.getExceptionType(int) is supposed to call ErrorCodes.getExceptionType(int) , and within that method it should call ErrorCodes.getExceptionType(string). However, ErrorCodes.getExceptionType(string) is overrided by ErrorCodesMobile, but it doesn't call ErrorCodes.getExceptionType(string), instead it thorws NPE.

Code To Reproduce Issue [ Good To Have ]

call findElement when the element is not displayed

Ecxeption stacktraces

please see attachment.
screen shot 2016-10-03 at 10 43 01 am

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0