Scrape Sub Menu from Main Menu

I hope someone can help. It a restrictive website so i will make a menu to show what i wish help with.

Heading1

  • Subcategory1
  • Subcategory2
  • Subcategory3
  • Subcategory4
    SubSubCategory1
    SubSubCategory2

Heading2

Heading3

This is a expandable menu using javascript i believe.

I am able to scrape Heading1, Heading2, Heading3

I wish to loop through each heading and scrape Subcategory and SubSubCategory.

How can i do this please?

1 Like

can u share the url??

Unfortunately i cannot. Its a private website. Homepage is a simple login/password.

After logging in the website opens properly with category side menu

1 Like

Hey @CGhoST

Kindly use Find Children activity which will do the job.

Thanks
#nK

I was thinking Find Child activity. I just dont know how to use it :frowning:

1 Like

Hey @CGhoST

Using Find Children just indicate the parent container which holds the menu.

Then just indicate the child menu item using UI Explorer to check the selector, once the selector is identified just use the selector with only tag property in the Find Children activity Filter

This will result in all the drop-down UiElements from which you can just loop through and get text which gives all the items.

Hope this helps.

Thanks
#nK

@Nithinkrishna

Thank you so much for the information. I can finally get the elements.

Appreciate it.

1 Like

Cool @CGhoST :innocent::+1:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.