![]() |
|
.NET WebBrowser Bot Problem - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: Coding (https://sinister.ly/Forum-Coding) +--- Forum: Visual Basic & .NET Framework (https://sinister.ly/Forum-Visual-Basic-NET-Framework) +--- Thread: .NET WebBrowser Bot Problem (/Thread-NET-WebBrowser-Bot-Problem) |
.NET WebBrowser Bot Problem - RA1N - 07-06-2014 So one of my friends IRL is paying me to make a bot that will play this little php based game. The problem is when I try and use the standard webbrowser component it won't register to move the character. I do have this to play with though "moveSprite('Right')". I know that's what JS function moves the character. Also I did try to use the GeckoFX webbrowser and it loads and uses it fine. It's just I can't invoke clicks or anything so it uses sendKeys (Which is lame). So any advice on this? Is there a way to update the webbrowser component or upgrade it to one more for my purpose? RE: .NET WebBrowser Bot Problem - 1234hotmaster - 07-06-2014 did you try sending WM commands to the window's handle in the process? RE: .NET WebBrowser Bot Problem - RA1N - 07-07-2014 Can you define that a little more? I understand the concept of what you are saying, but is there a alternative browser I can use. I tried the EO.Webbrowser component and it works great other than the fact it's missing a few things. Like I can't get the elements values via GetElementByClassName(s) and I was doing that to check up on the updated page after the movement occurs. If anyone can supply nice help I will be nice back and pay them part of what I get from it. <3
RE: .NET WebBrowser Bot Problem - RA1N - 07-07-2014 Played around with it more and just split up the source of the webpage to look for keywords. Thanks for the advice. <3 Love you guys. |