GoldenMike Posted May 5, 2015 Posted May 5, 2015 Danp2, It is showing TCP 0.0.0.0:4242 [CrashplanService.exe] - this is my backup service I am using. Should I just change the port # for MozRepl? Would that solve the problem? Thanks again for all the help. This stuff is way over my computer understanding.-Mike
Danp2 Posted May 5, 2015 Author Posted May 5, 2015 You will need to change the port for one of them. If MozRepl, then you need to specify the new port number when appropriate (_FFConnect, _FFStart, etc). Latest Webdriver UDF Release Webdriver Wiki FAQs
GoldenMike Posted May 5, 2015 Posted May 5, 2015 Danp2,That worked. Thank you for helping, I appreciate it. Have a good Day-Mike
fspafford Posted May 5, 2015 Posted May 5, 2015 Is the link to FF.au3 in the first post correct? I am having a problem when trying to download the file. Frank
Danp2 Posted May 5, 2015 Author Posted May 5, 2015 (edited) Apparently the link is no longer valid (I'm guessing that it ceased working after the forum upgrade). I'll see what I can do to get it fixed.Edit: Should be working now. Thanks for bringing this to my attention! Edited May 5, 2015 by Danp2 Latest Webdriver UDF Release Webdriver Wiki FAQs
DerPensionist Posted May 11, 2015 Posted May 11, 2015 Missing Declaration of "$sRet" in Function "_FFCmd" causes error if 'AutoItSetOption("MustDeclareVars", 1)' is set.Please add in FF.Au3 at line 2325: Local $sRet ff_0.6.0.1b-14.patch
Danp2 Posted May 11, 2015 Author Posted May 11, 2015 Here's the latest version, which I've been running for a while. Let me know if you encounter any issues with it. FF V0.6.0.1b-15.au3 Latest Webdriver UDF Release Webdriver Wiki FAQs
noobest Posted June 11, 2015 Posted June 11, 2015 (edited) I'm trying to get the HTML table example from http://www.w3schools.com/html/html_tables.asp into an array but can't seem to get it to work.Here's my error:"C:\Program Files (x86)\AutoIt3\Include\FF.au3" (2994) : ==> Array variable has incorrect number of subscripts or subscript dimension range exceeded.: $aTable[$i][$j] = $aCols[$j + 1] $aTable[$i][$j] = ^ ERROR My whole code:#include <FF.au3> #include <array.au3> _FFStart() _FFOpenURL("http://www.w3schools.com/html/html_tables.asp") _FFTabSetSelected() _FFLoadWait() $aTable = _FFTableWriteToArray(0) _ArrayDisplay($aTable)What am i doing wrong? Edited June 11, 2015 by noobest
Danp2 Posted June 11, 2015 Author Posted June 11, 2015 I don't think you are doing anything wrong. Looks like a bug in the function. Latest Webdriver UDF Release Webdriver Wiki FAQs
noobest Posted June 11, 2015 Posted June 11, 2015 I found this line within the _FFTableWriteToArray function$aTmp = StringSplit(_FFCmd($sCMD), $sRnd, 3)According to the documentationhttps://www.autoitscript.com/wiki/StringSplitFlag = 3 doesn't exist? Could this be the reason?
Danp2 Posted June 11, 2015 Author Posted June 11, 2015 That's not the issue. Flag value of 3 is just $STR_ENTIRESPLIT + $STR_NOCOUNT. Latest Webdriver UDF Release Webdriver Wiki FAQs
Iczer Posted June 22, 2015 Posted June 22, 2015 i have some issues with "_FFLinksGetAll()" - it read links from wrong (not currently active) tab in FF. Is there some kind of cure to this behaviour?it mostly happen if tabs are: rearranged or opened/closed few times
MarkLee Posted August 1, 2015 Posted August 1, 2015 (edited) How to get count tabs ? Please help me !. Thanks. Edited August 1, 2015 by MarkLee
Danp2 Posted August 2, 2015 Author Posted August 2, 2015 Take a look at the function _FFGetLength. Latest Webdriver UDF Release Webdriver Wiki FAQs
5ervant Posted August 27, 2015 Posted August 27, 2015 (edited) Is this UDF can control the new version of FireFox via MozRepl?Upon installing MozRepl, I can't find how to start it, I can only "Enable" or "Disable" it, I guess there's no need to activate it on startup in the new version.Upon debugging this code:#Include <FF.au3> _FFStart("http://ff-au3-example.thorsten-willert.de/") If _FFIsConnected() Then Sleep(2000) _FFAction("presentationmode", True) Sleep(2000) _FFOpenURL("http://www.google.com") Sleep(2000) _FFAction("back") _FFAction("presentationmode", False) Sleep(2000) _FFOpenURL("chrome:bookmarks") Sleep(2000) _FFAction("alert", "Bye bye ...") _FFQuit() EndIfThe Firefox starts with a specific URL but produce an error. This is what I'm seeing in the output:__FFStartProcess: ""C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -new-window "http://ff-au3-example.thorsten-willert.de/" "-repl 4242 " _FFConnect: OS: WIN_81 WIN32_NT 9600 _FFConnect: AutoIt: 3.3.14.0 _FFConnect: FF.au3: 0.6.0.1b-15 _FFConnect: IP: 127.0.0.1 _FFConnect: Port: 4242 _FFConnect: Delay: 2ms _FFConnect ==> Timeout: TCPConnect Error: 10060 _FFConnect ==> General Error: Timeout: Can not connect to FireFox/MozRepl on: 127.0.0.1:4242 _FFIsConnected ==> Socket Error: -1Upon testing the command "telnet" in the command shell of my operating system while my Firefox is still open, this is what I'm seeing:'telnet' is not recognized as an internal or external command, operable program or batch file.I'm using Windows 8.1, do I also need to turn on the Telnet Client under Windows Features to be able to control the browser via MozRepl, which means my clients also need to install the MozRepl and turn on the Telnet Client when they use the executable Firefox automation files that I'll going to compile? This looks hassle for my clients.. Edited August 27, 2015 by 5ervant
Danp2 Posted August 27, 2015 Author Posted August 27, 2015 Is this UDF can control the new version of FireFox via MozRepl?Upon installing MozRepl, I can't find how to start it, I can only "Enable" or "Disable" it, I guess there's no need to activate it on startup in the new version.Look under the Tools > MozRepl submenu. There are options there to start / stop the service and also an Activate on Startup option. Latest Webdriver UDF Release Webdriver Wiki FAQs
5ervant Posted August 27, 2015 Posted August 27, 2015 Look under the Tools > MozRepl submenu. There are options there to start / stop the service and also an Activate on Startup option.There's no "Tools" menu in my updated Firefox.Are you using the latest version? If you are, can you show me a screenshot?
Danp2 Posted August 27, 2015 Author Posted August 27, 2015 There's no "Tools" menu in my updated Firefox.Are you using the latest version? If you are, can you show me a screenshot?It's there... you just don't see the menu by default. Try pressing Alt+T... 5ervant 1 Latest Webdriver UDF Release Webdriver Wiki FAQs
Mateusz Posted September 28, 2015 Posted September 28, 2015 Can I use AutoIT with mozrepl in RDP environment (multiple users in the same time)? Mozrepl uses TCP port, should I set up other ports for every user? If MozRepl is installed on each user and I'm trying to connect via AutoIT UDF FF on some users i get error with timeout.
skyhigh Posted October 28, 2015 Posted October 28, 2015 Can I open two tabs and operate on the one in the background without selecting it?
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