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

waitForElementByXPath/id/name does not poll as per the poll frequency provided. #603

Open
rajatpuneak opened this issue Sep 9, 2019 · 0 comments

Comments

@rajatpuneak
Copy link

Hi @admc,

Using WD for mobile automation with Appium,
Latest WD and Appium Version on MacOsX, NodeJs v10.4.0,

The wait for does not poll every 1 sec as using in the following code snippet,
After the previous command immediately the following gets executed and later directly after 270000ms i.e, 4min 30sec

Does the pollfreq actually work for Appium ?

return driver.waitForElementByXPath('//*[@text="Restore completed"]', asserter.isDisplayed, 270000, 1000).isDisplayed().then(function (err, resp) { if (err) { console.log(' err :', err); return err; } });

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