From 426f48f292401a683ceaa2cccb3338823bcd3771 Mon Sep 17 00:00:00 2001 From: Carmelo Messina Date: Wed, 31 Jul 2024 15:00:16 +0200 Subject: [PATCH] [TOOLS] Enable appium and browserstack in proxy allow the passage in the proxy of some domains used for the preparation of the appium image and the connection with browserstack from my environment --- tools/images/squid/squid.conf | 1 + tools/images/squid/whitelist | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/tools/images/squid/squid.conf b/tools/images/squid/squid.conf index 7cb54a506..d95ad5ec4 100644 --- a/tools/images/squid/squid.conf +++ b/tools/images/squid/squid.conf @@ -7,6 +7,7 @@ acl localnet src 192.168.0.0/16 # RFC 1918 possible internal network acl SSL_ports port 443 acl Safe_ports port 80 acl Safe_ports port 443 +acl Safe_ports port 4723 # appium tcp port acl CONNECT method CONNECT acl whitelist dstdomain "/etc/squid/whitelist" diff --git a/tools/images/squid/whitelist b/tools/images/squid/whitelist index 0b830f787..fd26ea0f3 100644 --- a/tools/images/squid/whitelist +++ b/tools/images/squid/whitelist @@ -28,3 +28,11 @@ chrome-infra-packages.appspot.com # for pip .pypi.org + +# for appium +registry.npmjs.org +deb.nodesource.com + +# for browserstack +api-cloud.browserstack.com +hub-cloud.browserstack.com \ No newline at end of file