appium / appium/java-client

wait.until(ExpectedConditions.visibilityOfElementLocated execution is taking too much time after upgrading selenium to 4.3.0 along with appium version 8.1.1 and webdriver version to 5.2.3

Open
#1,743 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

NeedsInfo
Dominant language
Java
Stars
1.3k
Forks
752
Avg merge
6d 21h
Merged PRs (30d)
8

Description

The problem

wait.until(ExpectedConditions.visibilityOfElementLocated execution is taking too much time after upgrading selenium to 4.3.0 along with appium version 8.1.1 and webdriver version to 5.2.3
Explicite wait is defined as 10 sec still it takes around 10 mins to execure

Environment

  • Appium version (or git revision) that exhibits the issue: 8.1.1
  • Last Appium version that did not exhibit the issue (if applicable):8.0.0
  • Desktop OS/version used to run Appium: Windows 10
  • Node.js version (unless using Appium.app|exe): 16.15.0
  • Npm or Yarn package manager:
  • Mobile platform/version under test:
  • Real device or emulator/simulator:
  • Appium CLI or Appium.app|exe:

Details

If necessary, describe the problem you have been experiencing in more detail.

Link to Appium logs

Create a GIST which is a paste of your full Appium logs, and link them here.
Do NOT paste your full Appium logs here, as it will make this issue very long and hard to read!
If you are reporting a bug, always include Appium logs!

Code To Reproduce Issue [ Good To Have ]

wait.until(ExpectedConditions.visibilityOfElementLocated(By.xpath);
Please remember that with sample code it's easier to reproduce the bug and it's much faster to fix it.

Please git clone https://github.com/appium/appium and from the examples directory, use one of your favourite languages and sample apps to reproduce the issue.

In case a similar scenario is missing in examples, please submit a PR with one of the sample apps provided.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the wait.until(ExpectedConditions.visibilityOfElementLocated(...)) call with Appium 8.1.1, Selenium 4.3.0, and WebDriver 5.2.3, then compare it with Appium 8.0.0. The issue provides no named source file or test, and its environment details and Appium logs are incomplete; done requires identifying why the configured 10-second wait takes about 10 minutes and verifying the corrected behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
mobile-dev, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.