Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function openPicker(): HTMLInputElement {
const el = dl.query(By.css('nz-picker .ant-calendar-picker')).nativeElement as HTMLInputElement;
dispatchMouseEvent(el, 'click');
timeEnd();
return el;
}