![Error: Promise was rejected with the following reason: selector needs to be typeof `string` · Issue #2482 · webdriverio/webdriverio · GitHub Error: Promise was rejected with the following reason: selector needs to be typeof `string` · Issue #2482 · webdriverio/webdriverio · GitHub](https://user-images.githubusercontent.com/10914859/33305729-dc985f72-d441-11e7-8703-2a8a77d232e6.png)
Error: Promise was rejected with the following reason: selector needs to be typeof `string` · Issue #2482 · webdriverio/webdriverio · GitHub
![javascript - What is the difference between typeof and instanceof and when should one be used vs. the other? - Stack Overflow javascript - What is the difference between typeof and instanceof and when should one be used vs. the other? - Stack Overflow](https://i.stack.imgur.com/pe9Ci.png)
javascript - What is the difference between typeof and instanceof and when should one be used vs. the other? - Stack Overflow
![Understanding the TypeScript's type system and some must-know concepts | by Uday Hiwarale | JsPoint | Medium Understanding the TypeScript's type system and some must-know concepts | by Uday Hiwarale | JsPoint | Medium](https://miro.medium.com/max/1200/1*vg19XtTTxYPjzayNwfgqCQ.png)
Understanding the TypeScript's type system and some must-know concepts | by Uday Hiwarale | JsPoint | Medium
![Building RESTful Web APIs with Node.js, Express, MongoDB and TypeScript — Part 3 | by Dale Nguyen | ITNEXT Building RESTful Web APIs with Node.js, Express, MongoDB and TypeScript — Part 3 | by Dale Nguyen | ITNEXT](https://miro.medium.com/max/600/1*851XUx3o4XZaT-CC7MFkzw.png)