Fix "Waited 1 seconds for text [Sorry, your password was incorrect. Please double-check your password.]."
All checks were successful
Push image to registry / build-image (push) Successful in 3m3s

This commit is contained in:
2025-11-01 15:27:53 +01:00
parent 15c540dcad
commit 5cd0aea7c8
2 changed files with 3 additions and 1 deletions

View File

@@ -88,7 +88,7 @@ abstract class InstagramAbstractJob extends BrowserJob implements ShouldBeUnique
AllNotification::send(new JobDebugNotification($this->jobId, "Instagram login failed: Incorrect password."));
// Stop the job run
throw new \Exception("Instagram login failed: Incorrect password.");
} catch (\Exception $e) {
} catch (\Facebook\WebDriver\Exception\TimeoutException $e) {
// Not the expected error, continue
}

View File

@@ -71,6 +71,8 @@ class InstagramRepostJob extends InstagramAbstractJob implements ShouldBeUniqueU
sleep(2);
$this->signin($browser);
sleep(2);
$this->removePopups($browser);
sleep(2);
$this->repostLatestPosts($browser);
sleep(5);