Page 1 of 1

RevBrowser Problem and Questions

Posted: Tue Apr 13, 2010 4:22 am
by WaltBrown
It was very easy to get revBrowser operating, thanks!

1. While working on my browser (which was open) I opened the Browser Sampler to look for some information. It's interface to the IE engine (even without hitting it's Launch Browser button) apparently conflicted with mine and cleared the browserID to my stack. I would call that a bug. Or did I miss the part of the documentation that says "only one instance of a stack with revBrowser can run at a time"?

2. How can I get at the HTML source for a page using revBrowser?

3. Is there a way to dereference windowID (or any other RunRev ID number for that matter), or use it as a pointer into an internal data structure to get at the OS windowHandle? In my previous life doing telecoms internals we would pass arbitrary connection IDs to the developer's apps, but it could be cast to the driver's data structure to get at those kinds of "hidden" references.

Thanks!
Walt

Re: RevBrowser Problem and Questions

Posted: Tue Apr 13, 2010 4:30 am
by WaltBrown
Dur, answered my own issue - my stack was using the same var name for the browser ID, "sBrowserID". Even though they were both declared script window local in each stack, they still conflicted. Changing the name in my stack eliminated the conflict.

Walt

Re: RevBrowser Problem and Questions

Posted: Tue Apr 13, 2010 4:54 am
by WaltBrown
Another interesting foible I can't figure out - if I follow the example and initially open the browser to Google, I get "about:blank" as my final URL after completing navigation. But if I use Facebook, I get "www.facebook.com" as my final URL. Why does "www.google.com", and only "www.google.com" cause browserNavigateComplete to return "about:home"?

Re: RevBrowser Problem and Questions

Posted: Tue Apr 13, 2010 5:25 am
by WaltBrown
Well, that was also dumb. I was so tunnel visioned on "revBrowser" functions I forgot "get url". I guess coffee is NOT the complete substitute for sleep...