WebDriverFactory   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
c 0
b 0
f 0
lcom 0
cbo 1
dl 0
loc 15
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A create() 0 10 1
1
<?php
2
3
4
namespace Magium\WebDriver;
5
6
class WebDriverFactory
7
{
8
9
    public static function create(
10
        $url = 'http://localhost:4444/wd/hub',
11
        $desired_capabilities = null,
12
        $connection_timeout_in_ms = null,
13
        $request_timeout_in_ms = null,
14
        $http_proxy = null,
15
        $http_proxy_port = null
16
    ) {
17
        return WebDriver::create($url, $desired_capabilities, $connection_timeout_in_ms, $request_timeout_in_ms, $http_proxy, $http_proxy_port);
18
    }
19
20
}