Рекордер действий devtool такие записал в json параметры:
"title": "Recording 24.04.2025 at 10:31:43",
"steps": [
{
"type": "setViewport",
"width": 360,
"height": 676,
"deviceScaleFactor": 1,
"isMobile": false,
"hasTouch": false,
"isLandscape": false
},
{
"type": "navigate",
"url": "data:text/plain,",
"assertedEvents": [
{
"type": "navigation",
"url": "data:text/plain,",
"title": ""
}
]
},
{
"type": "navigate",
"url": "https://ya.ru/",
"assertedEvents": [
{
"type": "navigation",
"url": "https://ya.ru/",
"title": ""
}
]
},
{
"type": "click",
"target": "main",
"selectors": [
[
"aria/Allow all"
],
[
"#gdpr-popup-v3-button-all"
],
[
"xpath///[@id="gdpr-popup-v3-button-all"]"
],
[
"pierce/#gdpr-popup-v3-button-all"
],
[
"text/Allow all"
]
],
"offsetY": 15.296875,
"offsetX": 186.671875,
"deviceType": "touch"
},
{
"type": "click",
"target": "main",
"selectors": [
[
"div.mini-suggest__row > label"
],
[
"xpath//html/body/div[1]/div/form/div[1]/label"
],
[
"pierce/div.mini-suggest__row > label"
],
[
"text/Найдётся всё"
]
],
"offsetY": 27,
"offsetX": 148,
"deviceType": "touch"
},
{
"type": "change",
"value": "ufpj,tnjy jgn",
"selectors": [
[
"aria/Запрос"
],
[
"#text"
],
[
"xpath///[@id="text"]"
],
[
"pierce/#text"
]
],
"target": "main"
},
{
"type": "keyUp",
"key": "Unidentified",
"target": "main"
},
{
"type": "change",
"value": "ufpj,tnjy jgnjv",
"selectors": [
[
"aria/Запрос"
],
[
"#text"
],
[
"xpath///*[@id="text"]"
],
[
"pierce/#text"
]
],
"target": "main"
},
{
"type": "keyDown",
"target": "main",
"key": "Enter"
},
{
"type": "keyUp",
"key": "Enter",
"target": "main"
},
{
"type": "navigate",
"url": "https://ya.ru/search/touch/?text=ufpj%2Ctnjy+jgnjv&msid=1745479945103235-15327469663373919962-balancer-l7leveler-kubr-yp-sas-107-BAL&lr=10466&mda=0&search_source=yaru_touch_common&search_domain=yaru&suggest_reqid=494142910174547994499412387464183",
"assertedEvents": [
{
"type": "navigation",
"url": "https://ya.ru/search/touch/?text=ufpj%2Ctnjy+jgnjv&msid=1745479945103235-15327469663373919962-balancer-l7leveler-kubr-yp-sas-107-BAL&lr=10466&mda=0&search_source=yaru_touch_common&search_domain=yaru&suggest_reqid=494142910174547994499412387464183",
"title": ""
}
]
}
]
}