Hi!
I need help with the “GetText” activity. The text I am trying to get is from the breadcrumbs from a e-commerce website. Sometimes there are 5 breadcrumbs, sometimes there are 6 breadcrumbs. But also sometimes the are no breadcrumbs, then I want to that row.
Please let me know how I could approach this.
#content > div > div.etc-pdp-grid > div:nth-child(2) > div > div.etc-product-header > nav > ol > li:nth-child(1)
#content > div > div.etc-pdp-grid > div:nth-child(2) > div > div.etc-product-header > nav > ol > li:nth-child(2)
#content > div > div.etc-pdp-grid > div:nth-child(2) > div > div.etc-product-header > nav > ol > li:nth-child(3)
As you can see the pattern is “li:nth-child(3)”.
My Workflow looks like this
- Use Google Spreadsheet
1.1 Read Range
1.2 Set Variable Value
1.3 For each row in Data Table
1.3.1 Read Row Item
1.3.2 Use Browser Chrome
1.3.2.1 Go To URL in sheet
1.3.2.2 Delay
1.3.2.3 Get Text ‘bc1’
1.3.2.4 Get text ‘bc2’
1.3.2.5 Get text ‘bc3’
1.3.2.6 Get Text ‘bc4’
1.3.2.7 Get text ‘bc5’
1.3.2.8 Get text ‘bc5’
1.3.3 Write Cell
1.3.4 Write cell
1.3.5 Write Cell
1.3.5 Write cell
1.3.6 Write cell
1.3.7 Write cell
1.3.8 Write Cell
Thank you!