Skip to content

Commit

Permalink
add missing pages for netowrk and logging
Browse files Browse the repository at this point in the history
  • Loading branch information
harsha509 committed Oct 19, 2024
1 parent 74652d2 commit 6706655
Show file tree
Hide file tree
Showing 6 changed files with 423 additions and 0 deletions.
119 changes: 119 additions & 0 deletions website_and_docs/content/documentation/webdriver/bidi/logging.ja.md
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 website_and_docs/content/documentation/webdriver/bidi/logging.pt-br.md
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 website_and_docs/content/documentation/webdriver/bidi/logging.zh-cn.md
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 >}}
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
Loading

0 comments on commit 6706655

Please sign in to comment.