-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathchromedriver-compatibility-matrix.php
executable file
·100 lines (100 loc) · 2.69 KB
/
chromedriver-compatibility-matrix.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<?php
$compatibility = [
'105.0.5195.19' => '105',
'104.0.5112.79' => '104',
'104.0.5112.29' => '104',
'104.0.5112.20' => '104',
'103.0.5060.134' => '103',
'103.0.5060.53' => '103',
'103.0.5060.24' => '103',
'102.0.5005.61' => '102',
'102.0.5005.27' => '102',
'101.0.4951.41' => '101',
'101.0.4951.15' => '101',
'100.0.4896.60' => '100',
'100.0.4896.20' => '100',
'99.0.4844.51' => '99',
'99.0.4844.35' => '99',
'99.0.4844.17' => '99',
'98.0.4758.102' => '98',
'98.0.4758.80' => '98',
'98.0.4758.48' => '98',
'97.0.4692.71' => '97',
'97.0.4692.36' => '97',
'97.0.4692.20' => '97',
'96.0.4664.45' => '96',
'96.0.4664.35' => '96',
'96.0.4664.18' => '96',
'95.0.4638.17' => '95',
'95.0.4638.10' => '95',
'94.0.4606.61' => '94',
'94.0.4606.41' => '94',
'93.0.4577.63' => '93',
'93.0.4577.15' => '93',
'92.0.4515.107' => '92',
'92.0.4515.43' => '92',
'91.0.4472.101' => '91',
'90.0.4430.24' => '90',
'89.0.4389.23' => '89',
'88.0.4324.96' => '88',
'88.0.4324.27' => '88',
'87.0.4280.88' => '87',
'87.0.4280.20' => '87',
'86.0.4240.22' => '86',
'85.0.4183.87' => '85',
'85.0.4183.83' => '85',
'85.0.4183.38' => '85',
'84.0.4147.30' => '84',
'83.0.4103.39' => '83',
'83.0.4103.14' => '83',
'81.0.4044.138' => '81',
'81.0.4044.69' => '81',
'81.0.4044.20' => '81',
'80.0.3987.106' => '80',
'80.0.3987.16' => '80',
'79.0.3945.36' => '79',
'79.0.3945.16' => '79',
'78.0.3904.105' => '78',
'78.0.3904.70' => '78',
'78.0.3904.11' => '78',
'77.0.3865.40' => '77',
'77.0.3865.10' => '77',
'76.0.3809.126' => '76',
'76.0.3809.68' => '76',
'76.0.3809.25' => '76',
'76.0.3809.12' => '76',
'75.0.3770.140' => '75',
'75.0.3770.90' => '75',
'75.0.3770.8' => '75',
'74.0.3729.6' => '74',
'73.0.3683.68' => '73',
'73.0.3683.20' => '73',
'2.46' => '71-73',
'2.45' => '70-72',
'2.44' => '69-71',
'2.43' => '69-71',
'2.42' => '68-70',
'2.41' => '67-69',
'2.40' => '66-68',
'2.39' => '66-68',
'2.38' => '65-67',
'2.37' => '64-66',
'2.36' => '63-65',
'2.35' => '62-64',
'2.34' => '61-63',
'2.33' => '60-62'
];
$compatibilityMatrix = [];
foreach ($compatibility as $driver => $chrome) {
$chromeversions_temp = explode('-',$chrome);
if (count($chromeversions_temp)>1) {
$beginning = $chromeversions_temp[0];
$end = $chromeversions_temp[1];
} else {
$beginning = $chrome;
$end = $chrome;
}
for ($i=$beginning; $i<=$end ; $i++){
array_push($compatibilityMatrix, [$driver, intval($i)]);
}
}