Hi I am trying to save a price from an exchange website it is a dynamic price that updates every few seconds. I tried storetext but get this “” I can see the number after the wording “resPricePerFromToken:” using java script inspector.
‘v2 [SWAP] rawBrief update {resAmount: 62.978488, resPricePerToToken: 0.01587843772940373, resPricePerFromToken: 62.97848799999999, priceImpact: 0.0023999999999999577, useSource: ‘dodoV2Wasm’, …} {fromToken: {…}, toToken: {…}, amount: ‘1000000000000000000’, slippage: 3, assetTo: ‘0xE36D4f3eCc9A48aEae8a0cC3E4216b3BB3f33d9c’, …}’
“Name”: “confirm”,
“CreationDate”: “2022-3-26”,
“Commands”: [
{
“Command”: “open”,
“Target”: “DODO - Decentralized Trading Protocol for Web3”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “click”,
“Target”: “xpath=//[@id="root"]/div/div/main",
“Value”: “”,
“Targets”: [
"xpath=//[@id="root"]/div/div/main”,
“xpath=//main”,
“css=#root > div.sc-hKwDye.bssaN.MuiBox-root > div > main”
],
“Description”: “”
},
{
“Command”: “click”,
“Target”: “xpath=//[@id="root"]/div/div/main/div/div[2]/div[4]/div/form/div/input",
“Value”: “”,
“Targets”: [
"xpath=//[@id="root"]/div/div/main/div/div[2]/div[4]/div/form/div/input”,
“xpath=//input[@value=‘’]”,
“xpath=//form/div/input”,
“css=#root > div.sc-hKwDye.bssaN.MuiBox-root > div > main > div > div.sc-hKwDye.ehEHVi.MuiBox-root > div:nth-child(4) > div > form > div > input”
],
“Description”: “”
},
{
“Command”: “type”,
“Target”: “xpath=//[@id="root"]/div/div/main/div/div[2]/div[4]/div/form/div/input",
“Value”: “1”,
“Targets”: [
"xpath=//[@id="root"]/div/div/main/div/div[2]/div[4]/div/form/div/input”,
“xpath=//input[@value=‘1’]”,
“xpath=//form/div/input”,
“css=#root > div.sc-hKwDye.bssaN.MuiBox-root > div > main > div > div.sc-hKwDye.ehEHVi.MuiBox-root > div:nth-child(4) > div > form > div > input”
],
“Description”: “”
},
{
“Command”: “storeText”,
“Target”: “xpath=//*[@id="root"]/div/div/main/div/div[2]/div[5]/div/form/div/input”,
“Value”: “result”,
“Description”: “”
}
]
}
Link to photo. https://dev.ilien.io/wp-content/uploads/2022/03/Screenshot-2022-03-26-at-03.11.09.png New to this so sorry if its a simple fix