Please note that Sahi's development and support teams do not actively monitor this. This is more a community forum. If you are a Sahi Pro user looking for commercial support, please email support @ sahipro.com with your query.

Trying to activate the keyboard shortcut in firefox (mac) for the view page source option

pistolpetepistolpete Members
edited June 2014 in Sahi - Open Source
Hi All,

I'm having issues with the following basic scenario.
I want sahi (free) to open the view page source option in Firefox on my Mac.
I have tried the following:

_keyPress(document.body, 'u', "CMD");

and it gives me:

undefined

Any ideas ?
Reason I am doing this is that I want to search for a particular piece of code within a certain page, so once I have found out how to view page source I can assert if that code is there or not.

Cheers in advanced

Pistolpete
Sign In or Register to comment.