selenium.JavascriptException: javascript error: Failed to execute 'elementFromPoint' on 'Document': The provided double value is non-finite

后端 未结 7 3179
花落未央
花落未央 2021-02-20 12:40

using chrome 78 and chromedriver78 When i click an audio file or try to stop an audio using selenium tests i am getting this error.

Error:

org.openqa.selen         


        
7条回答
  •  被撕碎了的回忆
    2021-02-20 13:28

    I have also faced the same issue. In my case the problem was that the element I tried to move to wasn't visible yet in the browser.

    So I used time.sleep(1)

    After that it worked.

提交回复
热议问题