From 3c72cbc5de3fa0123e56e6134bd327bb61ccb659 Mon Sep 17 00:00:00 2001 From: Jay Pfaffman Date: Wed, 15 Apr 2020 13:45:14 -0700 Subject: [PATCH] FIX: Google groups import changed login URL (#9432) I'm not clear why changing only the `wait_for_url` address was necessary and not also the `get` a few lines above, but this change seems to work for me on both literatecomputing.com Groups and a public group. --- script/import_scripts/google_groups.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/import_scripts/google_groups.rb b/script/import_scripts/google_groups.rb index bbcfb6442ba..359114e6627 100755 --- a/script/import_scripts/google_groups.rb +++ b/script/import_scripts/google_groups.rb @@ -186,7 +186,7 @@ def login get("https://myaccount.google.com/?utm_source=sign_in_no_continue") begin - wait_for_url { |url| url.start_with?("https://myaccount.google.com") } + wait_for_url { |url| url.start_with?("https://accounts.google.com") } rescue Selenium::WebDriver::Error::TimeoutError exit_with_error("Failed to login. Please check the content of your cookies.txt".red.bold) end