File tree 1 file changed +2
-0
lines changed
java/client/src/org/openqa/selenium/htmlunit
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 34
34
import com .gargoylesoftware .htmlunit .StringWebResponse ;
35
35
import com .gargoylesoftware .htmlunit .TopLevelWindow ;
36
36
import com .gargoylesoftware .htmlunit .UnexpectedPage ;
37
+ import com .gargoylesoftware .htmlunit .Version ;
37
38
import com .gargoylesoftware .htmlunit .WaitingRefreshHandler ;
38
39
import com .gargoylesoftware .htmlunit .WebClient ;
39
40
import com .gargoylesoftware .htmlunit .WebClientOptions ;
@@ -443,6 +444,7 @@ public Capabilities getCapabilities() {
443
444
444
445
capabilities .setPlatform (Platform .getCurrent ());
445
446
capabilities .setJavascriptEnabled (isJavascriptEnabled ());
447
+ capabilities .setVersion (Version .getProductVersion ());
446
448
capabilities .setCapability (SUPPORTS_FINDING_BY_CSS , true );
447
449
448
450
return capabilities ;
You can’t perform that action at this time.
0 commit comments