====== Array UserAgents ======
This is an array of elements in the structure of the [[en:help:externalsource:item|Item object]] or [[en:help:externalsource:|root element]]. Used to specify the [[http://en.wikipedia.org/wiki/User_agent]] while performing of the task.
===== Attributes =====
* May contain [[en:help:externalsource:external|Priority attribute]]
* May contain [[en:help:externalsource:priority|External attribute]]
* While performing of task, one of the elements is selected , according with value of the Priority attribute. If [[ru:help:externalsource:|external source]] contains no elements in the array UserAgents, then start page will be loaded with a random parameter of user-agent.
===== Structure =====
"UserAgents":[
{
"UserAgent":"",
"External":"",
"Priority":1
},
{
"UserAgent":"",
"External":"",
"Priority":1
},
...,
{
"UserAgent":"",
"External":"",
"Priority":1
}
]
===== Example =====
"Domains":[
{
"Domain":"waspace.net"
}
],
"Pages":[
{
"Page":"/about.html"
}
],
"UserAgents":[
{
"UserAgent":"Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_7; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.205 Safari/534.16"
}
]
The following actions will be performed:
- Installing user-agent of Google Chrome version 10.0.648.205 on Mac OS X
- Loading of the home page ''waspace.net/about.html''.
- Further task performance ...