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,23 @@ 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
+
4761
4779
/*
4762
4780
* <p>
4763
4781
* 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