We have recently added the Zendesk chat widget to our website following the directions here. While the widget works well, it has broken our automated testing of the web app (using the Selenium framework). The issue stems from the fact that the widget appears in its own iframe but doesn't have a unique name which makes it difficult to target programmatically. What's really strange is that I can seem to get to it by the frame index ("jump to the fourth iframe on this page"); if you inspect the ZD chat widget in Firebug or the Chrome inspector, it looks like it occupies more than one frame, as indicated in the screen shot below.
Has anyone else experienced this? Any good workarounds?
Please sign in to leave a comment.