public function deactivatePlugin($pluginSlug) { $this->click("table.plugins tr[data-slug='{$pluginSlug}'] span.deactivate > a:first-of-type"); }