Created
May 21, 2015 11:29
-
-
Save alnutile/4a112a99c967adffe88b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @Then /^I fill in wysiwyg on field "([^"]*)" with "([^"]*)"$/ | |
*/ | |
public function iFillInWysiwygOnFieldWith($arg, $arg2) | |
{ | |
$this->getSession()->executeScript("CKEDITOR.instances.$arg.setData(\"$arg2\");"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment