diff --git a/app/logical/scraper/deviantart.rb b/app/logical/scraper/deviantart.rb index bf296571..7384b78f 100644 --- a/app/logical/scraper/deviantart.rb +++ b/app/logical/scraper/deviantart.rb @@ -88,7 +88,8 @@ def access_token driver.wait_for_element(xpath: "//*[text()='Log In']").click driver.wait_for_element(id: "username").send_keys Config.deviantart_user - driver.find_element(id: "password").send_keys Config.deviantart_pass + driver.find_element(id: "loginbutton").click + driver.wait_for_element(id: "password").send_keys Config.deviantart_pass driver.find_element(id: "loginbutton").click begin