From users-return-4742-archive-asf-public=cust-asf.ponee.io@groovy.apache.org Sun Jun 13 13:25:50 2021 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mxout1-ec2-va.apache.org (mxout1-ec2-va.apache.org [3.227.148.255]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id 89520180648 for ; Sun, 13 Jun 2021 15:25:50 +0200 (CEST) Received: from mail.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mxout1-ec2-va.apache.org (ASF Mail Server at mxout1-ec2-va.apache.org) with SMTP id 930F73ED9C for ; Sun, 13 Jun 2021 13:25:49 +0000 (UTC) Received: (qmail 22163 invoked by uid 500); 13 Jun 2021 13:25:48 -0000 Mailing-List: contact users-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@groovy.apache.org Delivered-To: mailing list users@groovy.apache.org Received: (qmail 22152 invoked by uid 99); 13 Jun 2021 13:25:48 -0000 Received: from spamproc1-he-de.apache.org (HELO spamproc1-he-de.apache.org) (116.203.196.100) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Jun 2021 13:25:48 +0000 Received: from localhost (localhost [127.0.0.1]) by spamproc1-he-de.apache.org (ASF Mail Server at spamproc1-he-de.apache.org) with ESMTP id 9DC551FF492 for ; Sun, 13 Jun 2021 13:25:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamproc1-he-de.apache.org X-Spam-Flag: NO X-Spam-Score: 0.204 X-Spam-Level: X-Spam-Status: No, score=0.204 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=0.2, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-he-de.apache.org ([116.203.227.195]) by localhost (spamproc1-he-de.apache.org [116.203.196.100]) (amavisd-new, port 10024) with ESMTP id CRZQZrVUNTvt for ; Sun, 13 Jun 2021 13:25:47 +0000 (UTC) Received-SPF: None (mailfrom) identity=mailfrom; client-ip=217.198.120.66; helo=smtp-beta-1.zoner.com; envelope-from=ocs@ocs.cz; receiver= Received: from smtp-beta-1.zoner.com (smtp-beta-1.zoner.com [217.198.120.66]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTPS id 202A47FFBF for ; Sun, 13 Jun 2021 13:25:47 +0000 (UTC) Received: from smtp.zoner.com (smtp.zoner.com [217.198.120.6]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp-beta-1.zoner.com (Postfix) with ESMTPS id 68D4A1801243 for ; Sun, 13 Jun 2021 15:25:40 +0200 (CEST) Received: from macbook-pro.ocsluj (unknown [77.240.103.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: ocs@ocs.cz) by smtp.zoner.com (Postfix) with ESMTPSA id EF1EF3000075 for ; Sun, 13 Jun 2021 15:25:39 +0200 (CEST) From: OCsite Content-Type: multipart/alternative; boundary="Apple-Mail=_0D028377-544A-4F97-9E05-44D26A86E213" Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.6\)) Subject: Geb Safari automation Message-Id: <9E06465A-8CC6-4573-A3CE-641D9BF72990@ocs.cz> Date: Sun, 13 Jun 2021 15:25:39 +0200 To: users@groovy.apache.org X-Mailer: Apple Mail (2.3608.120.23.2.6) --Apple-Mail=_0D028377-544A-4F97-9E05-44D26A86E213 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi there, I'd like to use Geb for a Safari (not FF/Chrome) automation; can anyone = help? I've tried steps from this article: = https://blog.codecentric.de/en/2013/02/browser-automation-and-acceptance-t= esting-with-geb/ just updated for Safari instead of Firefox and using current versions of = the frameworks =E2=80=94 but it does not work; it looks like not even = the newest Geb supports Safari, based on the driver list?!? Searching = the Web for =E2=80=9Cgeb safari=E2=80=9D I found a lot of hints it = should work, but not one example howto, not even at = https://gebish.org/manual/current/ =E2=80=94 I must be missing something = obvious :( =3D=3D=3D Groovy Shell (3.0.7, JVM: 11.0.4-BellSoft) Type ':help' or ':h' for help. = --------------------------------------------------------------------------= ----------------------------------------- groovy:000> import groovy.grape.Grape =3D=3D=3D> groovy.grape.Grape groovy:000> Grape.grab(group:"org.gebish", module:"geb-core", = version:"5.0-milestone-2") =3D=3D=3D> null groovy:000> Grape.grab(group:"org.seleniumhq.selenium", = module:"selenium-safari-driver", version:"4.0.0-beta-4") =3D=3D=3D> null groovy:000> import geb.Browser =3D=3D=3D> groovy.grape.Grape, geb.Browser groovy:000> br =3D new Browser() =3D=3D=3D> geb.Browser@9b3be1c groovy:000> br.go "http://ocs.cz" ERROR geb.error.UnableToLoadAnyDriversException: Unable to load any drivers from: = [org.openqa.selenium.htmlunit.HtmlUnitDriver, = org.openqa.selenium.firefox.FirefoxDriver, = org.openqa.selenium.ie.InternetExplorerDriver, = org.openqa.selenium.chrome.ChromeDriver, = org.openqa.selenium.edge.EdgeDriver] =3D=3D=3D Can anyone help? Thanks! OC --Apple-Mail=_0D028377-544A-4F97-9E05-44D26A86E213 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi = there,

I'd like to = use Geb for a Safari (not FF/Chrome) automation; = can anyone help? I've tried steps from this article:


just updated for Safari instead of = Firefox and using current versions of the frameworks =E2=80=94 but it = does not work; it looks like not even the newest Geb supports Safari, = based on the driver list?!? Searching the Web for =E2=80=9Cgeb safari=E2=80= =9D I found a lot of hints it should work, but not one example = howto, not even at https://gebish.org/manual/current/ =E2=80=94 I must be = missing something obvious :(

=3D=3D=3D
Groovy Shell = (3.0.7, JVM: 11.0.4-BellSoft)
Type ':help' or ':h' for help.
---------------------------------------------------------------= ----------------------------------------------------
groovy:000> import = groovy.grape.Grape
=3D=3D=3D> = groovy.grape.Grape
groovy:000> = Grape.grab(group:"org.gebish", module:"geb-core", = version:"5.0-milestone-2")
=3D=3D=3D> = null
groovy:000> = Grape.grab(group:"org.seleniumhq.selenium", = module:"selenium-safari-driver", = version:"4.0.0-beta-4")
=3D=3D=3D> = null
groovy:000> import = geb.Browser
=3D=3D=3D> groovy.grape.Grape, = geb.Browser
groovy:000> br =3D new = Browser()
=3D=3D=3D> = geb.Browser@9b3be1c
groovy:000> br.go "http://ocs.cz"
ERROR = geb.error.UnableToLoadAnyDriversException:
Unable to load any drivers from: = [org.openqa.selenium.htmlunit.HtmlUnitDriver, = org.openqa.selenium.firefox.FirefoxDriver, = org.openqa.selenium.ie.InternetExplorerDriver, = org.openqa.selenium.chrome.ChromeDriver, = org.openqa.selenium.edge.EdgeDriver]
=3D=3D=3D

Can anyone help? Thanks!
OC

= --Apple-Mail=_0D028377-544A-4F97-9E05-44D26A86E213--