Apr-18-2020, 01:55 PM
I'm Automating a site which has a canvas inside an Iframe. Have been able to navigate through the canvas and click on buttons using chain actions.
The only xpath available is referencing the entire canvas
add=WebDriverWait(driver, 20).until(ec.visibility_of_element_located((By.XPATH, '//*[@id="Desktop"]/body/canvas')))
Hover = ActionChains(driver).move_to_element(add)
Hover.move_by_offset(-5,60)
Hover.click()
Hover.perform()
time.sleep(2)Is there away I can extract text on a given off_set??The only xpath available is referencing the entire canvas
