MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
WebPagetest Forums - Not able to use jQuery with JFireFox

WebPagetest Forums

Full Version: Not able to use jQuery with JFireFox
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I am having problems running jQuery with FireFox. It just doesn't seem to be working. My WPT script has

execAndWait $("#wrapper > div:nth-child(1) > div:nth-child(2) > ul:nth-child(1) > li:nth-child(2) > a:nth-child(1)").click();

This will work with chrome but doesn't work with FireFox. I have tried a few versions of FireFox.

Also, the following will work with FireFox. However, I really need to use jQuery for some of the other calls.

execAndWait document.querySelector("#wrapper > div:nth-child(1) > div:nth-child(2) > ul:nth-child(1) > li:nth-child(2) > a:nth-child(1)").click();

I can call jQuery from the FireFox's console and it does click on the object.

Current Setup
Private Instance of WPT
WPT server 3.0
WPT agent 3.0.0.348
FireFox v51.0.1 (32-bit)
$().jquery) = 2.1.3

Any help or suggestions would be greatly appreciated.

Thank you,
John
Reference URL's