Skip to content

Commit 9b8ebf4

Browse files
committed
Fixing the Xpath for Install Button
1 parent 138ac30 commit 9b8ebf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JoomlaBrowser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ public function installExtensionFromFolder($path, $type = 'Extension')
329329
$this->debug('I enter the Path');
330330
$I->fillField(['id' => 'install_directory'], $path);
331331
// @todo: we need to find a better locator for the following Install button
332-
$I->click(['xpath' => "//input[contains(@onclick,'Joomla.submitbutton3()')]"]); // Install button
332+
$I->click(['xpath' => "//button[contains(@onclick,'Joomla.submitbutton3()')]"]); // Install button
333333
$I->waitForText('was successful','30', ['id' => 'system-message-container']);
334334
$this->debug("$type successfully installed from $path");
335335
}

0 commit comments

Comments
 (0)