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.
This commit is contained in:
Jay Pfaffman 2020-04-15 13:45:14 -07:00 committed by GitHub
parent 5a8a844e4e
commit 3c72cbc5de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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