fix: pass full grid url to agent (#13438)

This commit is contained in:
Yury Semikhatsky 2022-04-08 14:15:38 -07:00 committed by GitHub
parent 916dd1e698
commit 212c665152
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -332,7 +332,7 @@ export class GridServer {
const initPromise = Promise.resolve()
.then(() => this._factory.launch({
agentId: agent.agentId,
gridURL: this._server.urlPrefix(),
gridURL: this.urlPrefix(),
playwrightVersion: getPlaywrightVersion(),
})).then(() => {
this._log('created');