Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/webdriver/src/request/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ export default abstract class WebDriverRequest extends EventEmitter {
log.info('DATA', transformCommandLogResult(fullRequestOptions.json))
}

const { url, ...requestLibOptions } = fullRequestOptions
const { url, retry: _, ...requestLibOptions } = fullRequestOptions
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This addition excludes "retry" property from "requestLibOptions", so that "retry" doesn't get passed into "got", which removes "got" retries

const startTime = this._libPerformanceNow()
let response = await this._libRequest(url!, requestLibOptions)
.catch((err: RequestLibError) => err)
Expand Down
Loading