You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -4854,6 +4855,30 @@ trait InternetExplorer extends WebBrowser with Driver with ScreenshotCapturer {
4854
4855
*/
4855
4856
objectInternetExplorerextendsInternetExplorer
4856
4857
4858
+
/**
4859
+
* <code>WebBrowser</code> subtrait that defines an implicit <code>WebDriver</code> for Microsoft Edge (an <code>org.openqa.selenium.edge.EdgeDriver</code>).
* <code>WebBrowser</code> subtrait that defines an implicit <code>WebDriver</code> for Safari (an <code>org.openqa.selenium.safari.SafariDriver</code>).
4864
+
*/
4865
+
implicitvalwebDriver=newEdgeDriver()
4866
+
4867
+
/**
4868
+
* Captures a screenshot and saves it as a file in the specified directory.
4869
+
*/
4870
+
defcaptureScreenshot(directory: String):Unit= {
4871
+
capture toDir directory
4872
+
}
4873
+
}
4874
+
4875
+
/**
4876
+
* Companion object that facilitates the importing of <code>Edge</code> members as
4877
+
* an alternative to mixing it in. One use case is to import <code>Edge</code> members so you can use
4878
+
* them in the Scala interpreter.
4879
+
*/
4880
+
objectEdgeextendsEdge
4881
+
4857
4882
/*
4858
4883
* <p>
4859
4884
* If you mix in <a href="../ScreenshotOnFailure.html"><code>ScreenshotOnFailure</code></a>, ScalaTest will capture a screenshot and store it to either the system temp directory
0 commit comments