18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
_include() a third-party library such as MooTools
I'm having trouble including MooTools (just the core javascript language enhancements, no browser stuff).
I think it's due mostly to the mandatory $ character in front of variables. Is there a workaround?
I think it's due mostly to the mandatory $ character in front of variables. Is there a workaround?
Comments
How are you including it in your scripts?
If you wish to have the extensions available to Sahi script, you could just open sahi/htdocs/spr/lib.js and add the moo tools functions at the top of lib.js.
Regards,
Narayan
The problem turned out to be MooTools.More.Date had problems with its MooTools.Core.Events implementation, at least in rhino. MooTools.Core.* works fine, so I'll have to look elsewhere for a javascript date library.