diff --git a/website_and_docs/content/documentation/webdriver/bidi/logging.ja.md b/website_and_docs/content/documentation/webdriver/bidi/logging.ja.md new file mode 100644 index 00000000000..ae23c7a6412 --- /dev/null +++ b/website_and_docs/content/documentation/webdriver/bidi/logging.ja.md @@ -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 >}} diff --git a/website_and_docs/content/documentation/webdriver/bidi/logging.pt-br.md b/website_and_docs/content/documentation/webdriver/bidi/logging.pt-br.md new file mode 100644 index 00000000000..8109898135f --- /dev/null +++ b/website_and_docs/content/documentation/webdriver/bidi/logging.pt-br.md @@ -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 >}} diff --git a/website_and_docs/content/documentation/webdriver/bidi/logging.zh-cn.md b/website_and_docs/content/documentation/webdriver/bidi/logging.zh-cn.md new file mode 100644 index 00000000000..8109898135f --- /dev/null +++ b/website_and_docs/content/documentation/webdriver/bidi/logging.zh-cn.md @@ -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 >}} diff --git a/website_and_docs/content/documentation/webdriver/bidi/network.ja.md b/website_and_docs/content/documentation/webdriver/bidi/network.ja.md new file mode 100644 index 00000000000..da4e2d7eb0e --- /dev/null +++ b/website_and_docs/content/documentation/webdriver/bidi/network.ja.md @@ -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 diff --git a/website_and_docs/content/documentation/webdriver/bidi/network.pt-br.md b/website_and_docs/content/documentation/webdriver/bidi/network.pt-br.md new file mode 100644 index 00000000000..60338930f81 --- /dev/null +++ b/website_and_docs/content/documentation/webdriver/bidi/network.pt-br.md @@ -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/pt-br/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 diff --git a/website_and_docs/content/documentation/webdriver/bidi/network.zh-cn.md b/website_and_docs/content/documentation/webdriver/bidi/network.zh-cn.md new file mode 100644 index 00000000000..4b97ed012af --- /dev/null +++ b/website_and_docs/content/documentation/webdriver/bidi/network.zh-cn.md @@ -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/zh-cn/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