Broken pipe error selenium webdriver, when there is a gap between commands?

前端 未结 3 1346
悲&欢浪女
悲&欢浪女 2020-12-10 15:58

Ubuntu 18.x + selenium webdriver(Firefox)

Facing a weird problem, the following block works if I run all of it together

fr         


        
3条回答
  •  盖世英雄少女心
    2020-12-10 16:57

    This is a known bug of the latest build v0.21.0 of geckodriver matched with the latest version of selenium v3.11

    To work around this bug either: a) downgrade geckodriver to v0.20.1 or earlier b) wait for the bugfix/mitigations be rolled out in the upcoming versions of selenium and/or geckodriver

    This bug originates from newly added support in v 0.21 of Keep-Alive feature. However, the default timeout from geckodriver in 0.21 is set to 5s, which is exceptionally short.

    This bug is tracked here for geckodriver and here for selenium.

提交回复
热议问题