Skip to content

Commit

Permalink
Fix type mismatch
Browse files Browse the repository at this point in the history
Signed-off-by: Kotaro Inoue <[email protected]>
  • Loading branch information
musaprg committed Jul 23, 2023
1 parent a31c9a9 commit 91b9edd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion librarejob/rarejob.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func NewClient(opts ClientOpts) (Client, error) {
}

urlPrefix := fmt.Sprintf("http://%s:%d/wd/hub", url, port)
caps := selenium.Capabilities{"browserName": browserName}
caps := selenium.Capabilities{"browserName": string(browserName)}
caps.SetLogLevel(log.Browser, log.All)

// Connect to the WebDriver instance running locally.
Expand Down

0 comments on commit 91b9edd

Please sign in to comment.