I thought about this some a little more and I think I get what you are
saying. However I need a way to get at the browser window before I
can capture the url. Is there a way for Watir to give me a list of
all browser sessions current open. Then couldn't I do something like
browser.url to get the url from the browser window of interest?
Thanks,
Bobby
On Mar 30, 10:17 am, Bret Pettichord <
b...@pettichord.com> wrote:
> Have you considered saving your reference to the browser in a variable
> and using it?
>
> Bret
>
>
>
>
>
> Bobby Washington wrote:
> > Theurlis similar, but only up to a point. The last part
> > 'TOKEN=5937dfd955519a57-4AA53C6C-1143-EBE5-767BAE115006BD65' keeps
> >changing. I will see if Watir can use only a portion of theURL
> > with Watir::IE.find(:url, //)
>
> > Thanks to everyone that has commented thus far.
>
> > Thanks,
>
> > Bobby Washington
>
> > Date: Sun, 29 Mar 2009 20:10:45 +0800
> > Subject: [wtr-general] Re: Attach tochangingURL
> > From:
cjq....@gmail.com
> > To:
watir-...@googlegroups.com
>
> > Are theURLthe same?
> > You may try: Watir::IE.find(:url, //)
>
> > Thanks.
> > Wesley Chen.
>
> > On Sun, Mar 29, 2009 at 8:05 PM, Bobby Washington
> > <
bobwashing...@hotmail.com <mailto:
bobwashing...@hotmail.com>> wrote:
>
> > I thought about that, however the title is the same. Sorry for
> > not mentioning this before.
>
> > Thanks,
>
> > Bobby Washington
>
> > Date: Sat, 28 Mar 2009 08:05:29 -0400
> > Subject: [wtr-general] Re: Attach tochangingURL
> > From:
leighisle...@gmail.com <mailto:
leighisle...@gmail.com>
> > On Fri, Mar 27, 2009 at 9:32 PM, <
bobwashing...@hotmail.com
> > <mailto:
bobwashing...@hotmail.com>> wrote:
>
> > I'm still some what of a n00b with regards to Watir. I have a
> > web app
> > that displays "new" browser windows. I know that I can use
> > Watir::IE.attach(url:, 'enterurl') to attach to a window.
> > However
> > the snippet of theurlbelow keepschanging. Also hwnd keeps
> > changing. Is this because the site is https?
>
> > TOKEN=5937dfd955519a57-4AA53C6C-1143-EBE5-767BAE115006BD65
>
> > Hotmail® is up to 70% faster. Now good news travels really fast.
> > Find out more.
> > <
http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_70faster_0...>
>
> > Hotmail® is up to 70% faster. Now good news travels really fast. Find
> > out more.
> > <
http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_70faster_0...>
> Watir Training: Portland/Beaverton April
16-17www.watircraft.com/training- Hide quoted text -
>
> - Show quoted text -