javascript error: Failed to execute 'elementsFromPoint' on 'Document': The provided double value is non-finite
In my case i was using new Actions(driver).moveToElement(element).perform();
in Command Listener before each command so it move the focus on element which being executed.
This line causing the error mentioned in question. After commenting this its working fine.
The provided double value is non-finite error when attempting to get the locate an element using Selenium and Python
To grab the Try it out button and click on it first create a webdriver wait to wait for the element to be clickable.
element = WebDriverWait(driver, 20).until(EC.element_to_be_clickable((By.XPATH, "//*[@id='devices_get_devices_dev_selector_messages_content']/form/div[3]/input")))
element.click()
Import
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
Related Topics
How Does the Java Array Argument Declaration Syntax "..." Work
Overriding Object.Equals VS Overloading It
Gson.Tojson() Throws Stackoverflowerror
Generic Support for Iso 8601 Format in Java 6
Time Complexity for Java Arraylist
Calendar.Month Gives Wrong Output
Role/Purpose of Contextloaderlistener in Spring
Why Never Change the Notifier in Receiving a Change Event
Permutation Algorithm Without Recursion? Java
Read Rsa Private Key of Format Pkcs1 in Java
Java Web Service Client Basic Authentication
Having a Column Name as Input Parameter of a Preparedstatement
How to Fix a Compilation Error for Unhandled Exception on Call to Thread.Sleep()