{"action":"opened","issue":{"url":"https://api.github.com/repos/Codeception/Codeception/issues/1794","labels_url":"https://api.github.com/repos/Codeception/Codeception/issues/1794/labels{/name}","comments_url":"https://api.github.com/repos/Codeception/Codeception/issues/1794/comments","events_url":"https://api.github.com/repos/Codeception/Codeception/issues/1794/events","html_url":"https://github.com/Codeception/Codeception/issues/1794","id":63232579,"number":1794,"title":"How to fill a rich text editor field for an Acceptance test","user":{"login":"mattyh88","id":4705254,"avatar_url":"https://avatars.githubusercontent.com/u/4705254?v=3","gravatar_id":"","url":"https://api.github.com/users/mattyh88","html_url":"https://github.com/mattyh88","followers_url":"https://api.github.com/users/mattyh88/followers","following_url":"https://api.github.com/users/mattyh88/following{/other_user}","gists_url":"https://api.github.com/users/mattyh88/gists{/gist_id}","starred_url":"https://api.github.com/users/mattyh88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattyh88/subscriptions","organizations_url":"https://api.github.com/users/mattyh88/orgs","repos_url":"https://api.github.com/users/mattyh88/repos","events_url":"https://api.github.com/users/mattyh88/events{/privacy}","received_events_url":"https://api.github.com/users/mattyh88/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-20T13:55:46Z","updated_at":"2015-03-20T13:55:46Z","closed_at":null,"body":"I'm trying to fill a rich text editor field (TinyMCE) within my acceptance test.\r\n\r\nUsing the fillField() function doesn't work as this 'field' isn't really an input field. It's an iframe, styled to look like a fancy text area.\r\n\r\nMy question is, how can I set some text into the body of the tinyMCE box? I think I'm looking for the addition of a $I->setContent(xpathOrCSS) function. Or does something else already exists to do this?\r\n\r\nThanks."}}