Re: New egg: webdriver

2023-04-15 Thread Mario Domenech Goulart
Hi Daniel,

On Sat, 15 Apr 2023 07:12:31 +0500 Daniel Ziltener  wrote:

> Hi all,
>
> I have written a new egg implementing the WebDriver API, fittingly
> named "webdriver". It covers most of the API except the shadow-dom
> parts, as I honestly have not really understood yet what exactly the
> purpose of the shadow dom is...
>
> Wiki page: http://wiki.call-cc.org/eggref/5/webdriver
> Release-info file:
> https://fossil.lyrion.ch/chicken-webdriver/doc/trunk/webdriver.release-info
>
> I hope it will be as useful to some as it will be for me. As always,
> bug reports, suggestions, and fixes are welcome.

I've gotten a couple of test failures with test-new egg:

 webdriver (1 of 1) 
  Fetching[ ok ] 0s
  Reading .egg[ ok ] 0s
  Checking dependencies...[ ok ] 0s
  Checking category...[ ok ] 0s
  Checking license[ ok ] 0s
  Checking author.[ ok ] 0s
  Installing..[ ok ] 12m47s
  Checking version[ -- ]
  Testing.[fail] 37s
  Checking documentation..[ ok ] 0s


In salmonella.log I see

Session id check . [ERROR]

Error: (tcp-connect) cannot create socket - Connection refused
(string? (begin (initialize-session browser) (slot-value browser 
'session-id)))

Navigating to the first website .. [ERROR]

Error: (tcp-connect) cannot create socket - Connection refused
(begin
  (initialize-session browser)
  (set-url browser "http://info.cern.ch/hypertext/WWW/TheProject.html;)
  (url browser))
  

I guess those tests are not suitable for an environment where we have no
browser running, right?  Can tests check that and decide what to
execute?

BTW, using references to external resources in tests (e.g.,
http://info.cern.ch) might lead to trouble.

All the best.
Mario
-- 
http://parenteses.org/mario



New egg: webdriver

2023-04-14 Thread Daniel Ziltener

Hi all,

I have written a new egg implementing the WebDriver API, fittingly named 
"webdriver". It covers most of the API except the shadow-dom parts, as I 
honestly have not really understood yet what exactly the purpose of the 
shadow dom is...


Wiki page: http://wiki.call-cc.org/eggref/5/webdriver
Release-info file: 
https://fossil.lyrion.ch/chicken-webdriver/doc/trunk/webdriver.release-info


I hope it will be as useful to some as it will be for me. As always, bug 
reports, suggestions, and fixes are welcome.


Best regards,

Daniel Ziltener



OpenPGP_0x752C7F031AADF16F.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature