Coda Posted February 7, 2017 Share Posted February 7, 2017 Hi everyone, Can i use chrome like ie in autoit ? For ex i have this : $oie = _Iecreate("LINK") _IELOADWAIT($oie) while 1 $b = $oie.document.url msgbox(0,"",$b) wend So can i use something like that but with chrome ? thanks Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted February 7, 2017 Moderators Share Posted February 7, 2017 @Coda there is a chrome udf you can try: "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Coda Posted February 7, 2017 Author Share Posted February 7, 2017 (edited) I tried it already but seems doesn't work for me nothing work accept cromestartup and shutdown I cannot get the title of the url or anything else Edited February 7, 2017 by Coda Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted February 7, 2017 Moderators Share Posted February 7, 2017 Ok, might have been useful in your initial post Why don't you show us code for exactly what you tried with the Chrome UDF that did not work? That will be much easier to assist you with rather than us trying to decipher "nothing work". "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Coda Posted February 7, 2017 Author Share Posted February 7, 2017 Okay iam sorry for that Iam trying to open chrome and get the title for a website then the scripts wait until another website open and i have tried that Something like that toolip and msgbox always returns 0 #RequireAdmin #include <Chrome.au3> $LInk = _ChromeStartup("www.google.com") while 1 $LInk2 = _ChromeDocGetTitle(1) ToolTip($LInk2,0,0,0) wend Link to comment Share on other sites More sharing options...
junkew Posted February 7, 2017 Share Posted February 7, 2017 See also frequently asked questions 31. Iuiautomation or chrome webdriver are alternatives. FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets 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