Click here to Skip to main content
15,887,908 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
So basically I have a web browser in a form.
The website displays a login.
I can input values into the username and password boxes just fine.
However when I come to press the login button nothing happens.
If i try this without using code, so i move my mouse onto the webbrowser and try and click the button myself nothing happens.

Website I am trying to log in to : "[url to hacking tool removed]"

#The URL that was removed is a DDOS tool. I use this because I own multiple domains so I like to test it.

What I have tried:

Dim allelements As HtmlElementCollection = WebBrowser1.Document.All

For Each webpageelement As HtmlElement In allelements


    If webpageelement.GetAttribute("id") = "logo" Then
        webpageelement.InvokeMember("click")
    End If

Next
Posted
Updated 29-Mar-20 5:09am
v4
Comments
Richard MacCutchan 29-Mar-20 13:11pm    
Are you sure it is called "logo" and not "logon"?
corporallawson 29-Mar-20 13:16pm    
No it is not I was just trying different things.

The HTML is like this.

<svg class="icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"><path d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z">
Richard MacCutchan 29-Mar-20 13:20pm    
Well there s no button there that I can see.
corporallawson 29-Mar-20 13:32pm    
<svg class="icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"><path d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"> here is the button
Richard MacCutchan 30-Mar-20 2:47am    
That is an icon not a button.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900