You also may want to fire an event when a button is pressed such as:
ie.Document.forms['f'].elements['btnG'].FireEvent('onClick')
Events:
onclick
Fires when the user clicks the left mouse button on the object.
onsubmit
Fires when a FORM is about to be submitted.
For more go here:
http://msdn.m
"Esben Pedersen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> How do i know which methods the ie object has? dir(ie) doesn't show
> Navigate.
For ie object:
http://msdn.microsoft.com/workshop/browser/webbrowser/reference/ifaces/IWebBrowser2/IWebBrowser2.asp
For document object:
h
J Correia wrote:
> "Elliot Temple" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>
>>How do I make Python press a button on a webpage? I looked at
>>urllib, but I only see how to open a URL with that. I searched
>>google but no luck.
>>
>>For example, google has a button how
Grant Edwards <[EMAIL PROTECTED]> writes:
> > I presume you can figure out how to open the URL instead of
> > printing it?
>
> Ah, never mind. That doesn't work. Google somehow detects
> you're not sending the query from a browser and bonks you.
Try setting the User-agent: header to one that lo
On 2005-06-02, Grant Edwards <[EMAIL PROTECTED]> wrote:
> On 2005-06-01, Elliot Temple <[EMAIL PROTECTED]> wrote:
>
>> How do I make Python press a button on a webpage?
>
> You just do whatever action is specified for the form
> containing the button.
>
>> I looked at urllib, but I only see how to
On 2005-06-01, Elliot Temple <[EMAIL PROTECTED]> wrote:
> How do I make Python press a button on a webpage?
You just do whatever action is specified for the form
containing the button.
> I looked at urllib, but I only see how to open a URL with
> that.
Guess what happens when you push that butt
hi,
urllib does not work when search from google.com,
since google.com have some limitations to developer ,
you can get more details from www.google.com/apis/
"Elliot Temple" <[EMAIL PROTECTED]>
??:[EMAIL PROTECTED]
> How do I make Python press a button on a webpage? I looked at urllib,
Elliot Temple <[EMAIL PROTECTED]> writes:
> How do I make Python press a button on a webpage? I looked at
> urllib, but I only see how to open a URL with that. I searched
> google but no luck.
[...]
You might find the FAQ list and hints below useful after you get over
the initial barriers (and
Elliot Temple <[EMAIL PROTECTED]> wrote:
>
>How do I make Python press a button on a webpage? I looked at
>urllib, but I only see how to open a URL with that. I searched
>google but no luck.
>
>For example, google has a button how would i make a script to press that button?
>
>Just for fu
"Elliot Temple" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> How do I make Python press a button on a webpage? I looked at
> urllib, but I only see how to open a URL with that. I searched
> google but no luck.
>
> For example, google has a button how would i make a script to
Do you actually need to 'press' the button? Or do you just need the
effect that pressing the button would bring about (e.g., submitting a
Google search query and receiving the results page)?
If the latter, then you might want to search for, e.g., "html form get
post" and check out some results. Pu
Elliot Temple wrote:
> How do I make Python press a button on a webpage? I looked at
> urllib, but I only see how to open a URL with that. I searched
> google but no luck.
Check out mechanize: http://wwwsearch.sourceforge.net/mechanize/
--
Brian Beck
Adventurer of the First Order
--
http://ma
12 matches
Mail list logo