* Returns a predicate function that will suppress tests in this environment * when it runs them through a Selenium server (such as a Grid) rather than a * browser driver started locally. * * ignore(env.remote()).it('reads a browser preference', ...) * * @return {function(): boo
()
| 305 | * @return {function(): boolean} a new predicate function. |
| 306 | */ |
| 307 | remote() { |
| 308 | return () => URL_MAP.get(this) !== null |
| 309 | } |
| 310 | |
| 311 | /** |
| 312 | * @return {!Builder} a new WebDriver builder configured to target this |
no test coverage detected