Hello,
I am trying to make a flow to reach a website, enter user name and password, select an option from a drop down menu and then download the displayed table using selenium palletes.
I am not a programmer so know very little about how selenium works.
So far i have made the flow which goes to the website, enetrs username and password and logs in. Now i am stuck at the webpage where i need my flow to select an option from the drop down menu.
Below is my code:
[
{
"id": "61e47824.169a08",
"type": "open-web",
"z": "2084e4ba.5496ac",
"name": "TOC",
"browser": "chrome",
"weburl": "http://192.168.16.26/vpull/SupplierDispatchReport.aspx",
"width": 1024,
"height": 768,
"webtitle": "TOC",
"timeout": 3000,
"maximized": true,
"server": "fd3a9f6d.27b5e",
"x": 250,
"y": 460,
"wires": [
[
"2166da6d.c6e126"
]
]
},
{
"id": "71ab2714.609b48",
"type": "inject",
"z": "2084e4ba.5496ac",
"name": "",
"topic": "",
"payload": "",
"payloadType": "date",
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"x": 100,
"y": 460,
"wires": [
[
"61e47824.169a08"
]
]
},
{
"id": "ffaec5fb.3692d8",
"type": "debug",
"z": "2084e4ba.5496ac",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"targetType": "full",
"x": 650,
"y": 660,
"wires": []
},
{
"id": "2166da6d.c6e126",
"type": "set-value",
"z": "2084e4ba.5496ac",
"name": "User",
"text": "XXXXXX",
"selector": "id",
"target": "Login1_UserName",
"timeout": 1000,
"waitfor": 500,
"x": 370,
"y": 560,
"wires": [
[
"dbd2def6.82a6"
]
]
},
{
"id": "dbd2def6.82a6",
"type": "send-keys",
"z": "2084e4ba.5496ac",
"name": "pass",
"text": "XXXXXX",
"selector": "id",
"target": "Login1_Password",
"timeout": 1000,
"waitfor": 500,
"clearval": false,
"x": 490,
"y": 560,
"wires": [
[
"d9da314f.759d2"
]
]
},
{
"id": "d9da314f.759d2",
"type": "click-on",
"z": "2084e4ba.5496ac",
"name": "Login",
"selector": "id",
"target": "Login1_LoginButton",
"timeout": 1000,
"waitfor": 500,
"clickon": false,
"x": 170,
"y": 660,
"wires": [
[
"ba93ffff.912da"
]
]
},
{
"id": "ba93ffff.912da",
"type": "find-object",
"z": "2084e4ba.5496ac",
"name": "test",
"selector": "id",
"target": "ctl00_maincontent_ddlSupplierLoc",
"timeout": 1000,
"waitfor": 500,
"x": 350,
"y": 660,
"wires": [
[
"ffaec5fb.3692d8"
]
]
},
{
"id": "fd3a9f6d.27b5e",
"type": "selenium-server",
"z": "",
"remoteurl": "http://localhost:4444/wd/hub"
}
]
Cheers!!