I'm using python selenium to automate the download of financial reports. To achieve this I have to insert my password using this virtual keyboard:
I'm trying to click every letter of my password through xpath:
object = driver.find_element_by_xpath('//*[@id="alphaKeyboard"]/area[13]')
object.click()
The XPath to each letter is quite similar, only changes the number inside *area[]*
But I'm getting the following error:
selenium.common.exceptions.JavascriptException: Message: javascript error: shape=rectangle is not supported
I suppose this problem is related to the shape='rectangle' element that contains the virtual keyboard, the complete html element for each letter looks like this, for example for the letther 'F':
<area shape="rectangle" coords=" 72, 22, 93, 44" onclick="writeAlpha('F')" onmouseover="setHandCursor(document.alphaKeyboard)" onmouseout="setDefaultCursor(document.alphaKeyboard)">
Any suggestions with that?
I let you the URL if you want to try:
https://sucursalempresas.transaccionesbancolombia.com/SVE/control/BoleTransactional.bancolombia



object.click()line?