From e8dddd097d7d430b456892ade45465bb731a6828 Mon Sep 17 00:00:00 2001 From: Yves Hoppe Date: Sun, 1 Nov 2015 11:05:47 +0100 Subject: [PATCH] Removed add of ending slash (not usefull here) --- src/JoomlaBrowser.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/JoomlaBrowser.php b/src/JoomlaBrowser.php index 07935ab..9ef6742 100644 --- a/src/JoomlaBrowser.php +++ b/src/JoomlaBrowser.php @@ -326,10 +326,6 @@ public function installExtensionFromFolder($path, $type = 'Extension') $I->waitForText('Extensions: Install','30', ['css' => 'H1']); $I->click(['link' => 'Install from Folder']); $this->debug('I enter the Path'); - - //Make sure path has an ending slash - $path = rtrim($path, "/") . "/"; - $I->fillField(['id' => 'install_directory'], $path); // @todo: we need to find a better locator for the following Install button $I->click(['xpath' => "//button[contains(@onclick,'Joomla.submitbutton3()')]"]); // Install button