Codeception\Module\WPBrowserMethods::deactivatePlugin PHP Method

deactivatePlugin() public method

The method will presume the browser is in the plugin screen already.
public deactivatePlugin ( string $pluginSlug ) : void
$pluginSlug string The plugin slug, like "hello-dolly".
return void
    public function deactivatePlugin($pluginSlug)
    {
        $this->click("table.plugins tr[data-slug='{$pluginSlug}'] span.deactivate > a:first-of-type");
    }