logo       

Re: letting Selenium do what it wants (was: user.js for firefox): msg#00073

web.selenium.user

Subject: Re: letting Selenium do what it wants (was: user.js for firefox)

Here is the error I get from javascript:

Error: [Exception... "Failure" nsresult: "0x80004005
(NS_ERROR_FAILURE)" location: "JS frame ::
file:///usr/local/selenium/selenium-browserbot.js ::
anonymous :: line 247" data: no]
Source File:
file:///usr/local/selenium/selenium-browserbot.js
Line: 247

and line 247 is (marked with -->)

BrowserBot.prototype.getCurrentWindow = function() {
--> var testWindow =
this.getContentWindow().window;
if (this.currentWindowName != null) {
testWindow =
this.getTargetWindow(this.currentWindowName);
}
return testWindow;
};

--- vernon viles <vernonviles-/E1597aS9LQAvxtiuMwx3w@xxxxxxxxxxxxxxxx> wrote:

> Hi Paul,
>
> Added these lines from your original post to user.js
> but still no banana. I have no idea about user.js so
> I
> may have missed something really obvious.
>
>
> user_pref("capability.principal.codebase.p0.id",
> "file://");
>
user_pref("signed.applets.codebase_principal_support",
> true);
>
user_pref("capability.principal.codebase.p0.granted",
> "UniversalFileRead UniversalBrowserRead
> UniversalBrowserWrite UniversalBrowserAccess");
>
> user_pref("signon.rememberSignons", false);
> user_pref("browser.formfill.enable", false);
>
> --- paul cannon <paul-selenium-VFosIOGBRF3QT0dZR+AlfA@xxxxxxxxxxxxxxxx> wrote:
>
> ...
> >
> > Looks like you've omitted the lines enabling
> > codebase principal support
> > and granting the capabilities.
> >
> > --
> > paul
> > _______________________________________________
> > Selenium-users mailing list
> > Selenium-users-EcuzILgp2tAZVhN9JVcPDEqbzN8AcRLmILAQCsJbaHk@xxxxxxxxxxxxxxxx
> >
>
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users
> >
>
>
>
>
> __________________________________
> Start your day with Yahoo! - Make it your home page!
>
> http://www.yahoo.com/r/hs
> _______________________________________________
> Selenium-users mailing list
> Selenium-users-EcuzILgp2tAZVhN9JVcPDEqbzN8AcRLmILAQCsJbaHk@xxxxxxxxxxxxxxxx
>
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users
>




__________________________________
Yahoo! Music Unlimited
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise