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
@@ -4758,6 +4759,30 @@ trait InternetExplorer extends WebBrowser with Driver with ScreenshotCapturer {
4758
4759
*/
4759
4760
objectInternetExplorerextendsInternetExplorer
4760
4761
4762
+
/**
4763
+
* <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>).
4768
+
*/
4769
+
implicitvalwebDriver=newEdgeDriver()
4770
+
4771
+
/**
4772
+
* Captures a screenshot and saves it as a file in the specified directory.
4773
+
*/
4774
+
defcaptureScreenshot(directory: String):Unit= {
4775
+
capture toDir directory
4776
+
}
4777
+
}
4778
+
4779
+
/**
4780
+
* Companion object that facilitates the importing of <code>Edge</code> members as
4781
+
* an alternative to mixing it in. One use case is to import <code>Edge</code> members so you can use
4782
+
* them in the Scala interpreter.
4783
+
*/
4784
+
objectEdgeextendsEdge
4785
+
4761
4786
/*
4762
4787
* <p>
4763
4788
* 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