We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 556282e commit ed0010fCopy full SHA for ed0010f
run.go
@@ -276,7 +276,11 @@ func Run(options ...*RunOptions) (*Playwright, error) {
276
}
277
up2date, err := driver.isUpToDateDriver()
278
if err != nil || !up2date {
279
- return nil, fmt.Errorf("please install the driver (v%s) first: %w", playwrightCliVersion, err)
+ ferr := fmt.Errorf("please install the driver (v%s) first", playwrightCliVersion)
280
+ if err != nil {
281
+ ferr = fmt.Errorf("%w: %w", ferr, err)
282
+ }
283
+ return nil, ferr
284
285
connection, err := driver.run()
286
if err != nil {
0 commit comments