1 | <?php |
||
12 | class ChromeDriver extends CompressedBinary implements DriverInterface |
||
13 | { |
||
14 | /** |
||
15 | * {@inheritdoc} |
||
16 | * |
||
17 | * @return string |
||
18 | */ |
||
19 | public function getName() |
||
23 | |||
24 | /** |
||
25 | * {@inheritdoc} |
||
26 | * |
||
27 | * @return string |
||
28 | */ |
||
29 | public function getFileName() |
||
48 | |||
49 | /** |
||
50 | * {@inheritdoc} |
||
51 | * |
||
52 | * @return string |
||
53 | */ |
||
54 | public function getUrl() |
||
59 | |||
60 | /** |
||
61 | * {@inheritdoc} |
||
62 | * |
||
63 | * @return string |
||
64 | */ |
||
65 | public function getOutputFileName() |
||
70 | |||
71 | /** |
||
72 | * Get the linux filename. |
||
73 | * |
||
74 | * @return string |
||
75 | */ |
||
76 | public function getLinuxFileName() |
||
85 | |||
86 | /** |
||
87 | * Remove old versions of the binary. |
||
88 | * |
||
89 | * @param $directory |
||
90 | * @return void |
||
91 | */ |
||
92 | protected function removeOldVersions($directory) |
||
99 | |||
100 | /** |
||
101 | * {@inheritdoc} |
||
102 | * |
||
103 | * @param string $directory |
||
104 | * @return string |
||
105 | */ |
||
106 | protected function getOldFilePattern($directory) |
||
110 | |||
111 | /** |
||
112 | * {@inheritdoc} |
||
113 | * |
||
114 | * @param string $directory |
||
115 | * @return string |
||
116 | */ |
||
117 | public function getDriverPath($directory) |
||
128 | |||
129 | /** |
||
130 | * {@inheritdoc} |
||
131 | * |
||
132 | * @return string |
||
133 | */ |
||
134 | public function getExtractedName() |
||
144 | } |
||
145 |