Open
Description
There is unable to extend classes
var robot = require('robot-js');
class Window extends robot.Window {
constructor(hwnd) {
super(hwnd);
this.newProperty = 'hello';
}
newFeature(){}
}
var wnd = new Window();
wnd.newProperty; // 'hello' !!! this is weird
wnd.newFeature(); // TypeError: newFeature in not a function
wnd instanceof Window // false
wnd instanceof robot.Window // true
:(