mozilla js で MozillaBrowserBot オブジェクトを取得しようとしました。しかし、それはオブジェクトを与えていません。私は以下のようにコードを使用しました:
function externalApplication(){
var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"].getService(Components.interfaces.nsIWindowMediator);
alert("wm: "+wm);
var contentWindow=wm.getMostRecentWindow('navigator:browser').getBrowser().contentWindow;
alert("contentWindow: "+contentWindow);
//I am not gettting this pageBot object
var pagebot=new MozillaBrowserBot(contentWindow);
alert(pagebot);
}
xpath チェッカーに検索オプションを追加したいと考えています。MozillaBrowserBot が Selenium IDE に関連している場合、pagebot オブジェクトを取得する可能性はありますか?