Skip to content

Mixing implicit and explicit wait #155

Open
@jobezic

Description

@jobezic

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?

Activity

bubenkoff

bubenkoff commented on Jan 22, 2021

@bubenkoff
Member

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

mpasternak

mpasternak commented on Aug 7, 2022

@mpasternak
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @bubenkoff@mpasternak@jobezic

        Issue actions

          Mixing implicit and explicit wait · Issue #155 · pytest-dev/pytest-splinter