typescript-selenium-example
typescript-selenium-example copied to clipboard
Example of Page Object with Selenium, Node.js and Typescript
TypeError: type is not a constructor 13 | get: function() { 14 | const promise = (this as any).browser.findElement(selector); > 15 | return new type(promise, selector); | ^ 16 |...
How to run this code in local
I have downloaded this item and extracted it. There are no instructions for running this. Have tried compiling with tsc, and it fails with dozens of errors.
Hello, there's a way to add cookies like in Selenium? with methods ``` Cookie cookie = new Cookie(name, token); _driver.manage().addCookie(cookie); ```
Hi. I am trying to run tests but I have got such errors: ``` npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! [email protected] tdd: `rm -rf dist &&...
When add setProtxy() some error show: this.driver = new Builder() .forBrowser(browserName) .setPorxy(proxy.shocks('')) .build(); Error show: Uncaught WebDriverError: unknown error: cannot parse capability: proxy from unknown error: proxyType is 'manual' but...