* {{> dontSeeCurrentPathEquals }}
(path)
| 1875 | * {{> dontSeeCurrentPathEquals }} |
| 1876 | */ |
| 1877 | async dontSeeCurrentPathEquals(path) { |
| 1878 | const currentUrl = await this.browser.getUrl() |
| 1879 | const baseUrl = this.options.url || 'http://localhost' |
| 1880 | const actualPath = new URL(currentUrl, baseUrl).pathname |
| 1881 | return equals('url path').negate(normalizePath(path), normalizePath(actualPath)) |
| 1882 | } |
| 1883 | |
| 1884 | /** |
| 1885 | * Wraps [execute](http://webdriver.io/api/protocol/execute.html) command. |
nothing calls this directly
no test coverage detected