request('GET', 'http://127.0.0.1'); $client->executeScript("document.getElementById('showAdvanced').click()"); $client->waitForVisibility('#mysql'); $client->executeScript("document.getElementById('mysql').click()"); $client->submitForm("Install", [ 'adminlogin' => 'nextcloud', 'adminpass' => 'nextcloud', 'dbuser' => 'nextcloud', 'dbpass' => 'nextcloud', 'dbname' => 'nextcloud', 'dbhost' => 'database', 'dbtype' => 'mysql' ]);