pytest-splinter icon indicating copy to clipboard operation
pytest-splinter copied to clipboard

Mixing implicit and explicit wait

Open jobezic opened this issue 4 years ago • 2 comments

Hi there, it seems in pytest-splinter it is not possible to disable implicit wait (see here https://github.com/pytest-dev/pytest-splinter/blob/5522d59fcabfa8904385c1e10ca61460a25193e0/pytest_splinter/plugin.py#L596)

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?

jobezic avatar Jan 22 '21 15:01 jobezic

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

bubenkoff avatar Jan 22 '21 22:01 bubenkoff

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

mpasternak avatar Aug 07 '22 08:08 mpasternak