Change name parameter to be an argument
Change name parameter to be an argument

Summary:
I think this is against a spec to have the **name** defined as a parameter in the API calls instead of an argument.
Closes https://github.com/facebook/WebDriverAgent/pull/566

Differential Revision: D4997174

Pulled By: marekcirkos

fbshipit-source-id: 3880b3e4364f8da9d8353a1b628a6a42ee94378e

ymin/WebDriverAgent,ymin/WebDriverAgent,ymin/WebDriverAgent,ymin/WebDriverAgent