parentBrowser - web automation propety

IE automation property that returns the parent Browser object of the current Frame or Element.

Applies to:
Frame, Element
  var b = obj.parentBrowser;
Arguments:
None.
Remarks:
This web automation property can be useful if you already have a native frame or element and you need the parent Browser.
Example:
// You have a native element "native" and you need the parent Browser object.
var coreObj = new ActiveXObject("OpenTwebst.Core");
var e       = coreObj.AttachToNativeElement(native);
var b       = e.parentBrowser;

b.Navigate("htp://www.codecentrix.com");
		
See also:
Browser | Frame | Element | parentElement | parentFrame

© 2017 CodeCentrix Software. All rights reserved.