Hi Florian
Requirement :
Handling Texts, buttons and media files from Whatsapp chatbot responses using Botium.
Issue :
We are facing the following issues while working with Whatspp chatbot.
-
Botium is unable to receive Buttons or other media files from Whatspp when we use WebDriver script = “Whatsapp”, I think the reason is " WEBDRIVERIO_OUTPUT_ELEMENT_HASH" has value “TEXT” in the botium whatsapp connector - botium-connector-webdriverio/whatsapp.js at master · codeforequity-at/botium-connector-webdriverio · GitHub
Also Botium doesn’t receive DUPLICATE response from whatsapp chatbot while " WEBDRIVERIO_OUTPUT_ELEMENT_HASH" =“TEXT”. -
To overcome the above issues we started using WebDriver script = “Custom Selenium Scripts and Selectors” but when we use WEBDRIVERIO_OUTPUT_ELEMENT_HASH" =“INDEX”, the conversation gets stuck after receiving 8 to 10 responses from the chatbot. Is there any such limitations while using WEBDRIVERIO_OUTPUT_ELEMENT_HASH" =“INDEX”?
We are not able to use WEBDRIVERIO_OUTPUT_ELEMENT_HASH = ELEMENTID or HASH , when we do so, botium tries calls .getHTML method and there is no HTML linked to the elements in Whatsapp.
Please find the attachments below.
Thanks & regards
Prasanth Kandasamy