From patchwork Sat Aug 3 19:11:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Artyom V. Poptsov" X-Patchwork-Id: 66630 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E75A427BBE9; Sat, 3 Aug 2024 20:13:58 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 68CAB27BBE2 for ; Sat, 3 Aug 2024 20:13:58 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1saKCG-0001jg-K1; Sat, 03 Aug 2024 15:13:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1saKCE-0001jR-Qt for guix-patches@gnu.org; Sat, 03 Aug 2024 15:13:42 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1saKCE-0000qu-Fv for guix-patches@gnu.org; Sat, 03 Aug 2024 15:13:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=oeidXz1hgEE63eKqGCjFbtvbsYjAf4i/F7fXcjJ6hg4=; b=uG9Mcd19uWeLwC1avPoKb794zWuRWtxoXX/L+EaKQYBZx2lJVr8oJCtb/oMP86Go4OT8nuTFVATB2X7Y+cJw9KH9WxjYOgHLDA4umt8EYklfQhv4WsLhd5RtpkbyjNPa0x1zVvoouOaJzbEPhbQzc5utzg2cuJ4BxBUI3APCzlGiZ6u1cBwz6wgbnVVg3AQagzcqwuwpFzqkw4KwkigehS4VTc1UHPLk0E6wLeVrIX1Da1w+7RVfaJgbH+pRO1Dz+R0uJVcjdIJmkFzcZlHgJv3ayMy8CJQF2lefQWfAMylyrvPP/afeIywnpHG6ttzOgbqtZjfPXbdFgMGKh0SRHg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1saKCY-0001UC-1H for guix-patches@gnu.org; Sat, 03 Aug 2024 15:14:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72449] [PATCH] gnu: Add guile-web-driver-ng. Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 03 Aug 2024 19:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72449 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72449@debbugs.gnu.org Cc: "Artyom V. Poptsov" X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17227124295656 (code B ref -1); Sat, 03 Aug 2024 19:14:01 +0000 Received: (at submit) by debbugs.gnu.org; 3 Aug 2024 19:13:49 +0000 Received: from localhost ([127.0.0.1]:54807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saKCK-0001TA-Mj for submit@debbugs.gnu.org; Sat, 03 Aug 2024 15:13:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:48704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saKCI-0001T0-DO for submit@debbugs.gnu.org; Sat, 03 Aug 2024 15:13:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1saK9r-0001Ya-WF for guix-patches@gnu.org; Sat, 03 Aug 2024 15:11:16 -0400 Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1saK9q-0007u6-6c for guix-patches@gnu.org; Sat, 03 Aug 2024 15:11:15 -0400 Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2ef2cce8be8so113824141fa.1 for ; Sat, 03 Aug 2024 12:11:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722712272; x=1723317072; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=oeidXz1hgEE63eKqGCjFbtvbsYjAf4i/F7fXcjJ6hg4=; b=Mp7L5tT0kio5OhR8bebgmWFC8MpnAoQhmImtF68w1A0fsZle/i4rT1lR8qA7AqQSDD PHM49Ergwp6piJwIdjXEGDo06belRnljedhemVgaUxEE9bGzsw3xTemB34/kmBwpCQKS O9HenTaxc1PjVrdWLfre//A/OjfjPBvbnnNiP+NeI7FlWkPv9um+OARw4juKXP9C5tSl vcSmlGt9T4D/FImnfmFXs7brrb1IoXj0bMKHDxmdqisVDGagMr8mgL1/toe2ww0oZ9T6 9d2MpGfIzAqHIo2GmeeuIXniua5UnHsrbrzBauxU7tRZteIPNAxMP7/7bmRbmacZBLg7 3Dbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722712272; x=1723317072; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=oeidXz1hgEE63eKqGCjFbtvbsYjAf4i/F7fXcjJ6hg4=; b=N32Y/psJ0NWzYCIswT/YwBUlA4hCU3PtAqggk7rUck12SF+eV1npWRTe1f44aJSiVD bTD8W0UxYSTULNEzf4/5M7vtVznCd+d+/BsNwISX6Dz70YULp9qDMEU4Zs5bLHoTBGqL 7i61WyMKJrJ3KQqAvBaLqxjfxmXHG1PxC8f4PjLGsUhd7SDDMXTAOS+ygKjNVnbBjKjv GoQ0xkgMR6US4+SPKmT1ZdGfuMSYb9ei2NKIVABDouaDJlPUaxHYw5oSWUlr74iU05wO fyEx1wCrGdtnWyon6ZhYXAuCvGtJsnJkx0Jlr6aDH8I69B6skwsQB5J1jpTtX922gnRB q5Aw== X-Gm-Message-State: AOJu0YyIT6oMnea4M+0ZN/tZzDWQvnwpP0LgV+hx+fkKxLQi4Evnl/qv qwSgCUZCE6bI+8rY1UpsSIwtjLnHGjChP7uVGGlKr0SdmAda6Xlf8CdO4DAL X-Google-Smtp-Source: AGHT+IHG/DI3JPjv4Xyi9NH/1VqCeTYBc4p9BDTr5N3QAbICxV+ZMwdQ9fimp59L5iipnuTnSQnPpw== X-Received: by 2002:a2e:9e48:0:b0:2f0:33e:d286 with SMTP id 38308e7fff4ca-2f15aa9a109mr54003231fa.20.1722712271039; Sat, 03 Aug 2024 12:11:11 -0700 (PDT) Received: from elephant.. ([5.3.222.28]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2f15e1c6423sm5013761fa.66.2024.08.03.12.11.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Aug 2024 12:11:10 -0700 (PDT) From: "Artyom V. Poptsov" Date: Sat, 3 Aug 2024 22:11:04 +0300 Message-ID: <335a5330f725ed94944eee6238f406932212ceb4.1722712264.git.poptsov.artyom@gmail.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::22c; envelope-from=poptsov.artyom@gmail.com; helo=mail-lj1-x22c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/guile-xyz.scm (guile-web-driver-ng): New variable. Change-Id: I97f979ccbfe1d9f4e43b7f9a5730e092e36129a0 --- gnu/packages/guile-xyz.scm | 44 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) base-commit: b20956651a53a8f23828fdeb6945e1a31e6997a8 diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 3ce4f6a8d6..29b2f40968 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -4914,6 +4914,50 @@ (define-public guile2.2-webutils (propagated-inputs (list guile2.2-irregex guile2.2-gcrypt)))) +(define-public guile-web-driver-ng + (package + (name "guile-web-driver-ng") + (version "1.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/artyom-poptsov/guile-web-driver-ng") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0saljgf3kj3p9b1mk5211s8np2vwkzf072xp6j2xnc10vdn891ja")))) + (build-system gnu-build-system) + (native-inputs (list autoconf + automake + pkg-config + texinfo + ;; needed when cross-compiling. + guile-lib + guile-json-4 + guile-gnutls + guile-3.0)) + (propagated-inputs (list guile-json-4 guile-gnutls guile-lib guile-3.0 + inetutils)) + (arguments + (list + #:phases #~(modify-phases %standard-phases + (delete 'strip)))) + (home-page "https://github.com/artyom-poptsov/guile-web-driver-ng") + (synopsis "Web driver (Selenium) client for Guile") + (description + "This is a web-driver, or Selenium 2, client. It's purpose is to automate +browsers, specifically for automatic web server testing. Chrome or Firefox can be +used as the automated browsers, or it can connect to arbitrary server providing +webdriver interface. The client implements most of the WebDriver +@url{https://www.w3.org/TR/webdriver2/, specification}. + +@code{guile-web-driver-ng} also provides a proxy implemented as a Guile module. If +configured, the proxy can intercept and modify HTTP/HTTPS traffic (for example, add, +delete and replace HTTP headers) which is useful for Selenium WebDriver as it does +not provide a way to change the headers on its own.") + (license license:gpl3+))) + (define-public guile-lens (let ((commit "14b15d07255f9d3f55d40a3b750d13c9ee3a154f") (revision "0"))