AddEventListener() cannot register OnClick events for a span element.
A failure occurs if trying to register an OnClick event for span element.
2 comments
ADMIN
Shtilianov
Posted on:19 Feb 2019 08:12
Hi,
AddEventListener() can now be used with "span" and other html elements as well.
It is important to remember to add "RemoveEventListener();" in the event handler in order to ensure that the browser is in a good state. This is a precaution to ensure that the browser will always close successfully after test execution completes.
This change will be available with the next internal build and official release.
This lack of functionality is really hampering our ability to make our tests robust. If you want people to use Telerik over Selenium this is very necessary to fix.