public function testRadioButtonByLabel() { $this->module->amOnPage('/form/radio'); $this->module->checkOption('Get Off'); $this->module->click('Submit'); $form = data::get('form'); $this->assertEquals('disagree', $form['terms']); }
public function testFailWebDriverByLocator() { $this->shouldFail(); $this->module->amOnPage('/form/checkbox'); $this->module->checkOption(WebDriverBy::name('age')); }