title: YUI Test: How to simulate more complicated user actions in JavaScript?
body: <p>I have a number of tests written with YUI Test. YUI Test capabilities when it comes to simulating users' actions are quite limited, or rather fairly low level. For instance, I can't easily simulate the user typing in a text field, with the events and modifications to DOM objects that go with it.</p>
  
  <p>This is something that Selenium does much better, but Selenium is ran in a different way. Is there code in Selenium or some other library that I could call to simulate users' actions, like "type this text in this button", and still keep my test as a YUI Test?</p>