diff --git a/Docker/run-analysis.sh b/Docker/run-analysis.sh index 49da1dc..2b7fd25 100755 --- a/Docker/run-analysis.sh +++ b/Docker/run-analysis.sh @@ -32,6 +32,7 @@ while IFS= read -r DOMAIN; do # these domains return a 404 anyways, no need to waste time on them: if is_http_error "$DOMAIN"; then echo "skipping $DOMAIN"; continue; fi load_website "$DOMAIN?hl=pl" "$DOMAIN" + sleep 4 # sometimes the consent popup needs a little time open_console grab "$DOMAIN before" (tr '\n' ' ' < click-accept-all.js) | xclip -sel clip diff --git a/Docker/utils.sh b/Docker/utils.sh index d914b14..d25d858 100644 --- a/Docker/utils.sh +++ b/Docker/utils.sh @@ -178,7 +178,6 @@ load_website(){ wait_for_website_to_load sleep 0.3 wait_for_website_to_load - sleep 7 # sometimes the consent modal needs a little time to show up } open_network_inspector(){