Skip to content

Instantly share code, notes, and snippets.

@seleniumgists
Created June 5, 2020 07:10
Show Gist options
  • Select an option

  • Save seleniumgists/f9067d869b98670015be3d51f6452890 to your computer and use it in GitHub Desktop.

Select an option

Save seleniumgists/f9067d869b98670015be3d51f6452890 to your computer and use it in GitHub Desktop.
generated automatically from #selenium on seleniumhq slack
{
"id": "3ccedcd1-ed2b-4419-be70-ad56c8bca497",
"version": "2.0",
"name": "lab",
"url": "https://us.yahoo.com",
"tests": [{
"id": "ca3dabd6-4f4d-4332-918e-c84af3da151b",
"name": "Untitled",
"commands": []
}, {
"id": "1b45e5d4-1c95-4609-a273-d2931d4dc35f",
"name": "test1",
"commands": [{
"id": "1541b267-d2a4-47ff-a053-63d746a8be7d",
"comment": "",
"command": "open",
"target": "/",
"targets": [],
"value": ""
}, {
"id": "56bc1cdf-bc3b-421e-aed0-53e0a05eb21b",
"comment": "",
"command": "setWindowSize",
"target": "1112x638",
"targets": [],
"value": ""
}, {
"id": "4ee35b5f-649f-41b9-bfd0-9ea0707ae30c",
"comment": "",
"command": "click",
"target": "linkText=News",
"targets": [
["linkText=News", "linkText"],
["css=.Mstart\\(21px\\):nth-child(3) > .C\\(\\#4d00ae\\)", "css:finder"],
["xpath=//a[contains(text(),'News')]", "xpath:link"],
["xpath=//ul[@id='header-nav-bar']/li[3]/a", "xpath:idRelative"],
["xpath=(//a[contains(@href, 'https://news.yahoo.com/')])[8]", "xpath:href"],
["xpath=//div[2]/div/div/div/div[2]/ul/li[3]/a", "xpath:position"],
["xpath=//a[contains(.,'News')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "ef8eafad-7dd9-47b7-993a-88039cedad1d",
"comment": "",
"command": "mouseOver",
"target": "linkText=News Home",
"targets": [
["linkText=News Home", "linkText"],
["css=.Lh\\(itemHeight_uhMagDesign\\)", "css:finder"],
["xpath=//a[contains(text(),'News Home')]", "xpath:link"],
["xpath=//div[@id='Nav-0-DesktopNav']/div/div/div/a", "xpath:idRelative"],
["xpath=(//a[contains(@href, '/')])[13]", "xpath:href"],
["xpath=//nav/div/div/div/div/div/a", "xpath:position"],
["xpath=//a[contains(.,'News Home')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "4b2eb78c-32ed-436d-bec7-d2f545d3264e",
"comment": "",
"command": "mouseOut",
"target": "linkText=News Home",
"targets": [
["linkText=News Home", "linkText"],
["css=.Lh\\(itemHeight_uhMagDesign\\)", "css:finder"],
["xpath=//a[contains(text(),'News Home')]", "xpath:link"],
["xpath=//div[@id='Nav-0-DesktopNav']/div/div/div/a", "xpath:idRelative"],
["xpath=(//a[contains(@href, '/')])[13]", "xpath:href"],
["xpath=//nav/div/div/div/div/div/a", "xpath:position"],
["xpath=//a[contains(.,'News Home')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "573364e9-3a70-42a2-b090-93ecdded5fa7",
"comment": "",
"command": "runScript",
"target": "window.scrollTo(0,300)",
"targets": [],
"value": ""
}, {
"id": "b7580ba9-7bd2-4961-abbe-ddb72bc1bfb6",
"comment": "",
"command": "runScript",
"target": "window.scrollTo(0,595)",
"targets": [],
"value": ""
}, {
"id": "a40ecf21-9d10-44bf-98b6-9fbea3645a97",
"comment": "",
"command": "runScript",
"target": "window.scrollTo(0,500)",
"targets": [],
"value": ""
}]
}, {
"id": "492be287-3c11-4a03-93cc-ca51f5574b73",
"name": "test2",
"commands": [{
"id": "4be781bb-8618-4e67-b0c3-22b1c1450c28",
"comment": "",
"command": "runScript",
"target": "window.scrollTo(0,900)",
"targets": [],
"value": ""
}]
}],
"suites": [{
"id": "5a6a6d0d-4511-42f5-8b8f-939c9d1bb71a",
"name": "Default Suite",
"persistSession": false,
"parallel": false,
"timeout": 300,
"tests": ["ca3dabd6-4f4d-4332-918e-c84af3da151b"]
}, {
"id": "3cc90f38-1b66-4687-ab6f-3f64312599fa",
"name": "suite1",
"persistSession": true,
"parallel": false,
"timeout": 300,
"tests": ["1b45e5d4-1c95-4609-a273-d2931d4dc35f", "492be287-3c11-4a03-93cc-ca51f5574b73"]
}],
"urls": ["https://us.yahoo.com/"],
"plugins": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment