A Web object encapsulates the data displayed in a Web object. There is one Web object per frame displayed in a Web. An entire webpage is represented by a hierarchy of Web objects in which the root object is called the main frame.
SDK
- macOS 10.3–10.14Deprecated
Framework
- Web
Kit
Declaration
class WebFrame : NSObject
Overview
Each Web also has a Web object that manages the loading of frame content. You use the load(_:) method to initiate an asynchronous client request which will create a provisional data source. The provisional data source will transition to a committed data source once any data has been received.
There are some special, predefined, frame names that you can use when referring to or finding a Web. Some of the predefined frame names are: “_self”, “_current”, “_parent”, and “_top.” See find for a description of their meaning. Frame names may also be specified in the HTML source, or set by clients.
However, the group name is an arbitrary identifier used to group related frames. For example, JavaScript running in a frame can access any other frame in the same group. It's up to the application how it chooses to scope related frames.

