Skip to content

Commit 9dc3b83

Browse files
author
Jelle Kok
committed
Update id names
1 parent 81fd89f commit 9dc3b83

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/JoomlaBrowser.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ public function installExtensionFromFolder($path, $type = 'Extension')
328328
$I->click(['link' => 'Install from Folder']);
329329
$this->debug('I enter the Path');
330330
$I->fillField(['id' => 'install_directory'], $path);
331-
$I->click(['xpath' => "//div[@id='folder']/fieldset/div[2]/input"]); // Install button
331+
$I->click(['id' => 'installbutton_directory']); // Install button
332332
$I->waitForText('was successful','60', ['id' => 'system-message-container']);
333333
$this->debug("$type successfully installed from $path");
334334
}
@@ -348,8 +348,8 @@ public function installExtensionFromUrl($url, $type = 'Extension')
348348
$I->waitForText('Extensions: Install','30', ['css' => 'H1']);
349349
$I->click(['link' => 'Install from URL']);
350350
$this->debug('I enter the url');
351-
$I->fillField(['id' => 'install_url'], $url);
352-
$I->click(['xpath' => "//div[@id='url']/fieldset/div[2]/input"]); // Install button
351+
$I->fillField(['id' => 'install_url'], $url);
352+
$I->click(['id' => 'installbutton_url']); // Install button
353353
$I->waitForText('was successful','30', ['id' => 'system-message-container']);
354354
if ($type == 'Extension')
355355
{

0 commit comments

Comments
 (0)