i started using selenuim, node js
it was working all perfect so far, sudenly the same script is throwing and error
\"unhandled promise rejection warning element
The problem: While running the automation, the window size is is not fully presented on screen so some elements are rendered outside of the visible area in your configured chrome web driver.
The solution would be using this snippet in your base configuration:
browser.driver.manage().window().maximize();