We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62c3daf commit 49ee40bCopy full SHA for 49ee40b
javascript/node/selenium-webdriver/safari.js
@@ -78,6 +78,19 @@ class Options extends Capabilities {
78
this.options_[TECHNOLOGY_PREVIEW_OPTIONS_KEY] = !!useTechnologyPreview
79
return this
80
}
81
+
82
+ /**
83
+ * Enables diagnostic logging for Safari.
84
+ *
85
+ * This method sets the `safari:diagnose` option to `true` in the current configuration.
86
+ * It is used to enable additional logging or diagnostic features specific to Safari.
87
88
+ * @returns {Options} Returns the current instance
89
+ */
90
+ enableLogging() {
91
+ this.set('safari:diagnose', true)
92
+ return this
93
+ }
94
95
96
/**
0 commit comments