Faced with a problem, element.click() event doesn't work in Safari browser.
Tried various tricks like emulating touch event through a function:
Code:
let clickEvent = new Event('click', {
bubbles: true,
cancelable: true,
view: window
});
Added a style to all clickable elements:...