Find First level children elements of an XPath

I wanted to find the list of first level children and their XPaths

I know how to get the test object

//div_groups XPath = /*[@id="tab-content-15"]/div/editor-form/form/div[2]/div/dnd-nodrag/div[2]*/TestObject groups = findTestObject('div_groups') //Get list of first level children with div tag. But how?

How do I find them?