Element Dictionary Keys

Predefined keys used to access an element dictionary.

Overview

These constants represent predefined keys used to access an element dictionary. An element dictionary is an NSDictionary representation of an HTML element, as in a clicked or selected element. Some methods in the WebPolicyDelegate informal protocol have an element dictionary argument. The descriptions below describe the dictionary value for the key.

Topics

Constants

WebElementDOMNodeKey

The DOMNode for this element.

Deprecated
WebElementFrameKey

The WebFrame object associated with this element.

Deprecated
WebElementImageAltStringKey

An NSString of the ALT attribute of an image element.

Deprecated
WebElementImageKey

An NSImage representing an image element.

Deprecated
WebElementImageRectKey

An NSValue containing an NSRect, the size of an image element.

Deprecated
WebElementImageURLKey

An NSURL containing the location of an image element.

Deprecated
WebElementIsSelectedKey

An NSNumber used as a BOOL value to indicate whether a text element is selected or not. Zero value indicates false, true otherwise.

Deprecated
WebElementLinkURLKey

An NSURL containing the location of a link if the element is within an anchor.

Deprecated
WebElementLinkTargetFrameKey

The WebFrame object associated with the target of the anchor.

Deprecated
WebElementLinkTitleKey

An NSString containing the title of an anchor.

Deprecated
WebElementLinkLabelKey

An NSString containing the text within an anchor.

Deprecated