The complete sample solution can be found in the attachments to this article. The project in this solution has NuGet dependencies, which will be resolved automatically during build.

C#

using DotNetBrowser.DOM;
using DotNetBrowser.Events;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Windows.Input;

namespace DOM_Get_Node_Value_from_Point
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();

        }

        private void browserView_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            //Check for right_click mouse button
            if (e.Button == MouseButtons.Right)
            {
                //For debug
                toolStripLabelX.Text = "X: " + e.X.ToString();
                toolStripLabelY.Text = "Y: " + e.Location.Y.ToString();

                Point dot = new Point(e.X, e.Y);

                DOMNodeAtPoint point = browserView.Browser.NodeAtPoint(dot);

                try
                {
                    toolStripGetElement.Text = "Node name: " + point.Node.NodeName.ToString();

                }
                catch { }

            }
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            ManualResetEvent resetEvent = new ManualResetEvent(false);
            FinishLoadingFrameHandler listener = new FinishLoadingFrameHandler((object sender1, FinishLoadingEventArgs e1) =>
            {
                if (e1.IsMainFrame)
                {
                    resetEvent.Set();
                }
            });
            browserView.Browser.FinishLoadingFrameEvent += listener;
            try
            {
                browserView.Browser.LoadURL("teamdev.com");
                resetEvent.WaitOne(new TimeSpan(0, 0, 45));
            }
            finally
            {
                browserView.Browser.FinishLoadingFrameEvent -= listener;
            }
        }
    }
}

VB.NET

Imports DotNetBrowser.DOM
Imports DotNetBrowser.Events
Imports System.Threading

Namespace DOM_Get_Node_Value_from_Point
    Public Partial Class Form1
        Inherits Form

        Public Sub New()
            InitializeComponent()
        End Sub

        Private Sub browserView_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs)
            If e.Button = MouseButtons.Right Then
                toolStripLabelX.Text = "X: " & e.X.ToString()
                toolStripLabelY.Text = "Y: " & e.Location.Y.ToString()
                Dim dot As Point = New Point(e.X, e.Y)
                Dim point As DOMNodeAtPoint = browserView.Browser.NodeAtPoint(dot)

                Try
                    toolStripGetElement.Text = "Node name: " & point.Node.NodeName.ToString()
                Catch
                End Try
            End If
        End Sub

        Private Sub Form1_Load(ByVal sender As Object, ByVal e As EventArgs)
            Dim resetEvent As ManualResetEvent = New ManualResetEvent(False)
            Dim listener As FinishLoadingFrameHandler =
                    New FinishLoadingFrameHandler(sub(ByVal sender1 As Object, ByVal e1 As FinishLoadingEventArgs)

                        If e1.IsMainFrame Then
                            resetEvent.Set()
                        End If
                    End sub)
            AddHandler browserView.Browser.FinishLoadingFrameEvent, listener

            Try
                browserView.Browser.LoadURL("teamdev.com")
                resetEvent.WaitOne(New TimeSpan(0, 0, 45))
            Finally
                RemoveHandler browserView.Browser.FinishLoadingFrameEvent, listener
            End Try
        End Sub
    End Class
End Namespace