yarn add selen
npm i selen -D
selen.run() is an simple API which launch Browser. Both of
generator function and
normal function with prommise are supported.(Below example is written
const Selen = ;const selen =browserName: 'chrome';selen;
Originally, below things is required to be worked Selenium
So writable native Webdriver for NodeJS in function
The problem is that they are should to be passed as string like below.
this;// -> save screenshot into specified path
fs.writeFile' orfs.writeFileSync` by yourself to save screenshot image..
In the same way as native Webdriver, if you specify the service unique capability, then you can use these services.
They are awesome cloud testing services using real browsers and devices.