Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
findOptionsList: async (element, ...args) => {
const content = await PopoverLocator.findContent(element, ...args)
return content ? OptionsLocator.find(content.getDOMNode()) : null
}
})
findCalendar: async (element, ...args) => {
const content = await PopoverLocator.findContent(element, ...args)
return content ? CalendarLocator.find(content.getDOMNode()) : null
}
})
findContent: (...args) => {
const { element, options } = parseQueryArguments(...args)
return PopoverLocator.findContent(element, '[role="tooltip"]', options)
}
}