Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1071189
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T20:40:41+00:00 2026-05-16T20:40:41+00:00

I am using GeckoFX version 1.9.1.0 with C#.NET. I have a placed a GeckoWebBrowser

  • 0

I am using GeckoFX version 1.9.1.0 with C#.NET. I have a placed a GeckoWebBrowser Component (geckoWebBrowser1) and a Button (button1) in a form and have navigated the browser to a page. Some text in the page can be selected. This text is composed of one or more DOM elements.
When button1 is clicked, I want to retrieve the DOM elements that compose the selected text in the page and give an id to one of those elements and save add these ids to a list (in C# space).
How can I do this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T20:40:41+00:00Added an answer on May 16, 2026 at 8:40 pm

    geckoWebBrowser.Window.Selection is an accessor for a GeckoSelection object which contains everything you need. You can get the nodes & offset where selection starts and ends, or you can get a range of all elements spanned by the selection.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

using GeckoFX web browser, is it possible to pass a GeckoElement through JavaScript like
Using CRM 4, I have an entity form that contains a tab with an
Using MATLAB, you have to start with a uniform distribution between (0,1). You need
Using SolrNet for querying & faceting. I have a combination of int, tdate and
using MSQL 2005 I have a continuous set of flow measurements (averaged for each
I have a need to run some automation tasks in a web browser control
Using the ndk I have compiled a code written in C. The program is
Using Qt Creator, I have set a QWidget's background property to black. However, some
Using ASP.NET MVC 4 RTW, how do I log MVC controller actions and parameters
Using SSRS 2008 R2 I have a background process that dynamically generates RDL for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.