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

SelenideAppium.$(Selenide.$(By.id("Not_existing"))).exists() return true for non-existent element #2683

Closed
232629 opened this issue Mar 13, 2024 · 0 comments · Fixed by #2685
Assignees
Milestone

Comments

@232629
Copy link

232629 commented Mar 13, 2024

The problem

A non-existent Selenide element wrapped in SelenideApium will return true when calling the exist().

Tell us about your environment

  • Selenide-Appium Version: 7.2.1
  • OS Version: Win 10

Code To Reproduce Issue [ Good To Have ]

Selenide.$(By.id("Not_existing")).exists();
false

SelenideAppium.$(By.id("Not_existing")).exists();
false

SelenideAppium.$(Selenide.$(By.id("Not_existing"))).exists();
true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants