[Pharo-users] Web browsing automation

Dimitris Chloupis kilon.alios at gmail.com
Wed May 4 08:16:02 EDT 2016


My project is basically a unification of python and pharo by allowing pharo
to use python libraries. That means that one would have to have knowledge
of python and the python library used.

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".

This problem seems to me to be more suitable for BeautifulSoup

https://www.crummy.com/software/BeautifulSoup/bs4/doc/

which has been ported to Pharo

but it seems to no longer be in SmalltalkHub I can only find it here

http://www.squeaksource.com/@-SEx5I4XPThwdDpe/-yS8D9eS


On Wed, May 4, 2016 at 2:12 PM Peter Uhnák <i.uhnak at gmail.com> wrote:

> As far as I know:
>
> Pharo has event recorder that helps automate within image… however the
> bigger problem here is interaction with the environment, which is a big
> problem cross-platform.
>
> This is all assuming that you _must_ click on it and you can't just
> retrieve-html/parse/extract/download/repeat which is doable in Pharo with
> Zinc and some non-validating parser.
>
> If you don't find anything, you can take a look at PyAutoGUI
> https://pyautogui.readthedocs.io/en/latest/ (or xdotool on linux).
>
> I believe Kilon worked on some python bindings from Pharo? It would be
> interesting to ask him what was that exactly… maybe it could be connected
> to this lib.
>
>
> Peter
>
> On Wed, May 4, 2016 at 1:04 PM, Grigory Hatsevich <g.hatsevich at gmail.com>
> wrote:
>
>> Suppose I have a web page with 50 small photos; when I click on a photo,
>> appears a window where I can further click on a link to open a full profile
>> of the person on a photo. I need to open a full profile for every person in
>> that page, each in a separate browser tab. How can I automate this
>> clicking, so that I would not need to click at every link manually? Does
>> Pharo have tools for such tasks?
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/attachments/20160504/714a200c/attachment.html>


More information about the Pharo-users mailing list