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

Mixing implicit and explicit wait #155

Open
jobezic opened this issue Jan 22, 2021 · 2 comments
Open

Mixing implicit and explicit wait #155

jobezic opened this issue Jan 22, 2021 · 2 comments

Comments

@jobezic
Copy link

jobezic commented Jan 22, 2021

Hi there,
it seems in pytest-splinter it is not possible to disable implicit wait (see here

browser.driver.implicitly_wait(splinter_selenium_implicit_wait)
)

but the issue is that if I want to use an explicit wait (pytest-splinter allow this) it will result in mixing explicit (the one I define) and implicit wait and this can take to strange waits behaviour (see: https://octopus.com/blog/selenium/8-mixing-waits/mixing-waits).

How to address this issue or disable implicit wait?

@bubenkoff
Copy link
Member

you can override a fixture / set the option to have implicit wait timeout be 0, which should effectively disable implicit wait

@mpasternak
Copy link
Contributor

@jobezic was the problem solved? Do you need any more assistance?

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

3 participants