Questions tagged [htmldocumentclass]

8 questions
2
votes
1 answer

Why is Visual Studio unable to handle HTMLDocument class?

In C# I have Object htmlDoc = _webbrowser.Document; and when I step through the code in debug mode, I have htmlDoc = {mshtml.HTMLDocumentClass} showing when I mouse over the Object htmlDoc assignment. But when I type this code in the IDE,…
xarzu
  • 8,657
  • 40
  • 108
  • 160
1
vote
1 answer

Greasemonkey throws "DOMException: The operation is insecure." on document.implementation.createHTMLDocument().open()

FF 84.0.2, GM 4.10.0 The code can be seen at GitLab. The relevant part is: ... const doc = document.implementation.createHTMLDocument('http://www.w3.org/1999/xhtml', 'html'); console.debug("DOC CREATED") doc.open() // <--…
1
vote
0 answers

How can you get Powershell to interact with elements on a webpage

I am trying to write a Powershell script that will interact with elements of a webpage. To learn the concepts for the script, I am using Armorgames.com as the target url with my aim to use powershell to log into the site, then make a search of…
1
vote
1 answer

WPF WebBrowser fails to load rendered HTML of an Angular JS website

I am working on a WPF aplication and I want to get the rendered HTML of a website that uses Angular JS technology. Here is what I've tried: First, I create a WPF Web Browser control: private WebBrowser webBrowser; Then I navigate it to my target…
Pejman
  • 3,784
  • 4
  • 24
  • 33
0
votes
1 answer

javax.swing.text.html.HTMLDocument: how do I find a html image map in a document?

I'm trying to find a html map in a HTMLDocument: With hdoc my HTMLDocument, I tried the following to get the map but it keeps returning null: hdoc.getElement(hdoc.getDefaultRootElement(),…
Guillaume F.
  • 1,010
  • 7
  • 21
0
votes
1 answer

How to use urldecode in Htmldocument

I have got the HtmlDocument of this url www.vipme.com/clothing_c900027 since their website include the encoded characters here is my code Dim myHtmlDom As HtmlDocument = GetHtmlDocument(requestUrl, item.cookie, "refer", item.pageEncoding) …
hoyho
  • 21
  • 4
0
votes
1 answer

Get changed content in DocumentEvent

The goal: Working with a JEditorPane and HTMLDocuments I need to react to the removal of images, i.e. Elements defined by .. tags. What I tried: For now I use DocumentListeners to react to DocumentEvents which are fired upon changes to a…
0
votes
0 answers

Find Textbox in Browser

I've got an external running web application, in which I need to fill many textboxes with different values. The textboxes seem to be in a Flash application. But I cannot find the textboxes. So far I could get the browser and the document in it,…
Daniel Möller
  • 84,878
  • 18
  • 192
  • 214