original_string: protected function trigger_on_change() {
          $driver = $this->session->getDriver();
          if ($driver instanceof \Moodle\BehatExtension\Driver\MoodleSelenium2Driver) {
              $driver->triggerSynScript(
                  $this->field->getXPath(),
                  "Syn.trigger('change', {}, {{ELEMENT}})"
              );
          }
      }
code: protected function trigger_on_change() {
          $driver = $this->session->getDriver();
          if ($driver instanceof \Moodle\BehatExtension\Driver\MoodleSelenium2Driver) {
              $driver->triggerSynScript(
                  $this->field->getXPath(),
                  "Syn.trigger('change', {}, {{ELEMENT}})"
              );
          }
      }
code_tokens: protected function trigger_on_change ( ) { $ driver = $ this -> session -> getDriver ( ) ; if ( $ driver instanceof \ Moodle \ BehatExtension \ Driver \ MoodleSelenium2Driver ) { $ driver -> triggerSynScript ( $ this -> field -> getXPath ( ) , "Syn.trigger('change', {}, {{ELEMENT}})" ) ; } }
docstring: Trigger on change event.
docstring_tokens: Trigger on change event .