Forum Discussion
UnveN
9 years agoStaff
Hi!
It is available though it is not visible in the inspector. You can check this by evaluating an actual call to jQuery, like this one:
page.contentDocument.Script.jQuery("*").length
The call selects all elements on the page and returns its count. You can also use "$" shortcut instead of "jQuery".
jQuery is not a standard member of Script (which is essentially a "window" object of web page) and thus is not visible in the inspector. However it can be seen normally for Internet Explorer / Edge due to specifics of TestComplete support, code completion is also working fine in that case. Note that jQuery is actually a method - not a property (as shown on the screenshot attached to your message).
Hope this helps,
Stanislav.