createCookie ( nameValuePair,optionsString )
Создайте новый файл cookie, путь и домен которого совпадают с таковыми для текущей тестируемой страницы, если только вы явно не указали путь для этого файла cookie.
Arguments:
nameValuePair - name and value of the cookie in a format "name=value"
optionsString - options for the cookie. Currently supported options include 'path' and 'max_age'. the optionsString's format is "path=/path/, max_age=60". The order of options are irrelevant, the unit of the value of 'max_age' is second.