Skip to content

Instantly share code, notes, and snippets.

@ikreymer
Last active April 9, 2025 08:25
Show Gist options
  • Select an option

  • Save ikreymer/ebcdb37a2981ce24cbcb3ed064473246 to your computer and use it in GitHub Desktop.

Select an option

Save ikreymer/ebcdb37a2981ce24cbcb3ed064473246 to your computer and use it in GitHub Desktop.
testing flow behaviors
{
"title": "Nueva Luz",
"steps": [
{
"type": "setViewport",
"width": 746,
"height": 707,
"deviceScaleFactor": 1,
"isMobile": false,
"hasTouch": false,
"isLandscape": false
},
{
"type": "navigate",
"url": "https://enfoco.org/nueva-luz-archive/",
"assertedEvents": [
{
"type": "navigation",
"url": "https://enfoco.org/nueva-luz-archive/",
"title": "Nueva Luz Archive | Enfoco.org"
}
]
},
{
"type": "click",
"target": "main",
"selectors": [
[
"aria/Volume 28, Issue 2[role=\"cell\"]",
"aria/[role=\"image\"]"
],
[
"tr:nth-of-type(1) > td:nth-of-type(1) img"
],
[
"xpath//html/body/div[1]/div[2]/div/div/div/div/table/tbody/tr[1]/td[1]/div/div[2]/a/img"
],
[
"pierce/tr:nth-of-type(1) > td:nth-of-type(1) img"
]
],
"offsetY": 37.726165771484375,
"offsetX": 67
},
{
"type": "click",
"target": "main",
"selectors": [
[
"div.fb3d-modal > span"
],
[
"xpath//html/body/div[5]/span"
],
[
"pierce/div.fb3d-modal > span"
]
],
"offsetY": 23,
"offsetX": 8.015625
},
{
"type": "click",
"target": "main",
"selectors": [
[
"aria/Volume 28, Issue 1[role=\"cell\"]",
"aria/[role=\"image\"]"
],
[
"tr:nth-of-type(1) > td:nth-of-type(2) img"
],
[
"xpath//html/body/div[1]/div[2]/div/div/div/div/table/tbody/tr[1]/td[2]/div/div[2]/a/img"
],
[
"pierce/tr:nth-of-type(1) > td:nth-of-type(2) img"
]
],
"offsetY": 107.40761041641235,
"offsetX": 134.1953125
},
{
"type": "click",
"target": "main",
"selectors": [
[
"div.fb3d-modal > span"
],
[
"xpath//html/body/div[5]/span"
],
[
"pierce/div.fb3d-modal > span"
]
],
"offsetY": 19,
"offsetX": 8.015625
},
{
"type": "click",
"target": "main",
"selectors": [
[
"aria/Volume 27, Issue 2[role=\"cell\"]",
"aria/[role=\"image\"]"
],
[
"tr:nth-of-type(1) > td:nth-of-type(3) img"
],
[
"xpath//html/body/div[1]/div[2]/div/div/div/div/table/tbody/tr[1]/td[3]/div/div[2]/a/img"
],
[
"pierce/tr:nth-of-type(1) > td:nth-of-type(3) img"
]
],
"offsetY": 103.26562356948853,
"offsetX": 119.3515625
},
{
"type": "click",
"target": "main",
"selectors": [
[
"div.fb3d-modal > span"
],
[
"xpath//html/body/div[5]/span"
],
[
"pierce/div.fb3d-modal > span"
]
],
"offsetY": 15,
"offsetX": 11.015625
},
{
"type": "click",
"target": "main",
"selectors": [
[
"aria/Volume 27, Issue 1[role=\"cell\"]",
"aria/[role=\"image\"]"
],
[
"tr:nth-of-type(1) > td:nth-of-type(4) img"
],
[
"xpath//html/body/div[1]/div[2]/div/div/div/div/table/tbody/tr[1]/td[4]/div/div[2]/a/img"
],
[
"pierce/tr:nth-of-type(1) > td:nth-of-type(4) img"
]
],
"offsetY": 119.5936598777771,
"offsetX": 112.4609375
},
{
"type": "click",
"target": "main",
"selectors": [
[
"div.fb3d-modal > span"
],
[
"xpath//html/body/div[5]/span"
],
[
"pierce/div.fb3d-modal > span"
]
],
"offsetY": 20,
"offsetX": 3.015625,
"duration": 883.5
},
{
"type": "click",
"target": "main",
"selectors": [
[
"aria/Volume 26, Issue 2[role=\"cell\"]",
"aria/[role=\"image\"]"
],
[
"tr:nth-of-type(1) > td:nth-of-type(5) img"
],
[
"xpath//html/body/div[1]/div[2]/div/div/div/div/table/tbody/tr[1]/td[5]/div/div[2]/a/img"
],
[
"pierce/tr:nth-of-type(1) > td:nth-of-type(5) img"
]
],
"offsetY": 92.71955633163452,
"offsetX": 126.828125
},
{
"type": "click",
"target": "main",
"selectors": [
[
"div.fb3d-modal > span"
],
[
"xpath//html/body/div[5]/span"
],
[
"pierce/div.fb3d-modal > span"
]
],
"offsetY": 20,
"offsetX": 10.015625
},
{
"type": "click",
"target": "main",
"selectors": [
[
"aria/Volume 26 Issue 1[role=\"cell\"]",
"aria/[role=\"image\"]"
],
[
"tr:nth-of-type(2) > td:nth-of-type(1) img"
],
[
"xpath//html/body/div[1]/div[2]/div/div/div/div/table/tbody/tr[2]/td[1]/div/div[2]/a/img"
],
[
"pierce/tr:nth-of-type(2) > td:nth-of-type(1) img"
]
],
"offsetY": 16.857147216796875,
"offsetX": 187.5
},
{
"type": "click",
"target": "main",
"selectors": [
[
"div.fb3d-modal > span"
],
[
"xpath//html/body/div[5]/span"
],
[
"pierce/div.fb3d-modal > span"
]
],
"offsetY": 14,
"offsetX": 14.015625
},
{
"type": "click",
"target": "main",
"selectors": [
[
"aria/Volume 25, Issue 2[role=\"cell\"]",
"aria/[role=\"image\"]"
],
[
"tr:nth-of-type(2) > td:nth-of-type(2) img"
],
[
"xpath//html/body/div[1]/div[2]/div/div/div/div/table/tbody/tr[2]/td[2]/div/div[2]/a/img"
],
[
"pierce/tr:nth-of-type(2) > td:nth-of-type(2) img"
]
],
"offsetY": 49.759521484375,
"offsetX": 148.1953125
},
{
"type": "click",
"target": "main",
"selectors": [
[
"div.fb3d-modal > span"
],
[
"xpath//html/body/div[5]/span"
],
[
"pierce/div.fb3d-modal > span"
]
],
"offsetY": 14,
"offsetX": 6.015625
},
{
"type": "click",
"target": "main",
"selectors": [
[
"aria/Volume 25, Issue 1[role=\"cell\"]",
"aria/[role=\"image\"]"
],
[
"tr:nth-of-type(2) > td:nth-of-type(3) img"
],
[
"xpath//html/body/div[1]/div[2]/div/div/div/div/table/tbody/tr[2]/td[3]/div/div[2]/a/img"
],
[
"pierce/tr:nth-of-type(2) > td:nth-of-type(3) img"
]
],
"offsetY": 37.494232177734375,
"offsetX": 134.3515625
},
{
"type": "click",
"target": "main",
"selectors": [
[
"div.fb3d-modal > span"
],
[
"xpath//html/body/div[5]/span"
],
[
"pierce/div.fb3d-modal > span"
]
],
"offsetY": 13,
"offsetX": 7.015625
},
{
"type": "click",
"target": "main",
"selectors": [
[
"aria/Volume 24, Issue 2[role=\"cell\"]",
"aria/[role=\"image\"]"
],
[
"tr:nth-of-type(2) > td:nth-of-type(4) img"
],
[
"xpath//html/body/div[1]/div[2]/div/div/div/div/table/tbody/tr[2]/td[4]/div/div[2]/a/img"
],
[
"pierce/tr:nth-of-type(2) > td:nth-of-type(4) img"
]
],
"offsetY": 54.827117919921875,
"offsetX": 110.4609375
},
{
"type": "click",
"target": "main",
"selectors": [
[
"div.fb3d-modal > span"
],
[
"xpath//html/body/div[5]/span"
],
[
"pierce/div.fb3d-modal > span"
]
],
"offsetY": 21,
"offsetX": 3.015625
},
{
"type": "click",
"target": "main",
"selectors": [
[
"aria/Volume 24, Issue 1[role=\"cell\"]",
"aria/[role=\"image\"]"
],
[
"tr:nth-of-type(2) > td:nth-of-type(5) img"
],
[
"xpath//html/body/div[1]/div[2]/div/div/div/div/table/tbody/tr[2]/td[5]/div/div[2]/a/img"
],
[
"pierce/tr:nth-of-type(2) > td:nth-of-type(5) img"
]
],
"offsetY": 45.94793701171875,
"offsetX": 103.828125
},
{
"type": "click",
"target": "main",
"selectors": [
[
"div.fb3d-modal > span"
],
[
"xpath//html/body/div[5]/span"
],
[
"pierce/div.fb3d-modal > span"
]
],
"offsetY": 13,
"offsetX": 10.015625
},
{
"type": "click",
"target": "main",
"selectors": [
[
"aria/Volume 23, Issue 2[role=\"cell\"]",
"aria/[role=\"image\"]"
],
[
"tr:nth-of-type(3) > td:nth-of-type(1) img"
],
[
"xpath//html/body/div[1]/div[2]/div/div/div/div/table/tbody/tr[3]/td[1]/div/div[2]/a/img"
],
[
"pierce/tr:nth-of-type(3) > td:nth-of-type(1) img"
]
],
"offsetY": 53.08660888671875,
"offsetX": 112.5
},
{
"type": "click",
"target": "main",
"selectors": [
[
"aria/",
"aria/[role=\"generic\"]"
],
[
"div > ul > li:nth-of-type(8) i"
],
[
"xpath//html/body/div/div[8]/div[3]/div/ul/li[8]/a/i"
],
[
"pierce/div > ul > li:nth-of-type(8) i"
]
],
"offsetY": 5,
"offsetX": 11.5,
"frame": [
0
]
},
{
"type": "click",
"target": "main",
"selectors": [
[
"aria/",
"aria/[role=\"generic\"]"
],
[
"div.next i"
],
[
"xpath//html/body/div/div[8]/div[2]/a/i"
],
[
"pierce/div.next i"
]
],
"offsetY": 25.5,
"offsetX": 10.578125,
"frame": [
0
]
},
{
"type": "click",
"target": "main",
"selectors": [
[
"aria/",
"aria/[role=\"generic\"]"
],
[
"div.next i"
],
[
"xpath//html/body/div/div[8]/div[2]/a/i"
],
[
"pierce/div.next i"
]
],
"offsetY": 25.5,
"offsetX": 10.578125,
"frame": [
0
]
},
{
"type": "click",
"target": "main",
"selectors": [
[
"aria/",
"aria/[role=\"generic\"]"
],
[
"div > ul > li:nth-of-type(8) i"
],
[
"xpath//html/body/div/div[8]/div[3]/div/ul/li[8]/a/i"
],
[
"pierce/div > ul > li:nth-of-type(8) i"
]
],
"offsetY": 2,
"offsetX": 10.5,
"frame": [
0
]
},
{
"type": "click",
"target": "main",
"selectors": [
[
"aria/",
"aria/[role=\"generic\"]"
],
[
"div > ul > li:nth-of-type(8) i"
],
[
"xpath//html/body/div/div[8]/div[3]/div/ul/li[8]/a/i"
],
[
"pierce/div > ul > li:nth-of-type(8) i"
]
],
"offsetY": 2,
"offsetX": 10.5,
"frame": [
0
]
},
{
"type": "click",
"target": "main",
"selectors": [
[
"aria/",
"aria/[role=\"generic\"]"
],
[
"div > ul > li:nth-of-type(8) i"
],
[
"xpath//html/body/div/div[8]/div[3]/div/ul/li[8]/a/i"
],
[
"pierce/div > ul > li:nth-of-type(8) i"
]
],
"offsetY": 2,
"offsetX": 10.5,
"frame": [
0
]
},
{
"type": "click",
"target": "main",
"selectors": [
[
"aria/",
"aria/[role=\"generic\"]"
],
[
"li.dropup > a > i"
],
[
"xpath//html/body/div/div[8]/div[3]/div/ul/li[12]/a/i"
],
[
"pierce/li.dropup > a > i"
]
],
"offsetY": 2,
"offsetX": 8.5,
"frame": [
0
]
},
{
"type": "click",
"target": "main",
"selectors": [
[
"aria/ Goto last page"
],
[
"li.dropup li:nth-of-type(9) > a"
],
[
"xpath//html/body/div/div[8]/div[3]/div/ul/li[12]/ul/li[9]/a"
],
[
"pierce/li.dropup li:nth-of-type(9) > a"
],
[
"text/Goto last page"
]
],
"offsetY": 9,
"offsetX": 109.5,
"frame": [
0
]
},
{
"type": "click",
"target": "main",
"selectors": [
[
"div.fb3d-modal > span"
],
[
"xpath//html/body/div[5]/span"
],
[
"pierce/div.fb3d-modal > span"
]
],
"offsetY": 17,
"offsetX": 10.015625,
"duration": 550.2000007629395
},
{
"type": "click",
"target": "main",
"selectors": [
[
"aria/Volume 23, Issue 1[role=\"cell\"]",
"aria/[role=\"image\"]"
],
[
"tr:nth-of-type(3) > td:nth-of-type(2) img"
],
[
"xpath//html/body/div[1]/div[2]/div/div/div/div/table/tbody/tr[3]/td[2]/div/div[2]/a/img"
],
[
"pierce/tr:nth-of-type(3) > td:nth-of-type(2) img"
]
],
"offsetY": 140.08816528320312,
"offsetX": 96.1953125
},
{
"type": "click",
"target": "main",
"selectors": [
[
"div.fb3d-modal > span"
],
[
"xpath//html/body/div[5]/span"
],
[
"pierce/div.fb3d-modal > span"
]
],
"offsetY": 16,
"offsetX": 10.015625,
"duration": 633.3000001907349
},
{
"type": "click",
"target": "main",
"selectors": [
[
"aria/Volume 22, Issue 2[role=\"cell\"]",
"aria/[role=\"image\"]"
],
[
"tr:nth-of-type(3) > td:nth-of-type(3) img"
],
[
"xpath//html/body/div[1]/div[2]/div/div/div/div/table/tbody/tr[3]/td[3]/div/div[2]/a/img"
],
[
"pierce/tr:nth-of-type(3) > td:nth-of-type(3) img"
]
],
"offsetY": 106.76158142089844,
"offsetX": 140.3515625
},
{
"type": "click",
"target": "main",
"selectors": [
[
"div.fb3d-modal > span"
],
[
"xpath//html/body/div[5]/span"
],
[
"pierce/div.fb3d-modal > span"
]
],
"offsetY": 13,
"offsetX": 6.015625
},
{
"type": "click",
"target": "main",
"selectors": [
[
"aria/Volume 22, Issue 1[role=\"cell\"]",
"aria/[role=\"image\"]"
],
[
"tr:nth-of-type(3) > td:nth-of-type(4) img"
],
[
"xpath//html/body/div[1]/div[2]/div/div/div/div/table/tbody/tr[3]/td[4]/div/div[2]/a/img"
],
[
"pierce/tr:nth-of-type(3) > td:nth-of-type(4) img"
]
],
"offsetY": 86.29823303222656,
"offsetX": 129.4609375
},
{
"type": "click",
"target": "main",
"selectors": [
[
"div.fb3d-modal > span"
],
[
"xpath//html/body/div[5]/span"
],
[
"pierce/div.fb3d-modal > span"
]
],
"offsetY": 14,
"offsetX": 7.015625
},
{
"type": "click",
"target": "main",
"selectors": [
[
"aria/Volume 21, Issue 2[role=\"cell\"]",
"aria/[role=\"image\"]"
],
[
"tr:nth-of-type(3) > td:nth-of-type(5) img"
],
[
"xpath//html/body/div[1]/div[2]/div/div/div/div/table/tbody/tr[3]/td[5]/div/div[2]/a/img"
],
[
"pierce/tr:nth-of-type(3) > td:nth-of-type(5) img"
]
],
"offsetY": 146.09033203125,
"offsetX": 78.828125
},
{
"type": "click",
"target": "main",
"selectors": [
[
"div.fb3d-modal > span"
],
[
"xpath//html/body/div[5]/span"
],
[
"pierce/div.fb3d-modal > span"
]
],
"offsetY": 22,
"offsetX": 8.015625
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment