diff --git a/src/RunsOnBrowserStack.php b/src/RunsOnBrowserStack.php index 99eeede..b881a9d 100644 --- a/src/RunsOnBrowserStack.php +++ b/src/RunsOnBrowserStack.php @@ -177,17 +177,16 @@ protected function capabilitiesForBrowserStack(): array if (! isset(static::$capabilities[$slug])) { static::$capabilities[$slug] = array_merge( - [ - 'project' => $this->getProjectName(), - 'build' => $this->getBuildName(), - 'name' => $this->getSessionName(), - ], Arr::dot(config('browserstack.capabilities')), $this->browserCapabilities() ); } - return static::$capabilities[$slug]; + return array_merge(static::$capabilities[$slug], [ + 'project' => $this->getProjectName(), + 'build' => $this->getBuildName(), + 'name' => $this->getSessionName(), + ]); } /**