Pagii Posted February 19, 2018 Share Posted February 19, 2018 Hello, I´m new here so don´t be unkind on me plz. I´m learning new things in AutoIt about HTML automation. I have a problem. <div class="cooldown_bar_text" id="cooldown_bar_text_ct">Do Circu Turma</div> Button has got also these parameters : <a class="cooldown_bar_link" href="index.php?sh=cc3040348aeb181ecec42bc8a9e61497"></a> This is the HTML code. I´ve tried already this method but it´s not working. Func circusprovinciarum() $currenturl = _IEPropertyGet($oIE,"locationurl") $urldownload = BinaryToString(InetRead($currenturl,1)) ;MsgBox($MB_SYSTEMMODAL,"test",$urldownload) Local $ct = _IEGetObjById($oIE,"cooldown_bar_text_ct") If StringInStr($urldownload,"Do Circu Turma </div>") Then ConsoleWrite("It´s here") _IEAction($ct, 'click') EndIf EndFunc Is there any problem? Or this code is totally wrong? Thx for help. Link to comment Share on other sites More sharing options...
Au3Builder Posted February 19, 2018 Share Posted February 19, 2018 (edited) Why not try yourself? Can you specify what website are you talking about? This information would turn out to be helpful. Edited February 19, 2018 by Au3Builder Link to comment Share on other sites More sharing options...
Danp2 Posted February 19, 2018 Share Posted February 19, 2018 As you are new here, please make sure to review the Forum Rules, particularly this part -- Quote 1. Do not ask for help with AutoIt scripts, post links to, or start discussion topics on the following subjects: Launching, automation or script interaction with games or game servers, regardless of the game. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now