Skip to content

Commit e99e90e

Browse files
committed
Fix W3C WebDriver API detection for IE.
1 parent e3f3d75 commit e99e90e

File tree

2 files changed

+23
-25
lines changed

2 files changed

+23
-25
lines changed

docs/api.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -37521,7 +37521,7 @@
3752137521
"sources": [
3752237522
{
3752337523
"fileName": "lib/webDriverConfig.ts",
37524-
"line": 263,
37524+
"line": 261,
3752537525
"character": 63
3752637526
}
3752737527
],
@@ -37572,7 +37572,7 @@
3757237572
"sources": [
3757337573
{
3757437574
"fileName": "lib/webDriverConfig.ts",
37575-
"line": 261,
37575+
"line": 259,
3757637576
"character": 29
3757737577
}
3757837578
],
@@ -37599,7 +37599,7 @@
3759937599
"sources": [
3760037600
{
3760137601
"fileName": "lib/webDriverConfig.ts",
37602-
"line": 260,
37602+
"line": 258,
3760337603
"character": 22
3760437604
}
3760537605
],
@@ -37692,7 +37692,7 @@
3769237692
"sources": [
3769337693
{
3769437694
"fileName": "lib/webDriverConfig.ts",
37695-
"line": 306,
37695+
"line": 304,
3769637696
"character": 16
3769737697
}
3769837698
],
@@ -37776,7 +37776,7 @@
3777637776
"sources": [
3777737777
{
3777837778
"fileName": "lib/webDriverConfig.ts",
37779-
"line": 290,
37779+
"line": 288,
3778037780
"character": 9
3778137781
}
3778237782
],
@@ -37849,7 +37849,7 @@
3784937849
"sources": [
3785037850
{
3785137851
"fileName": "lib/webDriverConfig.ts",
37852-
"line": 310,
37852+
"line": 308,
3785337853
"character": 21
3785437854
}
3785537855
],
@@ -37898,7 +37898,7 @@
3789837898
"sources": [
3789937899
{
3790037900
"fileName": "lib/webDriverConfig.ts",
37901-
"line": 257,
37901+
"line": 255,
3790237902
"character": 29
3790337903
}
3790437904
],
@@ -38459,7 +38459,7 @@
3845938459
"sources": [
3846038460
{
3846138461
"fileName": "lib/webDriverConfig.ts",
38462-
"line": 327,
38462+
"line": 325,
3846338463
"character": 37
3846438464
}
3846538465
],
@@ -38510,7 +38510,7 @@
3851038510
"sources": [
3851138511
{
3851238512
"fileName": "lib/webDriverConfig.ts",
38513-
"line": 327,
38513+
"line": 325,
3851438514
"character": 28
3851538515
}
3851638516
],
@@ -38537,7 +38537,7 @@
3853738537
"sources": [
3853838538
{
3853938539
"fileName": "lib/webDriverConfig.ts",
38540-
"line": 326,
38540+
"line": 324,
3854138541
"character": 22
3854238542
}
3854338543
],
@@ -38583,7 +38583,7 @@
3858338583
"sources": [
3858438584
{
3858538585
"fileName": "lib/webDriverConfig.ts",
38586-
"line": 348,
38586+
"line": 346,
3858738587
"character": 14
3858838588
}
3858938589
]
@@ -38709,7 +38709,7 @@
3870938709
"sources": [
3871038710
{
3871138711
"fileName": "lib/webDriverConfig.ts",
38712-
"line": 354,
38712+
"line": 352,
3871338713
"character": 9
3871438714
}
3871538715
],
@@ -38782,7 +38782,7 @@
3878238782
"sources": [
3878338783
{
3878438784
"fileName": "lib/webDriverConfig.ts",
38785-
"line": 364,
38785+
"line": 359,
3878638786
"character": 21
3878738787
}
3878838788
],
@@ -38831,7 +38831,7 @@
3883138831
"sources": [
3883238832
{
3883338833
"fileName": "lib/webDriverConfig.ts",
38834-
"line": 323,
38834+
"line": 321,
3883538835
"character": 35
3883638836
}
3883738837
],
@@ -39170,7 +39170,7 @@
3917039170
"sources": [
3917139171
{
3917239172
"fileName": "lib/webDriverConfig.ts",
39173-
"line": 241,
39173+
"line": 239,
3917439174
"character": 21
3917539175
}
3917639176
],
@@ -39715,7 +39715,7 @@
3971539715
"sources": [
3971639716
{
3971739717
"fileName": "lib/webDriverConfig.ts",
39718-
"line": 254,
39718+
"line": 252,
3971939719
"character": 15
3972039720
}
3972139721
],
@@ -39788,7 +39788,7 @@
3978839788
"sources": [
3978939789
{
3979039790
"fileName": "lib/webDriverConfig.ts",
39791-
"line": 253,
39791+
"line": 251,
3979239792
"character": 40
3979339793
}
3979439794
],
@@ -40579,9 +40579,9 @@
4057940579
],
4058040580
"type": {
4058140581
"type": "stringLiteral",
40582-
"value": "3.141.0"
40582+
"value": "3.14.0"
4058340583
},
40584-
"defaultValue": "\"3.141.0\""
40584+
"defaultValue": "\"3.14.0\""
4058540585
},
4058640586
{
4058740587
"id": 1328,
@@ -40618,7 +40618,7 @@
4061840618
"sources": [
4061940619
{
4062040620
"fileName": "lib/webDriverConfig.ts",
40621-
"line": 377,
40621+
"line": 371,
4062240622
"character": 34
4062340623
}
4062440624
],
@@ -40673,7 +40673,7 @@
4067340673
"sources": [
4067440674
{
4067540675
"fileName": "lib/webDriverConfig.ts",
40676-
"line": 377,
40676+
"line": 371,
4067740677
"character": 35
4067840678
}
4067940679
]

src/lib/webDriverConfig.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,7 @@ export class SafariDriverConfig
223223
Object.assign(
224224
{
225225
arch: process.arch,
226-
baseUrl: 'https://github.com/mozilla/geckodriver/releases/download',
227-
platform: process.platform,
228-
version: FirefoxVersion
226+
platform: process.platform
229227
},
230228
config
231229
)
@@ -342,7 +340,7 @@ export class InternetExplorerConfig
342340
this.name = INTERNET_EXPLORER;
343341
this.executable = 'IEDriverServer.exe';
344342
// Download only when the platform is Windows.
345-
config.noDownload = process.platform !== 'win32';
343+
this.config.noDownload = process.platform !== 'win32';
346344
}
347345

348346
get artifact() {

0 commit comments

Comments
 (0)