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
All checks were successful
Push image to registry / build-image (push) Successful in 3m3s
This commit is contained in:
@@ -88,7 +88,7 @@ abstract class InstagramAbstractJob extends BrowserJob implements ShouldBeUnique
|
|||||||
AllNotification::send(new JobDebugNotification($this->jobId, "Instagram login failed: Incorrect password."));
|
AllNotification::send(new JobDebugNotification($this->jobId, "Instagram login failed: Incorrect password."));
|
||||||
// Stop the job run
|
// Stop the job run
|
||||||
throw new \Exception("Instagram login failed: Incorrect password.");
|
throw new \Exception("Instagram login failed: Incorrect password.");
|
||||||
} catch (\Exception $e) {
|
} catch (\Facebook\WebDriver\Exception\TimeoutException $e) {
|
||||||
// Not the expected error, continue
|
// Not the expected error, continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -71,6 +71,8 @@ class InstagramRepostJob extends InstagramAbstractJob implements ShouldBeUniqueU
|
|||||||
sleep(2);
|
sleep(2);
|
||||||
$this->signin($browser);
|
$this->signin($browser);
|
||||||
sleep(2);
|
sleep(2);
|
||||||
|
$this->removePopups($browser);
|
||||||
|
sleep(2);
|
||||||
$this->repostLatestPosts($browser);
|
$this->repostLatestPosts($browser);
|
||||||
sleep(5);
|
sleep(5);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user