DotNetBrowser Documentation
DotNetBrowser Documentation
DotNetBrowser API Reference
DotNetBrowser.Browser
IBrowser Interface
IBrowser Properties
AllFrames Property
Audio Property
Capture Property
ConvertJsNameHandler Property
CreatePopupHandler Property
CreditCards Property
DevTools Property
Dialogs Property
DragAndDrop Property
Engine Property
Favicon Property
FocusedFrame Property
FullScreen Property
InjectCssHandler Property
InjectJsHandler Property
JsDialogs Property
Keyboard Property
MainFrame Property
Mouse Property
Navigation Property
OpenPopupHandler Property
Passwords Property
PrintHtmlContentHandler Property
PrintPdfContentHandler Property
Profile Property
RequestPdfDocumentPasswordHandler Property
RequestPrintHandler Property
SelectCertificateHandler Property
Settings Property
ShowContextMenuHandler Property
Size Property
StartDownloadHandler Property
TextFinder Property
Title Property
Touch Property
Url Property
UserAgent Property
UserDataProfiles Property
Zoom Property
IBrowser
MainFrame Property
The main frame on the currently loaded web page, if it exists.
Namespace:
DotNetBrowser.Browser
Assembly:
DotNetBrowser (in DotNetBrowser.dll) Version: 2.23.2
Syntax
C#
Copy
IFrame
MainFrame
{
get
; }
Property Value
Type:
IFrame
The main frame on the currently loaded web page. Can be null if there is no main frame.
Exceptions
Exception
Condition
ObjectDisposedException
The
IBrowser
has already been disposed.
ConnectionClosedException
The connection to the Chromium engine is closed.
See Also
Reference
IBrowser Interface
DotNetBrowser.Browser Namespace
Copyright © 2023 TeamDev Ltd. All Rights Reserved.