|
I'm trying to automate in a WinForm using a WebBrowser control to navigate and pull report info from a website. You can enter values in textboxes and invoke the click events for buttons and links, but I have not figured out how select a option drop-down...
Started by CWinKY on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Given:
<select id="mySelect"> <option>1</option> <option>2</option> <option>3</option> </select>
The following would selct the third... .
You will have to select the selected attribute on the option you want .
|
|
I'm trying to automate some stuff on a flash game running in a webbrowser control in my C# program. Using user32's sendmessage dll I've been able to click at coordinates on regular pages such as google but it doesn't work on flash content. Any ways I ...
Started by Jean-Bernard Pellerin on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Powerful browser automation, compatible with C#:
http://watin.sourceforge.net/
Why not just call your Autoit/Autohotkey script from your C# program using the System.Diagnostics.Process class?
ProcessStartInfo psi = new ProcessStartInfo....
Check out WatiN.
|
|
Is it possible to create a WebBrowser control in a background thread in BackgroundWorker?
Private Sub BackgroundWorker1_DoWork(ByVal sender As System.Object, ByVal e As System.ComponentModel.DoWorkEventArgs) Handles BackgroundWorker1.DoWork Using web1...
Started by Jim on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
From a BackgroundWorker thread you'll have to use ....
The thread that the Webbrowser runs in must be ApartmentState .STA.
The WebBrowser control is good for displaying content, but for anything more complex it becomes a big hassle.
|
Ask your Facebook Friends
|
Hello. I'm writing an application that uses the WebBrowser control to view web content that can change with AJAX that adds new content/elements. I can't seem to get at the new elements any way I've tried. BrowserCtl.DocumentText doesn't have the up-to...
Answer Snippets (Read the full thread at stackoverflow):
Then you can cast your WebBrowser Control likeDo you control....
With the WebBrowser control and tend to write that layer of functionality in Javascript and call the SHDocVw.dll which is in your Windows/System32 folder.
|
|
I asked on the C# MSDN forum with no response. =[ Basically I have made a programme which automates a website with several different accounts, one after the other. However the website stores a cookie to save the account to the computer so you can't log...
Answer Snippets (Read the full thread at stackoverflow):
The CookieContainer....
To file cookies: How to clear the cache when your application hosts a WebBrowser control in VisualIf you want to automate interaction with a website, you should use HttpWebRequest rather than a web browser control.
|
|
Hi,
I am trying to automate data extraction from a website and I really don't know where to start. One of our suppliers is giving us access to some equipment logging data through a " Business Objects 11 " online application. If you are not familiar with...
Started by Decapsuleur on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
And a great tool to extract data.
You can automate keystrokes, mouse clicks, positions, etc.
You can automate it to navigate to the site, press buttons, etc Anywhere.
The Windows Forms WebBrowser control.
|
|
I'm trying to log in to a website and save an HTML page automatically (I want to be able to do this on a regular time interval). From the surface, this is a typical modern website where, if the user navigates directly to a "locked" URL, a log-in form ...
Started by pelesl on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
To do it in VB .Net using the webbrowser control, do.
For "stackoverflow" on Google.
|
|
I'm automating .PDF downloads. I've tried navigating directly to the PDF-urls but on some websites it doesn't always work because it expects a referring page, in other words expects me to navigate link by link, page by page, just like a user would do ...
Answer Snippets (Read the full thread at microsoft):
Thanks WebBrowser to have its default....
Use a webclient to download the files and bypass using the webbrowser control all together.
Use a webclient to download the files and bypass using the webbrowser control all together.
|
|
Looking for something similar to Mechanize for .NET C#.
If you don't know what Mechanize is.. http://search.cpan.org/dist/WWW-Mechanize/
I will maintain a list of suggestions here. Anything for browsing/posting/screen scraping (Other than WebRequest and...
Started by CccTrash on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
It's an easy way to 1) automate user input w/ IE and 2) navigate of showing the browser, but it's ....
You want using WatiN to great effect.
You can use the WebBrowser control, which can be automated to an extent.
Structure.
|
|
Let me rephrase the question...
Here's the scenario: As an insurance agent you are constantly working with multiple insurance websites. For each website I need to login and pull up a client. I am looking to automate this process.
I currently have a solution...
Started by mstrickland on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
The WebBrowser control will allow you to access the html elements on the page, input this without the WebBrowser....
I've done this in the past using the WebBrowser control inside a winforms app that i execute on the server.
|