23
23
import static org .openqa .selenium .remote .CapabilityType .SUPPORTS_LOCATION_CONTEXT ;
24
24
import static org .openqa .selenium .remote .CapabilityType .SUPPORTS_NETWORK_CONNECTION ;
25
25
import static org .openqa .selenium .remote .CapabilityType .SUPPORTS_WEB_STORAGE ;
26
- import static org .openqa .selenium .remote .CapabilityType .TAKES_SCREENSHOT ;
27
26
28
27
import com .google .common .collect .Maps ;
29
28
@@ -49,7 +48,6 @@ public abstract class BaseAugmenter {
49
48
50
49
public BaseAugmenter () {
51
50
addDriverAugmentation (SUPPORTS_FINDING_BY_CSS , new AddFindsByCss ());
52
- addDriverAugmentation (TAKES_SCREENSHOT , new AddTakesScreenshot ());
53
51
addDriverAugmentation (SUPPORTS_LOCATION_CONTEXT , new AddLocationContext ());
54
52
addDriverAugmentation (SUPPORTS_APPLICATION_CACHE , new AddApplicationCache ());
55
53
addDriverAugmentation (SUPPORTS_NETWORK_CONNECTION , new AddNetworkConnection ());
@@ -63,12 +61,12 @@ public BaseAugmenter() {
63
61
/**
64
62
* Add a mapping between a capability name and the implementation of the interface that name
65
63
* represents for instances of {@link org.openqa.selenium.WebDriver}. For example (@link
66
- * CapabilityType#TAKES_SCREENSHOT} is represents the interface
67
- * {@link org.openqa.selenium.TakesScreenshot }, which is implemented via the
68
- * {@link org.openqa.selenium.remote.AddTakesScreenshot } provider.
69
- *
64
+ * CapabilityType#SUPPORTS_FINDING_BY_CSS} represents the interface
65
+ * {@link org.openqa.selenium.internal.FindsByCssSelector }, which is implemented via the
66
+ * {@link org.openqa.selenium.remote.AddFindsByCss } provider.
67
+ *
70
68
* Note: This method is still experimental. Use at your own risk.
71
- *
69
+ *
72
70
* @param capabilityName The name of the capability to model
73
71
* @param handlerClass The provider of the interface and implementation
74
72
*/
@@ -79,7 +77,7 @@ public void addDriverAugmentation(String capabilityName, AugmenterProvider handl
79
77
/**
80
78
* Add a mapping between a capability name and the implementation of the interface that name
81
79
* represents for instances of {@link org.openqa.selenium.WebElement}. For example (@link
82
- * CapabilityType#TAKES_SCREENSHOT} is represents the interface
80
+ * CapabilityType#SUPPORTS_FINDING_BY_CSS} represents the interface
83
81
* {@link org.openqa.selenium.internal.FindsByCssSelector}, which is implemented via the
84
82
* {@link AddFindsByCss} provider.
85
83
*
0 commit comments