1. A method for representing user interaction with a web service comprising the steps of: acquiring a representation of the actions of a user performing a task with the web service; analysing the acquired actions to determine semantics and at least one variable describing the user actions; and representing the semantics and the at least one variable in at least one script file, the at least one script file supporting performance of user interaction with the web service based on the semantics and a value provided for the variable.