-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add missing pages for netowrk and logging
- Loading branch information
Showing
6 changed files
with
423 additions
and
0 deletions.
There are no files selected for viewing
119 changes: 119 additions & 0 deletions
119
website_and_docs/content/documentation/webdriver/bidi/logging.ja.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
--- | ||
title: "WebDriver BiDi Logging Features" | ||
linkTitle: "Logging" | ||
weight: 1 | ||
description: > | ||
These features are related to logging. Because "logging" can refer to so many | ||
different things, these methods are made available via a "script" namespace. | ||
aliases: [ | ||
"/documentation/ja/webdriver/bidirectional/bidirectional_w3c/log", | ||
"/documentation/webdriver/bidirectional/webdriver_bidi/log" | ||
] | ||
--- | ||
|
||
Remember that to use WebDriver BiDi, you must enable it in Options. | ||
For more details, see [Enabling BiDi]({{< ref "BiDi" >}}) | ||
|
||
## Console Message Handlers | ||
|
||
Record or take actions on `console.log` events. | ||
|
||
### Add Handler | ||
|
||
{{< tabpane text=true >}} | ||
{{< tab header="Java" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< tab header="Python" >}} | ||
{{< gh-codeblock path="/examples/python/tests/bidi/test_bidi_logging.py#L11" >}} | ||
{{< /tab >}} | ||
{{< tab header="CSharp" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< tab header="Ruby" >}} | ||
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L11" >}} | ||
{{< /tab >}} | ||
{{< tab header="JavaScript" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< tab header="Kotlin" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< /tabpane >}} | ||
|
||
### Remove Handler | ||
|
||
You need to store the ID returned when adding the handler to delete it. | ||
|
||
{{< tabpane text=true >}} | ||
{{< tab header="Java" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< tab header="Python" >}} | ||
{{< gh-codeblock path="/examples/python/tests/bidi/test_bidi_logging.py#L23-24" >}} | ||
{{< /tab >}} | ||
{{< tab header="CSharp" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< tab header="Ruby" >}} | ||
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L22-L23" >}} | ||
{{< /tab >}} | ||
{{< tab header="JavaScript" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< tab header="Kotlin" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< /tabpane >}} | ||
|
||
## JavaScript Exception Handlers | ||
|
||
Record or take actions on JavaScript exception events. | ||
|
||
### Add Handler | ||
|
||
{{< tabpane text=true >}} | ||
{{< tab header="Java" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< tab header="Python" >}} | ||
{{< gh-codeblock path="/examples/python/tests/bidi/test_bidi_logging.py#L35" >}} | ||
{{< /tab >}} | ||
{{< tab header="CSharp" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< tab header="Ruby" >}} | ||
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L33" >}} | ||
{{< /tab >}} | ||
{{< tab header="JavaScript" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< tab header="Kotlin" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< /tabpane >}} | ||
|
||
### Remove Handler | ||
|
||
You need to store the ID returned when adding the handler to delete it. | ||
|
||
{{< tabpane text=true >}} | ||
{{< tab header="Java" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< tab header="Python" >}} | ||
{{< gh-codeblock path="/examples/python/tests/bidi/test_bidi_logging.py#L47-48" >}} | ||
{{< /tab >}} | ||
{{< tab header="CSharp" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< tab header="Ruby" >}} | ||
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L44-L45" >}} | ||
{{< /tab >}} | ||
{{< tab header="JavaScript" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< tab header="Kotlin" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< /tabpane >}} |
119 changes: 119 additions & 0 deletions
119
website_and_docs/content/documentation/webdriver/bidi/logging.pt-br.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
--- | ||
title: "WebDriver BiDi Logging Features" | ||
linkTitle: "Logging" | ||
weight: 1 | ||
description: > | ||
These features are related to logging. Because "logging" can refer to so many | ||
different things, these methods are made available via a "script" namespace. | ||
aliases: [ | ||
"/documentation/zh-cn/webdriver/bidirectional/bidirectional_w3c/log", | ||
"/documentation/webdriver/bidirectional/webdriver_bidi/log" | ||
] | ||
--- | ||
|
||
Remember that to use WebDriver BiDi, you must enable it in Options. | ||
For more details, see [Enabling BiDi]({{< ref "BiDi" >}}) | ||
|
||
## Console Message Handlers | ||
|
||
Record or take actions on `console.log` events. | ||
|
||
### Add Handler | ||
|
||
{{< tabpane text=true >}} | ||
{{< tab header="Java" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< tab header="Python" >}} | ||
{{< gh-codeblock path="/examples/python/tests/bidi/test_bidi_logging.py#L11" >}} | ||
{{< /tab >}} | ||
{{< tab header="CSharp" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< tab header="Ruby" >}} | ||
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L11" >}} | ||
{{< /tab >}} | ||
{{< tab header="JavaScript" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< tab header="Kotlin" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< /tabpane >}} | ||
|
||
### Remove Handler | ||
|
||
You need to store the ID returned when adding the handler to delete it. | ||
|
||
{{< tabpane text=true >}} | ||
{{< tab header="Java" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< tab header="Python" >}} | ||
{{< gh-codeblock path="/examples/python/tests/bidi/test_bidi_logging.py#L23-24" >}} | ||
{{< /tab >}} | ||
{{< tab header="CSharp" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< tab header="Ruby" >}} | ||
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L22-L23" >}} | ||
{{< /tab >}} | ||
{{< tab header="JavaScript" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< tab header="Kotlin" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< /tabpane >}} | ||
|
||
## JavaScript Exception Handlers | ||
|
||
Record or take actions on JavaScript exception events. | ||
|
||
### Add Handler | ||
|
||
{{< tabpane text=true >}} | ||
{{< tab header="Java" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< tab header="Python" >}} | ||
{{< gh-codeblock path="/examples/python/tests/bidi/test_bidi_logging.py#L35" >}} | ||
{{< /tab >}} | ||
{{< tab header="CSharp" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< tab header="Ruby" >}} | ||
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L33" >}} | ||
{{< /tab >}} | ||
{{< tab header="JavaScript" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< tab header="Kotlin" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< /tabpane >}} | ||
|
||
### Remove Handler | ||
|
||
You need to store the ID returned when adding the handler to delete it. | ||
|
||
{{< tabpane text=true >}} | ||
{{< tab header="Java" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< tab header="Python" >}} | ||
{{< gh-codeblock path="/examples/python/tests/bidi/test_bidi_logging.py#L47-48" >}} | ||
{{< /tab >}} | ||
{{< tab header="CSharp" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< tab header="Ruby" >}} | ||
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L44-L45" >}} | ||
{{< /tab >}} | ||
{{< tab header="JavaScript" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< tab header="Kotlin" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< /tabpane >}} |
119 changes: 119 additions & 0 deletions
119
website_and_docs/content/documentation/webdriver/bidi/logging.zh-cn.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
--- | ||
title: "WebDriver BiDi Logging Features" | ||
linkTitle: "Logging" | ||
weight: 1 | ||
description: > | ||
These features are related to logging. Because "logging" can refer to so many | ||
different things, these methods are made available via a "script" namespace. | ||
aliases: [ | ||
"/documentation/zh-cn/webdriver/bidirectional/bidirectional_w3c/log", | ||
"/documentation/webdriver/bidirectional/webdriver_bidi/log" | ||
] | ||
--- | ||
|
||
Remember that to use WebDriver BiDi, you must enable it in Options. | ||
For more details, see [Enabling BiDi]({{< ref "BiDi" >}}) | ||
|
||
## Console Message Handlers | ||
|
||
Record or take actions on `console.log` events. | ||
|
||
### Add Handler | ||
|
||
{{< tabpane text=true >}} | ||
{{< tab header="Java" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< tab header="Python" >}} | ||
{{< gh-codeblock path="/examples/python/tests/bidi/test_bidi_logging.py#L11" >}} | ||
{{< /tab >}} | ||
{{< tab header="CSharp" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< tab header="Ruby" >}} | ||
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L11" >}} | ||
{{< /tab >}} | ||
{{< tab header="JavaScript" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< tab header="Kotlin" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< /tabpane >}} | ||
|
||
### Remove Handler | ||
|
||
You need to store the ID returned when adding the handler to delete it. | ||
|
||
{{< tabpane text=true >}} | ||
{{< tab header="Java" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< tab header="Python" >}} | ||
{{< gh-codeblock path="/examples/python/tests/bidi/test_bidi_logging.py#L23-24" >}} | ||
{{< /tab >}} | ||
{{< tab header="CSharp" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< tab header="Ruby" >}} | ||
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L22-L23" >}} | ||
{{< /tab >}} | ||
{{< tab header="JavaScript" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< tab header="Kotlin" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< /tabpane >}} | ||
|
||
## JavaScript Exception Handlers | ||
|
||
Record or take actions on JavaScript exception events. | ||
|
||
### Add Handler | ||
|
||
{{< tabpane text=true >}} | ||
{{< tab header="Java" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< tab header="Python" >}} | ||
{{< gh-codeblock path="/examples/python/tests/bidi/test_bidi_logging.py#L35" >}} | ||
{{< /tab >}} | ||
{{< tab header="CSharp" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< tab header="Ruby" >}} | ||
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L33" >}} | ||
{{< /tab >}} | ||
{{< tab header="JavaScript" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< tab header="Kotlin" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< /tabpane >}} | ||
|
||
### Remove Handler | ||
|
||
You need to store the ID returned when adding the handler to delete it. | ||
|
||
{{< tabpane text=true >}} | ||
{{< tab header="Java" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< tab header="Python" >}} | ||
{{< gh-codeblock path="/examples/python/tests/bidi/test_bidi_logging.py#L47-48" >}} | ||
{{< /tab >}} | ||
{{< tab header="CSharp" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< tab header="Ruby" >}} | ||
{{< gh-codeblock path="/examples/ruby/spec/bidi/logging_spec.rb#L44-L45" >}} | ||
{{< /tab >}} | ||
{{< tab header="JavaScript" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< tab header="Kotlin" >}} | ||
{{< badge-implementation >}} | ||
{{< /tab >}} | ||
{{< /tabpane >}} |
22 changes: 22 additions & 0 deletions
22
website_and_docs/content/documentation/webdriver/bidi/network.ja.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
title: "WebDriver BiDi Network Features" | ||
linkTitle: "Network" | ||
weight: 1 | ||
description: > | ||
These features are related to networking, and are made available via a "network" namespace. | ||
aliases: [ | ||
"/documentation/ja/webdriver/bidirectional/bidirectional_w3c/network", | ||
"/documentation/webdriver/bidirectional/webdriver_bidi/network" | ||
] | ||
--- | ||
|
||
The implementation of these features is being tracked here: [#13993](https://github.com/SeleniumHQ/selenium/issues/13993) | ||
|
||
Remember that to use WebDriver BiDi, you must enable it in Options. | ||
For more details, see [Enabling BiDi]({{< ref "BiDi" >}}) | ||
|
||
## Authentication Handlers | ||
|
||
## Request Handlers | ||
|
||
## Response Handlers |
Oops, something went wrong.