LimeSurveyWebDriver

Extends \Facebook\WebDriver\Remote\RemoteWebDriver

Subclass of Facebook webdriver.

This class contains helper methods to interact with a LimeSurvey survey, like filling in questions, going to next question group, changing language etc.

package

Default

Methods

answerTextQuestion

answerTextQuestion(string $sgqa, string $answer) : void

Arguments

$sgqa

string

Like 123X345X567

$answer

string

Answer to question.

Change language using links in top-right corner.

changeLanguage(string $newLang) : void

Arguments

$newLang

string

Like 'de' or 'en'.

Change language using the <select> element on survey welcome page.

changeLanguageSelect(string $newLang) : void

Arguments

$newLang

string

Like 'de' or 'en'.

Go to next question/question group.

next() : void

Alias for next().

submit()