Skip to content

Instantly share code, notes, and snippets.

@wpscholar
Created November 7, 2022 16:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wpscholar/d9ba048e92219831948e3457740705b2 to your computer and use it in GitHub Desktop.
Save wpscholar/d9ba048e92219831948e3457740705b2 to your computer and use it in GitHub Desktop.
A Chrome recording that can be downloaded and replayed in the browser.
{
"title": "Connect.tech Demo",
"steps": [
{
"type": "setViewport",
"width": 952,
"height": 976,
"deviceScaleFactor": 1,
"isMobile": false,
"hasTouch": false,
"isLandscape": false
},
{
"type": "navigate",
"url": "https://www.google.com/",
"assertedEvents": [
{
"type": "navigation",
"url": "https://www.google.com/",
"title": "Google"
}
]
},
{
"type": "click",
"target": "main",
"selectors": [
[
"aria/Search"
],
[
"body > div.L3eUgb > div.o3j99.ikrT4e.om7nvf > form > div:nth-child(1) > div.A8SBwf > div.RNNXgb > div > div.a4bIc > input"
]
],
"offsetY": 27.5,
"offsetX": 364
},
{
"type": "change",
"value": "seo",
"selectors": [
[
"aria/Search"
],
[
"body > div.L3eUgb > div.o3j99.ikrT4e.om7nvf > form > div:nth-child(1) > div.A8SBwf > div.RNNXgb > div > div.a4bIc > input"
]
],
"target": "main"
},
{
"type": "keyDown",
"target": "main",
"key": "Enter",
"assertedEvents": [
{
"type": "navigation",
"url": "https://www.google.com/search?q=seo&source=hp&ei=UzZpY8_zBf60qtsP6POt4Aw&iflsig=AJiK0e8AAAAAY2lEY0z-0TFjt98w75UOmfY278sOMESc&ved=0ahUKEwiP6bXJwpz7AhV-mmoFHeh5C8wQ4dUDCAo&uact=5&oq=seo&gs_lcp=Cgdnd3Mtd2l6EAMyEQguEIMBEK8BEMcBELEDEIAEMggIABCABBCxAzIICAAQgAQQsQMyCwguEIAEELEDENQCMgsILhDUAhCxAxCABDIFCAAQsQMyBQgAEIAEMgsILhCABBDHARCvATIICAAQsQMQgwEyCAguEIAEELEDOhEILhCPARCPARDqAhCMAxDlAjoRCAAQjwEQjwEQ6gIQjAMQ5QI6BwgAEIAEEAM6CwgAEIAEELEDEIMBOggILhCDARCxAzoICC4QsQMQgwE6EQguEIAEELEDEIMBEMcBENEDOg4ILhCxAxCDARDHARDRAzoLCC4QgwEQsQMQgAQ6CwguEIAEELEDEIMBOgsILhCxAxCDARDUAlCDBVjHB2DzC2gBcAB4AIABtQKIAcwEkgEHMS4wLjEuMZgBAKABAbABCg&sclient=gws-wiz",
"title": ""
}
]
},
{
"type": "keyUp",
"key": "Enter",
"target": "main"
},
{
"type": "click",
"target": "main",
"selectors": [
[
"aria/What Is SEO / Search Engine Optimization?"
],
[
"#rso > div:nth-child(5) > div > div > div.Z26q7c.UK95Uc.jGGQ5e > div > a > h3"
]
],
"offsetY": 18.328125,
"offsetX": 295,
"assertedEvents": [
{
"type": "navigation",
"url": "https://searchengineland.com/guide/what-is-seo",
"title": ""
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment