mirror of
https://git.tuxpa.in/a/code-server.git
synced 2025-01-02 15:28:45 +00:00
Standardize on endpoint vs path
This commit is contained in:
parent
2dad878fcc
commit
ee850b5bca
@ -205,8 +205,8 @@ export class CodeServerPage {
|
||||
/**
|
||||
* Navigate to a code-server endpoint. By default go to the root.
|
||||
*/
|
||||
async navigate(path = "/") {
|
||||
const to = new URL(path, await this.codeServer.address())
|
||||
async navigate(endpoint = "/") {
|
||||
const to = new URL(endpoint, await this.codeServer.address())
|
||||
await this.page.goto(to.toString(), { waitUntil: "networkidle" })
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user