Fix OK button clicked
This commit is contained in:
@@ -104,7 +104,7 @@ abstract class InstagramAbstractJob extends BrowserJob implements ShouldBeUnique
|
|||||||
$popupsTypes = [
|
$popupsTypes = [
|
||||||
['//button[contains(text(), "Allow all cookies")]'], // Allow all cookies
|
['//button[contains(text(), "Allow all cookies")]'], // Allow all cookies
|
||||||
['//button[contains(text(), "Not Now")]', ["Popup Not Now clicked"]], // Not now
|
['//button[contains(text(), "Not Now")]', ["Popup Not Now clicked"]], // Not now
|
||||||
['//button|//div[contains(text(), "OK")]', ["Popup Ok clicked"]], // OK
|
['//button[contains(text(), "OK")]|//div[contains(text(), "OK")]', ["Popup Ok clicked"]], // OK
|
||||||
];
|
];
|
||||||
|
|
||||||
foreach ($popupsTypes as $popup) {
|
foreach ($popupsTypes as $popup) {
|
||||||
|
|||||||
Reference in New Issue
Block a user