[Pharo-users] Web browsing automation
cdrick65 at gmail.com
Wed May 4 09:02:39 EDT 2016
I think you have several possibilities : 1. testing user interactions by real click automations: don’t know what is up todays but there were Albatross back in 2006  or SeasideTesting . Probably, there are other options.
2. Simulate client requests programmatically. You could do that in Zinc quite easily if you know the different url. Have a look at the book « Enterprise Pharo » 
3. BeautifulSoup is called Soup and is accessible through the catalog or SmalltalkHub . Works well (note to pharoers: but I think that be nice to have an interface like scrappy instead).
Now, as you say "Its a simple socket bridge with which pharo can communicate with python and say "hey python do this for me and return me the result ». I’d say the second option with Zinc seems to be the best approach, start with the chapter about client but you’ll probably need the server chapter so as to get bidirectional connections. My guess… and interesting project btw :)
 http://scg.unibe.ch/archive/projects/Brue06a.pdf  http://www.shaffer-consulting.com/david/Seaside/TestingComponents/TestingComponents.html  http://files.pharo.org/books/enterprise-pharo/  https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/Zinc-HTTP-Client/Zinc-HTTP-Client.html  http://www.smalltalkhub.com/#!/~PharoExtras/Soup
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pharo-users