Fix OK button clicked
Some checks failed
Test, build and push image to registry / build-image (push) Has been cancelled
Test, build and push image to registry / phpunit-tests (push) Has been cancelled

This commit is contained in:
2025-11-07 12:07:56 +01:00
parent fb2a346804
commit 5b5f35e9ce

View File

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