Wetator / wetator

Other
2 stars 0 forks source link

Wetator is not able to handle defered include of Javascript file correctly #18

Closed rbri closed 2 years ago

rbri commented 2 years ago

% migrated from trac

If a html file includes a defered Javacript file in head tag, wetator is not able to handle it correctly. It seems that the Javascript code is evaluated too early, and thus, you get null references:

Executing javascript on page failed (reason: 'TypeError: Cannot call method "addEventListener" of null...

I used Wetator version 1.11.0.

rbri commented 2 years ago

Many thanks for the bur report. Seems to be a really old issue with HtmlUnit?. The fix is already in, will do a new Wetator release after the next HtmlUnit? release (maybe this weekend).

rbri commented 2 years ago

Wetator 1.17.0 is out. Will close this. Please open a new one if you still have problems.