Bot-Factory 602 Posted December 31, 2017 Report Share Posted December 31, 2017 If I launch firefox browser, after that, I launch chrome browser,, then, can I switch between the chrome browser and firefox browser? If then, which command can I use? when I use Main commands, those do not effect.. One browser per thread only. Dan Quote Link to post Share on other sites
afkratien 12 Posted January 3, 2018 Report Share Posted January 3, 2018 Hi Dan , today i run my bot without downloading support file , it shows error . before , i downloaded support file and support file folder exist in appdata. So whenever i run bot , i need to download support file again ? Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted January 3, 2018 Author Report Share Posted January 3, 2018 if the downloaded files are not there you must download them if they are already there you can leave the 2 areas blank if you like for the download files command. the command also initializes the process. 1 Quote Link to post Share on other sites
PRO 69 Posted January 3, 2018 Report Share Posted January 3, 2018 I simply always include the required file inside a local folder, shipped with the compiled bots and just point to that file, like this: plugin command("ExBrowser.dll", "ExBrowser Download Support Files", "{$special folder("Application")}\\chrome1324.zip", "ce64673212f85d13d85323ed7ea59295") You can just point to a local file (ZIP, including the support files) together with the matching checksum for it and voila No need to download anything then. Just in case of Browser updates in the future just update the linked ZIP file. Hope that can be helpful for some! Quote Link to post Share on other sites
stanf 43 Posted January 3, 2018 Report Share Posted January 3, 2018 hey ubotershappy new years,can someone tell me how to handle recaptcha with 16 photo choices?i get the theory with 9 blocks,but how do you handle the double digits ? Quote Link to post Share on other sites
Bot-Factory 602 Posted January 4, 2018 Report Share Posted January 4, 2018 Hi Dan , today i run my bot without downloading support file , it shows error . before , i downloaded support file and support file folder exist in appdata. So whenever i run bot , i need to download support file again ? Please watch the video again:https://youtu.be/2zMSVjJszfw It's really all covered there. I don't know how to explain it better. Dan Quote Link to post Share on other sites
afkratien 12 Posted January 4, 2018 Report Share Posted January 4, 2018 (edited) Edit , solvedThank if the downloaded files are not there you must download them if they are already there you can leave the 2 areas blank if you like for the download files command. the command also initializes the process. if the downloaded files are not there you must download them if they are already there you can leave the 2 areas blank if you like for the download files command. the command also initializes the process. Edited January 4, 2018 by afkratien Quote Link to post Share on other sites
Bot-Factory 602 Posted January 4, 2018 Report Share Posted January 4, 2018 i watch many time , and i understand how it works . If bot dont find support file in AppData\Roaming\exb\1324 , it will show an error . and we need to download support file by command . But my PC had support file , but it still show error , you can see my image when i run my bot , it still shows error although all support files are here Hello. I'm very sorry, but then you didn't understand the video fully. It was covered there. Compiled bots need to run that command ALWAYS. Otherwise it's not initialized. It IS covered in the video why and how that works. So to make it clear again: 1. Plugin in Ubot will take care of support components itself:No need for that command and nothing else to do. 2. If you want to run a compiled BOT:The support components commands needs to be executed once (best in on load) to initialize everything.Even when the support files are already there because you use it on your ubot studio PC. You also need to run the command if you provide the support files yourself via an installer or other way. Or you can use the command with parameters to download a zip version of the support files (that you provide via a direct download URL). Then the command will download it (just once if file is still there and MD5 matches) and unpack it into the correct appdata folder automatically. BUT, compiled bots need to run the command. Always on every start of the bot (on load). I hope this finally clarifies how this works. And maybe watch the video again, because it was really covered there already! I also updated the KB article again:https://support.bot-factory.com/knowledgebase.php?article=34 CheersDan 1 Quote Link to post Share on other sites
PRO 69 Posted January 4, 2018 Report Share Posted January 4, 2018 Hi Dan I hope you guys will leave the "ExBrowser Download Support Files" Command able to use local files exclusively, like described here: plugin command("ExBrowser.dll", "ExBrowser Download Support Files", "{$special folder("Application")}\\chrome1324.zip", "ce64673212f85d13d85323ed7ea59295")Because I found this to be the least annoying solution (in my case and opinion).It also brings a nice side effect, which is, that customers can not upgrade their browser versions indefinetly and using compiled bots indefinetly - on every major update we as ubot developers are in control, because the customers rely on us software vendors to update their support files locally in order to use the bots for extended periods of time.I like that. In this way it can be used as a "light alternative" to licensing systems. So please always keep allowing the "ExBrowser Download Support Files" Command to use local files, as it is able right now.Thank you! Quote Link to post Share on other sites
PRO 69 Posted January 4, 2018 Report Share Posted January 4, 2018 Only one thing: Please change the notification dialog.This should be much more discrete, keeping it white label. I think we as your customers would deserve that.Some neutral notification would be better, e.g. "the drivers for your browser have changed, please contact your developer".In best case, give us the option to define this notification text our self. Because not every customer is using the software in english language, also the ubotters dont want to be identified as such constantly by using the exbrowser plugin which throws this standardized (back traceable) notifications. Please give us this freedom. Thanks. 2 Quote Link to post Share on other sites
Bot-Factory 602 Posted January 5, 2018 Report Share Posted January 5, 2018 Hi Dan I hope you guys will leave the "ExBrowser Download Support Files" Command able to use local files exclusively, like described here: plugin command("ExBrowser.dll", "ExBrowser Download Support Files", "{$special folder("Application")}\\chrome1324.zip", "ce64673212f85d13d85323ed7ea59295")Because I found this to be the least annoying solution (in my case and opinion). It also brings a nice side effect, which is, that customers can not upgrade their browser versions indefinetly and using compiled bots indefinetly - on every major update we as ubot developers are in control, because the customers rely on us software vendors to update their support files locally in order to use the bots for extended periods of time. I like that. In this way it can be used as a "light alternative" to licensing systems. So please always keep allowing the "ExBrowser Download Support Files" Command to use local files, as it is able right now. Thank you! Yes, that will not change. But keep in mind, that the command downloads the file just once. As long as the ZIP is still there, which will be kept in the appdata folder, the command will not download the file again from the remote location.The command will then use the local file instead. So it's kind of the same result. Just once downloaded remotely. But you can go both ways. Dan Quote Link to post Share on other sites
Bot-Factory 602 Posted January 5, 2018 Report Share Posted January 5, 2018 Only one thing: Please change the notification dialog. This should be much more discrete, keeping it white label. I think we as your customers would deserve that. Some neutral notification would be better, e.g. "the drivers for your browser have changed, please contact your developer". In best case, give us the option to define this notification text our self. Because not every customer is using the software in english language, also the ubotters dont want to be identified as such constantly by using the exbrowser plugin which throws this standardized (back traceable) notifications. Please give us this freedom. Thanks. There should be no notification popup for your customers, because that popup only comes if you do NOT run the support files command. If you run the command, there won't be any popup. CheersDan Quote Link to post Share on other sites
arigatou 6 Posted January 7, 2018 Report Share Posted January 7, 2018 There should be no notification popup for your customers, because that popup only comes if you do NOT run the support files command. If you run the command, there won't be any popup. CheersDan I would like to report that it is not working as intended then. I run that command at the start of my bot and on all my machines incase the commands fails or something else happens, the error does appear (and it appears like 100 times not just once, it fills up the entire screen). I have the same bot running and auto-restarting itself every 4 hours and randomly after 3-4 days or even sometimes after a few restarts on the first day it will just spam that message and will fail to launch. Meanwhile all the files are already in %appdata%\exb so I am not sure why it even tries to re-download but yeah, it tries and somehow it sometimes fails and that message spams a ton of times and the bot gets stuck. Quote Link to post Share on other sites
Bot-Factory 602 Posted January 10, 2018 Report Share Posted January 10, 2018 I would like to report that it is not working as intended then. I run that command at the start of my bot and on all my machines incase the commands fails or something else happens, the error does appear (and it appears like 100 times not just once, it fills up the entire screen). I have the same bot running and auto-restarting itself every 4 hours and randomly after 3-4 days or even sometimes after a few restarts on the first day it will just spam that message and will fail to launch. Meanwhile all the files are already in %appdata%\exb so I am not sure why it even tries to re-download but yeah, it tries and somehow it sometimes fails and that message spams a ton of times and the bot gets stuck.Please open a support ticket and send me some details to reproduce. Forum is not used for support.Thanks a lot for your understanding. Dan Quote Link to post Share on other sites
gandenkohkono 3 Posted January 15, 2018 Report Share Posted January 15, 2018 How to use condition if exist this element. i use this code to reload pages pinterest. please correct my code if($find regular expression("Choose an image to create a Pin","<img alt=\"\" class=\"_mi _25 _3w _2h\" src=\"https?:\\/\\/sstatic1.histats.com(.*?)\">")) { then { plugin command("ExBrowser.dll", "ExBrowser ReloadPage") } } Quote Link to post Share on other sites
Bot-Factory 602 Posted January 15, 2018 Report Share Posted January 15, 2018 How to use condition if exist this element. i use this code to reload pages pinterest. please correct my code if($find regular expression("Choose an image to create a Pin","<img alt=\"\" class=\"_mi _25 _3w _2h\" src=\"https?:\\/\\/sstatic1.histats.com(.*?)\">")) { then { plugin command("ExBrowser.dll", "ExBrowser ReloadPage") } } You have to use the ExBrowser Commands. Take a look at "Exbrowser Find Element Exists" CheersDan Quote Link to post Share on other sites
gandenkohkono 3 Posted January 15, 2018 Report Share Posted January 15, 2018 i will try. and how to click boards number two like this Quote Link to post Share on other sites
Bot-Factory 602 Posted January 15, 2018 Report Share Posted January 15, 2018 i will try. and how to click boards number two like this Hello. I will not give you the solution here. Because I like to teach people to help themselves and not spoonfeed them. Did you watch my Free Xpath tutorial already? Did you try a couple of things yourself? You need to write the correct xpath expression. That I teach in my course. And you can use google to find some more tutorials. If you don't want to invest the time to learn all that stuff by yourself, there are many great guys here in the forum you can hire to do it for you. If you want to learn, we are always here to give you tips and help you. But you should at least invest some amount of time yourself and not just post questions like "I don't know how to click X please send me the solution".Post what you tried already, show your code, show the 5 xpath expressions you tried that didn't work. Then I have absolutely no problem to take a look and give you some hints. Thanks a lot for your understanding. Kindest regardsDan Quote Link to post Share on other sites
gandenkohkono 3 Posted January 16, 2018 Report Share Posted January 16, 2018 Thanks for the inspiration. i just have little problem about translate many tutorial in here. Because i'm not use english language. Quote Link to post Share on other sites
Marani 80 Posted January 16, 2018 Report Share Posted January 16, 2018 For that you should use index number: //div[@class="_vq _2h _vr"][2] to understand it better: https://stackoverflow.com/questions/3674569/how-to-select-specified-node-within-xpath-node-sets-by-index-with-seleniumhttps://stackoverflow.com/questions/10025221/xpath-get-element-by-index 2 Quote Link to post Share on other sites
gandenkohkono 3 Posted January 17, 2018 Report Share Posted January 17, 2018 Thanks Marani Quote Link to post Share on other sites
agustinus 0 Posted January 18, 2018 Report Share Posted January 18, 2018 have a discount? Quote Link to post Share on other sites
Macster (UBotter Labs) 112 Posted January 18, 2018 Report Share Posted January 18, 2018 @Dan i need your help with a bug that i cannot localize. For example i have a multi threaded bot that runs exbrowser with Chrome and sometimes some if not all browsers load this type of local file in the URL bar without any reason: "file:///C:/Users/Administrator/AppData/Local/Temp/2/8NBDgTvW9l.html"I have tripple checked the entire source and there is no bug in the codding and there is not reason for this to happen unless there is a bigger bug in the plugin.I had this problem in the past while runnig any http/socket plugin that was resetting your exbrowser forcing the browsers to load a temp file. Why are the browsers loading a temp file !? Any help is appreciated. Quote Link to post Share on other sites
Bot-Factory 602 Posted January 18, 2018 Report Share Posted January 18, 2018 @Dan i need your help with a bug that i cannot localize. For example i have a multi threaded bot that runs exbrowser with Chrome and sometimes some if not all browsers load this type of local file in the URL bar without any reason: "file:///C:/Users/Administrator/AppData/Local/Temp/2/8NBDgTvW9l.html"I have tripple checked the entire source and there is no bug in the codding and there is not reason for this to happen unless there is a bigger bug in the plugin. I had this problem in the past while runnig any http/socket plugin that was resetting your exbrowser forcing the browsers to load a temp file. Why are the browsers loading a temp file !? Any help is appreciated. You know where the support place is my friend :-) Dan Quote Link to post Share on other sites
SaHiN 14 Posted January 27, 2018 Report Share Posted January 27, 2018 hi Dan, how to make websocket post ? thank you. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.