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

后端 未结 7 3178
花落未央
花落未央 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:27

    This error message...

    Javascript error: Failed to execute 'elementsFromPoint' on 'Document': The provided double value is non-finite
    

    ...implies that the WebDriver instance was unable to find the desired element using the Locator Strategy for one or the other reasons:

    • The locator strategy doesn't identifies the desired element uniquely within the DOM Tree.
    • The element haven't loaded properly when you tried to interact with it.
    • Element is within an