I think the point of the post here is that it errors out.
[].empty(); does not produce an error new HtmlTable().empty(); Uncaught TypeError: Cannot call method 'isDisplayed' of undefined
I think the point of the post here is that it errors out.
[].empty(); does not produce an error new HtmlTable().empty(); Uncaught TypeError: Cannot call method 'isDisplayed' of undefined