delphi911 0 Posted September 22, 2015 Report Share Posted September 22, 2015 Will you please add a small section on every (new coming of course) troubleshoot video showing how to use xpathPro to produce the same code you manually showed. Quote Link to post Share on other sites
cүвεя_נυηкιε 68 Posted September 22, 2015 Report Share Posted September 22, 2015 Hey Dan, Just a quick question, Im trying to scrape some text from a page to display in a UI status variable, no problems there,but it always shows with spaces and 2 lines of text on 5 lines so it messes up the status display, I would normally use $trim and $replace to remove lines and text that i dont want there, but I cant use these with the ExBrowser Scrape commands, Ive tried normalize-space() and a few other things but keep getting the same messy result Ive also tried saving to a variable and then trimming that, but same result Am i missing something or am i going to have to use Regex ? Its been a long week so its entirely possible im missing something simple, Thanks CJ Quote Link to post Share on other sites
Bot-Factory 602 Posted September 22, 2015 Report Share Posted September 22, 2015 Hey Dan, Just a quick question, Im trying to scrape some text from a page to display in a UI status variable, no problems there,but it always shows with spaces and 2 lines of text on 5 lines so it messes up the status display, I would normally use $trim and $replace to remove lines and text that i dont want there, but I cant use these with the ExBrowser Scrape commands, Ive tried normalize-space() and a few other things but keep getting the same messy result Ive also tried saving to a variable and then trimming that, but same result Am i missing something or am i going to have to use Regex ? Its been a long week so its entirely possible im missing something simple, Thanks CJ Hard to say really without seeing anything. But the scrape commands do not alter the text in any way. And if the text is in a variable, all the commands like trim and replace should work just fine. If you can build a small demo bot that can reproduce the error, please send it over via a support ticket and I'll take a look. Kindest regardsDan Quote Link to post Share on other sites
HattoriHanzo 5 Posted September 22, 2015 Report Share Posted September 22, 2015 Hi DanIs it possible to change/switch the proxy after we have launched the browserAs I understand it currently it can only be set in the Launcher command (so every time proxy needs to be changed we would need to close and launch browser)Thanks Quote Link to post Share on other sites
Bot-Factory 602 Posted September 23, 2015 Report Share Posted September 23, 2015 Hi DanIs it possible to change/switch the proxy after we have launched the browserAs I understand it currently it can only be set in the Launcher command (so every time proxy needs to be changed we would need to close and launch browser)ThanksNo, Proxy can only be set when you start the browser. Dan Quote Link to post Share on other sites
Bot-Factory 602 Posted September 23, 2015 Report Share Posted September 23, 2015 Update V1.1.5.5 Updates:Updated Driver (Selenium 2.47)Chromeengine & Firefox Extension UpdatePlugin Size reduced New Features:Scroll To Element CommandSocks Proxy Support für PhantomJS (with authentication)Socks Support for Chrome & Firefox (Both browser don't support socks authentication!)Plugin Version FunctionScreenshot Special Command (Coordinates Screenshot)FocusNewWindowTab CommandScreenshot Format changed from PNG to JPG to reduce screenshot size. Mainly for captchas. Confirm Alert Window Command. Change Dropdown Random CommandClear TextBox Command Hide Browser(Run Hidden) / Window ManagerDisable WebRTC (FF)Set Browser Language (Chrome)Icognito Mode Bugfix:Switch to Window Command was not workingStability Changes for Scraper Commands Function Name Changed!!$ExBrowser Set Socks Proxy (PhantomJS) = $ExBrowser Set Socks Proxy // Can now be used for all 3 browsers! New Tutorial Video will follow soon. Restart Ubot Studio and the Update will show up automatically.Or login to the license server to download the latest DLL. 3 Quote Link to post Share on other sites
Bot-Factory 602 Posted September 24, 2015 Report Share Posted September 24, 2015 V 1.1.5.5 Update Video >>Click Here to Watch Video<< 2 Quote Link to post Share on other sites
giganut 109 Posted September 26, 2015 Report Share Posted September 26, 2015 Hello dan. I'm noticing a large delay when using the "ExBrowser Document Text" in a $contains & $not commands when used like this $contains($plugin function("ExBrowser.dll", "$ExBrowser Document Text"), "SEARCH") and also when it's used like this $not($contains($plugin function("ExBrowser.dll", "$ExBrowser Document Text"), "404 Not Found."))If you run a lot of conditions like this in a row, it seems to add a large delay. if($contains($plugin function("ExBrowser.dll", "$ExBrowser Document Text"), "SEARCH")) { then { alert("Hello") } } if($not($contains($plugin function("ExBrowser.dll", "$ExBrowser Document Text"), "404 Not Found."))) { then { alert("Hello") } } Quote Link to post Share on other sites
Bot-Factory 602 Posted September 26, 2015 Report Share Posted September 26, 2015 Hello dan. I'm noticing a large delay when using the "ExBrowser Document Text" in a $contains & $not commands when used like this $contains($plugin function("ExBrowser.dll", "$ExBrowser Document Text"), "SEARCH") and also when it's used like this $not($contains($plugin function("ExBrowser.dll", "$ExBrowser Document Text"), "404 Not Found.")) if($contains($plugin function("ExBrowser.dll", "$ExBrowser Document Text"), "SEARCH")) { then { alert("Hello") } } if($not($contains($plugin function("ExBrowser.dll", "$ExBrowser Document Text"), "404 Not Found."))) { then { alert("Hello") } }I would add the document text to a variable first. And then check the content of that variable with contains / not contains. That might be faster. The document text function itself can't be improved. It's directly executing a Selenium command and returning the value as soon as it's send back from the selenium driver.So no additional overhead from the plugin itself. The command might improve with a newer version of selenium or with a different browser. But nothing that is in my control. Dan Quote Link to post Share on other sites
Bot-Factory 602 Posted September 26, 2015 Report Share Posted September 26, 2015 All Tutorials and helpdesk documents can be found here: https://botfactory.helpdocs.com Quote Link to post Share on other sites
awpramono 1 Posted September 26, 2015 Report Share Posted September 26, 2015 Anyone, can help how to change file on Youtube upload with ExBrowser?http://s28.postimg.org/o3xp2n41p/screenshot_183.jpg Thanks Quote Link to post Share on other sites
Bot-Factory 602 Posted September 27, 2015 Report Share Posted September 27, 2015 Anyone, can help how to change file on Youtube upload with ExBrowser?http://s28.postimg.org/o3xp2n41p/screenshot_183.jpg ThanksYou can not automate it via the file selection dialog box. You have to alter the underlying html code and kind of "inject" the file information into the code.Dan Quote Link to post Share on other sites
quickregister 1 Posted September 27, 2015 Report Share Posted September 27, 2015 Dan, great tutorial. I am confused about X Path Builder that you use. Do I need this software to use Exbrowser? Can't I select elements without Ex Path Builder? I am looking to solve the Google Multiple Image Recaptcha. You seem to come the closest to solving this. I have purchase all the other codes to solve this problem on the forum and none work so far. Quote Link to post Share on other sites
Bot-Factory 602 Posted September 27, 2015 Report Share Posted September 27, 2015 Dan, great tutorial. I am confused about X Path Builder that you use. Do I need this software to use Exbrowser? Can't I select elements without Ex Path Builder? I am looking to solve the Google Multiple Image Recaptcha. You seem to come the closest to solving this. I have purchase all the other codes to solve this problem on the forum and none work so far.Hello. You don't need Xpath Builder at all. Xpath Builder is just a tool that helps you to generate Xpath Expressions. But you can write Xpath Expressions without the tool. And then use those Expressions in ExBrowser Plugin.In the last two troubleshooting videos I show how to write those expressions manually. It's just a lot faster with Xpath Builder. I for example use Xpath Builder very often. Just to save time when I work with a lot of websites and have to create lot of expressions.But I could write those expressions on my own. It would just take longer to type all that stuff. But that's basically it. Xpath Builder Pro is a time saver. But it's not required at all for ExBrowser Plugin. Hope that helps. Did you see my captcha tutorial? I show how to solve the recaptcha thing there. Kindest regardsDan Quote Link to post Share on other sites
quickregister 1 Posted September 27, 2015 Report Share Posted September 27, 2015 Yes I saw your very good Captcha tutorial but I was confused on the Xpath expressions. I do not even know what they are. I just use what is built into ubot to click on elements or to scrape elements. I am not sure why I need Xpath expressions. Is there some tutorial you have explaining the basics of this? Thank you. Quote Link to post Share on other sites
Bot-Factory 602 Posted September 27, 2015 Report Share Posted September 27, 2015 Yes I saw your very good Captcha tutorial but I was confused on the Xpath expressions. I do not even know what they are. I just use what is built into ubot to click on elements or to scrape elements. I am not sure why I need Xpath expressions. Is there some tutorial you have explaining the basics of this? Thank you.You need Xpath for ExBrowser Plugin if you want to do more complex stuff. So for the recaptcha thing it's not possible to use the ubot locators. ExBrowser only has support for very simple Ubot locators. No wildcards and no regex. So you can't just copy the over from your "old" ubot browser code. But I recorded a lot of tutorials about xpath and how that whole stuff works. So if you didn't watch all the videos on the helpdesk site, that's the first thing you should do. If you still have questions after you watched ALL of them, send me a message and we will go from there. https://botfactory.helpdocs.com Kindest regardsDan Quote Link to post Share on other sites
quickregister 1 Posted September 27, 2015 Report Share Posted September 27, 2015 Thank you very much Dan. I will watch the other tutorials and get up to speed. The one you did no captchas was very well done. Quote Link to post Share on other sites
Bot-Factory 602 Posted September 28, 2015 Report Share Posted September 28, 2015 Do you miss any features from the old Communication Plugin? If yes, please send me a message:support(ad)bot-factory.comAnd tell me what commands and functions you would like to get from the old Communication Plugin.I need someone who has some free time to test everything. Quote Link to post Share on other sites
django 1 Posted September 29, 2015 Report Share Posted September 29, 2015 how to set Referer with exbrowser ? Quote Link to post Share on other sites
Bot-Factory 602 Posted September 29, 2015 Report Share Posted September 29, 2015 how to set Referer with exbrowser ? Referer Spoofing is not possible with the plugin out of the box. That's a limitation of the Selenium Engine. But there are a couple of plugins you can use:Firefox:RefControleReferer Control Chrome:Referer Control 1 Quote Link to post Share on other sites
django 1 Posted September 30, 2015 Report Share Posted September 30, 2015 Referer Spoofing is not possible with the plugin out of the box. That's a limitation of the Selenium Engine. But there are a couple of plugins you can use:Firefox:RefControleReferer Control Chrome:Referer Control and how to load browser extension ? I added Load browser extension and its asking for extension path. Quote Link to post Share on other sites
Bot-Factory 602 Posted September 30, 2015 Report Share Posted September 30, 2015 and how to load browser extension ? I added Load browser extension and its asking for extension path.Hello. Please watch all the tutorials:https://botfactory.helpdocs.com/exbrowser-plugin It's covered somewhere in there. Not quite sure which one it was. But maybe start with the V1.1.0.5 Videos CheersDan Quote Link to post Share on other sites
django 1 Posted September 30, 2015 Report Share Posted September 30, 2015 Hello. Please watch all the tutorials:https://botfactory.helpdocs.com/exbrowser-plugin It's covered somewhere in there. Not quite sure which one it was. But maybe start with the V1.1.0.5 Videos CheersDan ok there need to enter path of downloaded plugin. so there is no way to setup plugin just need to run with default settings? also load plugin not working for firefox Quote Link to post Share on other sites
Bot-Factory 602 Posted September 30, 2015 Report Share Posted September 30, 2015 so there is no way to setup plugin just need to run with default settings? also load plugin not working for firefox1. I don't understand that? What do you mean?2. It works fine for me. Please share code. Dan Quote Link to post Share on other sites
django 1 Posted September 30, 2015 Report Share Posted September 30, 2015 1. I don't understand that? What do you mean?2. It works fine for me. Please share code. Dan plugin command("ExBrowser.dll", "ExBrowser Launcher", "Firefox", "", $plugin function("ExBrowser.dll", "$ExBrowser Load Browser Extension", "{$special folder("Application")}\\betterprivacy-1.68-fx.xpi")) 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.