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
This is the default level where Selenium logs things that users should be aware of but do not need to take actions on.
116
+
It presents information such as requests and responses between driver and server, payload, etc.
117
+
118
+
Different languages have different level to log information.
119
+
120
+
{{< tabpane langEqualsHeader=true text=true >}}
121
+
{{< tab header="Java" >}}
122
+
{{< alert-content >}}{{< /alert-content >}}
123
+
{{< /tab >}}
124
+
{{< tab header="Python" >}}
125
+
{{< alert-content >}}{{< /alert-content >}}
126
+
{{< /tab >}}
127
+
{{< tab header="CSharp" >}}
128
+
{{< alert-content >}}{{< /alert-content >}}
129
+
{{< /tab >}}
130
+
{{% tab header="Ruby" %}}
131
+
Because the Ruby `Logger` class only has one "debug" level, Selenium is currently using the `:info` level as a general debug mode, and `:debug` as a lower level debug mode.
132
+
To bring things in line with other languages, we are considering <ahref="https://github.com/SeleniumHQ/selenium/issues/11797">changing this behavior</a>.
133
+
For now, both info and warnings are handled at the default `:warn` level.
134
+
{{% /tab %}}
135
+
{{% tab header="JavaScript" %}}
136
+
Logs useful information at level: `INFO`
137
+
{{% /tab %}}
138
+
{{< tab header="Kotlin" >}}
139
+
{{< alert-content >}}{{< /alert-content >}}
140
+
{{< /tab >}}
141
+
{{< /tabpane >}}
142
+
143
+
**Debugging Details**
144
+
145
+
The debug log level is used for information that may be needed for diagnosing issues and troubleshooting problems.
146
+
147
+
{{< tabpane langEqualsHeader=true text=true >}}
148
+
{{< tab header="Java" >}}
149
+
{{< alert-content >}}{{< /alert-content >}}
150
+
{{< /tab >}}
151
+
{{< tab header="Python" >}}
152
+
{{< alert-content >}}{{< /alert-content >}}
153
+
{{< /tab >}}
154
+
{{< tab header="CSharp" >}}
155
+
{{< alert-content >}}{{< /alert-content >}}
156
+
{{< /tab >}}
157
+
{{% tab header="Ruby" %}}
158
+
Logs debugging details at level: `:info` and `:debug`
159
+
{{% /tab %}}
160
+
{{% tab header="JavaScript" %}}
161
+
Logs debugging details at level: `FINER` and `FINEST`
162
+
{{% /tab %}}
163
+
{{< tab header="Kotlin" >}}
164
+
{{< alert-content >}}{{< /alert-content >}}
165
+
{{< /tab >}}
166
+
{{< /tabpane >}}
167
+
168
+
### 3. Log Output:
169
+
Logs can be displayed on `stdout` or stored in a file.
170
+
171
+
{{< tabpane langEqualsHeader=true text=true >}}
172
+
{{< tab header="Java" >}}
173
+
{{< alert-content >}}{{< /alert-content >}}
174
+
{{< /tab >}}
175
+
{{< tab header="Python" >}}
176
+
{{< alert-content >}}{{< /alert-content >}}
177
+
{{< /tab >}}
178
+
{{< tab header="CSharp" >}}
179
+
{{< alert-content >}}{{< /alert-content >}}
180
+
{{< /tab >}}
181
+
{{% tab header="Ruby" %}}
182
+
By default, logs are sent to the console in `stdout`.
0 commit comments