Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/Module/WPWebDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,9 @@ public function deactivatePlugin(string|array $pluginSlug): void
$this->scrollTo($selector, 0, -40);
$this->click($selector);
}

// Reload the page after the deactivations to ensure we're getting the updated version of the plugins page.
$this->reloadPage();
}

/**
Expand Down Expand Up @@ -256,5 +259,8 @@ public function activatePlugin(string|array $pluginSlug): void
$this->scrollTo($selector, 0, -40);
$this->click($selector);
}

// Reload the page after the activations to ensure we're getting the updated version of the plugins page.
$this->reloadPage();
}
}