Thanks for getting back to me. Are you aware of any headless browsers,
>
> wrote:
> > Hi,
>
> Hi there :)
>
>
>
> > First off, I'm a python newbie and have only been using it for a few
> > days, so please forgive me if it is a simple mistake.
>
> > I have a simple script, that when ran in firefox, works perfectly,
> > however I want to run it from within zope.testbrowser because as I
> > understand it, this means there won't be a visible browser window
> > actually performing the actions.
>
> Exactly, zope.testbrowser is a headless driver, which means that it performs
> all browsing actions without opening a browser, being faster, but
> zope.testbrowser can't execute javascript, so you can't use zope.testbrowser
> to interact with js-based pages/components.
>
> I have tried various things (to my newbie level), and as far as I can
>
> > tell the proxies list is empty, which is why the if statement isn't
> > working. I however don't understand why this would work with Firefox,
> > but not with Zope.
>
> Code can be found here, along with the error at the bottom:http://
>
> >
paste.pound-python.org/show/10129/
>