Skip to content

bugs in errorcodes parsing with lateset selenium3 beta 4 #488

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

Closed
wangxf1030 opened this issue Oct 12, 2016 · 3 comments
Closed

bugs in errorcodes parsing with lateset selenium3 beta 4 #488

wangxf1030 opened this issue Oct 12, 2016 · 3 comments

Comments

@wangxf1030
Copy link

wangxf1030 commented Oct 12, 2016

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

@TikhomirovSergey
Copy link
Contributor

The migration to Selenium 3 is planned. But we have not started it yet.

@SrinivasanTarget
Copy link
Member

I'm not able to reproduce this.Can you paste the entire logs inform of gist. It throws NSE exception perfectly for me in Selenium 3.0 with Java-Client #489

@SrinivasanTarget
Copy link
Member

Also let us know what you are exactly trying to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants