Skip to content

Commit a254164

Browse files
authored
Fix xpath for new tabs
1 parent b5afd92 commit a254164

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
@@ -371,7 +371,7 @@ public function setErrorReportingToDevelopment()
371371

372372
// TODO improve
373373
$this->wait(1);
374-
$this->click(['link' => 'Server']);
374+
$this->click(array('xpath' => "//div[@role='tablist']/button[@aria-controls='page-server']"));
375375
$this->debug('I wait for error reporting dropdown');
376376
$this->selectOption('Error Reporting', 'Maximum');
377377
$this->debug('I click on save');

0 commit comments

Comments
 (0)