Hi there!
I'm trying to validate a SVG plot by interacting (triggering events) over some nodes in it. The way I'm implementing the interaction is through the use of execute_script running a piece of JQuery (selector + trigger(event)). This was working on previous versions of Selenium, now, with selenium==3.7.0, this doesn't work anymore.
A sample code of the implementation would be:
>>> from selenium import webdriver
>>> wd = webdriver.Firefox()
>>> s = '$(\'[data-node-type="leaf_node"][transform="translate(236.66666666666663 459)"]\').trigger('mouseenter')'
>>> wd.execute_script(s)
# here the execution hangs, nothing is returned and I only can kill the process
In the code above, [data-node-type="leaf_node"][transform="translate(236.66666666666663 459)"], is a g node in the SVG which I'm trying to select using JQuery. As I said this was working in previous versions of Selenium.
However, a similar interaction on a regular HTML element works as expected.
Does anyone know what is going on or have a workaround?
Thanks"