* Sets a list of the window types that will appear when getting window * handles. For access to elements, include "webview" in the list. * @param {...(string|!Array )} args The window types that will appear * when getting window handles. * @return {!Options} A self refer
(...args)
| 542 | * @return {!Options} A self reference. |
| 543 | */ |
| 544 | windowTypes(...args) { |
| 545 | let windowTypes = (this.options_.windowTypes || []).concat(...args) |
| 546 | if (windowTypes.length) { |
| 547 | this.options_.windowTypes = windowTypes |
| 548 | } |
| 549 | return this |
| 550 | } |
| 551 | |
| 552 | /** |
| 553 | * Enable bidi connection |
no test coverage detected