Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
findPopoverContent: (...args) => {
const { element, selector, options } = parseQueryArguments(...args)
return PopoverLocator.findContent(element, selector, {
...options,
customMethods: {
...options.customMethods,
...customMethods
}
})
}
}
findDatePicker: async (element, ...args) => {
const content = await PopoverLocator.findContent(element)
return content ? DatePickerLocator.find(content.getDOMNode()) : null
}
})