From 48f43616907dc77f3f849bfbfb2f476c863e8991 Mon Sep 17 00:00:00 2001 From: Titus Fortner Date: Fri, 17 Nov 2023 04:17:19 -0600 Subject: [PATCH] Upgrade to Docsy 0 7 2 (#1529) * update to docsy 0.7.2 * do not persist these tabs * remove unnecessary references to langEqualsHeader * remove unnecessary text=true references in tabs * update style page with information on when to use which references in the tabs --- .../content/documentation/_index.en.md | 2 +- .../content/documentation/_index.ja.md | 2 +- .../content/documentation/_index.pt-br.md | 2 +- .../content/documentation/_index.zh-cn.md | 2 +- .../content/documentation/about/style.en.md | 22 +++++++------- .../content/documentation/about/style.ja.md | 22 +++++++------- .../documentation/about/style.pt-br.md | 22 +++++++------- .../documentation/about/style.zh-cn.md | 22 +++++++------- .../webdriver/actions_api/_index.en.md | 4 +-- .../webdriver/actions_api/_index.ja.md | 4 +-- .../webdriver/actions_api/_index.pt-br.md | 4 +-- .../webdriver/actions_api/_index.zh-cn.md | 4 +-- .../webdriver/actions_api/keyboard.en.md | 12 ++++---- .../webdriver/actions_api/keyboard.ja.md | 12 ++++---- .../webdriver/actions_api/keyboard.pt-br.md | 12 ++++---- .../webdriver/actions_api/keyboard.zh-cn.md | 12 ++++---- .../webdriver/actions_api/mouse.en.md | 24 +++++++-------- .../webdriver/actions_api/mouse.ja.md | 24 +++++++-------- .../webdriver/actions_api/mouse.pt-br.md | 24 +++++++-------- .../webdriver/actions_api/mouse.zh-cn.md | 24 +++++++-------- .../webdriver/actions_api/pen.en.md | 4 +-- .../webdriver/actions_api/pen.ja.md | 4 +-- .../webdriver/actions_api/pen.pt-br.md | 4 +-- .../webdriver/actions_api/pen.zh-cn.md | 4 +-- .../webdriver/actions_api/wheel.en.md | 10 +++---- .../webdriver/actions_api/wheel.ja.md | 10 +++---- .../webdriver/actions_api/wheel.pt-br.md | 10 +++---- .../webdriver/actions_api/wheel.zh-cn.md | 10 +++---- .../chrome_devtools/bidi_api.en.md | 22 +++++++------- .../chrome_devtools/bidi_api.ja.md | 22 +++++++------- .../chrome_devtools/bidi_api.pt-br.md | 22 +++++++------- .../chrome_devtools/bidi_api.zh-cn.md | 22 +++++++------- .../chrome_devtools/cdp_api.en.md | 12 ++++---- .../chrome_devtools/cdp_api.ja.md | 12 ++++---- .../chrome_devtools/cdp_api.pt-br.md | 12 ++++---- .../chrome_devtools/cdp_api.zh-cn.md | 12 ++++---- .../chrome_devtools/cdp_endpoint.en.md | 6 ++-- .../chrome_devtools/cdp_endpoint.ja.md | 6 ++-- .../chrome_devtools/cdp_endpoint.pt-br.md | 6 ++-- .../chrome_devtools/cdp_endpoint.zh-cn.md | 6 ++-- .../webdriver_bidi/browsing_context.en.md | 22 +++++++------- .../webdriver_bidi/browsing_context.ja.md | 22 +++++++------- .../webdriver_bidi/browsing_context.pt-br.md | 22 +++++++------- .../webdriver_bidi/browsing_context.zh-cn.md | 22 +++++++------- .../bidirectional/webdriver_bidi/log.en.md | 6 ++-- .../bidirectional/webdriver_bidi/log.ja.md | 6 ++-- .../bidirectional/webdriver_bidi/log.pt-br.md | 6 ++-- .../bidirectional/webdriver_bidi/log.zh-cn.md | 6 ++-- .../webdriver/browsers/chrome.en.md | 30 +++++++++---------- .../webdriver/browsers/chrome.ja.md | 30 +++++++++---------- .../webdriver/browsers/chrome.pt-br.md | 30 +++++++++---------- .../webdriver/browsers/chrome.zh-cn.md | 30 +++++++++---------- .../webdriver/browsers/edge.en.md | 30 +++++++++---------- .../webdriver/browsers/edge.ja.md | 30 +++++++++---------- .../webdriver/browsers/edge.pt-br.md | 30 +++++++++---------- .../webdriver/browsers/edge.zh-cn.md | 30 +++++++++---------- .../webdriver/browsers/firefox.en.md | 26 ++++++++-------- .../webdriver/browsers/firefox.ja.md | 26 ++++++++-------- .../webdriver/browsers/firefox.pt-br.md | 26 ++++++++-------- .../webdriver/browsers/firefox.zh-cn.md | 26 ++++++++-------- .../browsers/internet_explorer.en.md | 10 +++---- .../browsers/internet_explorer.ja.md | 10 +++---- .../browsers/internet_explorer.pt-br.md | 10 +++---- .../browsers/internet_explorer.zh-cn.md | 10 +++---- .../webdriver/browsers/safari.en.md | 4 +-- .../webdriver/browsers/safari.ja.md | 4 +-- .../webdriver/browsers/safari.pt-br.md | 4 +-- .../webdriver/browsers/safari.zh-cn.md | 4 +-- .../webdriver/drivers/_index.en.md | 4 +-- .../webdriver/drivers/_index.ja.md | 4 +-- .../webdriver/drivers/_index.pt-br.md | 4 +-- .../webdriver/drivers/_index.zh-cn.md | 4 +-- .../webdriver/drivers/http_client.en.md | 2 +- .../webdriver/drivers/http_client.ja.md | 2 +- .../webdriver/drivers/http_client.pt-br.md | 2 +- .../webdriver/drivers/http_client.zh-cn.md | 2 +- .../webdriver/drivers/options.en.md | 20 ++++++------- .../webdriver/drivers/options.ja.md | 20 ++++++------- .../webdriver/drivers/options.pt-br.md | 18 +++++------ .../webdriver/drivers/options.zh-cn.md | 20 ++++++------- .../webdriver/drivers/remote_webdriver.en.md | 14 ++++----- .../webdriver/drivers/remote_webdriver.ja.md | 14 ++++----- .../drivers/remote_webdriver.pt-br.md | 14 ++++----- .../drivers/remote_webdriver.zh-cn.md | 14 ++++----- .../webdriver/drivers/service.en.md | 6 ++-- .../webdriver/drivers/service.ja.md | 6 ++-- .../webdriver/drivers/service.pt-br.md | 6 ++-- .../webdriver/drivers/service.zh-cn.md | 6 ++-- .../webdriver/elements/file_upload.en.md | 2 +- .../webdriver/elements/file_upload.ja.md | 2 +- .../webdriver/elements/file_upload.pt-br.md | 2 +- .../webdriver/elements/file_upload.zh-cn.md | 2 +- .../getting_started/first_script.en.md | 16 +++++----- .../getting_started/first_script.ja.md | 16 +++++----- .../getting_started/first_script.pt-br.md | 16 +++++----- .../getting_started/first_script.zh-cn.md | 16 +++++----- .../getting_started/install_library.en.md | 2 +- .../getting_started/install_library.ja.md | 2 +- .../getting_started/install_library.pt-br.md | 2 +- .../getting_started/install_library.zh-cn.md | 2 +- .../getting_started/using_selenium.en.md | 12 ++++---- .../getting_started/using_selenium.ja.md | 12 ++++---- .../getting_started/using_selenium.pt-br.md | 12 ++++---- .../getting_started/using_selenium.zh-cn.md | 12 ++++---- .../interactions/virtual_authenticator.en.md | 20 ++++++------- .../interactions/virtual_authenticator.ja.md | 20 ++++++------- .../virtual_authenticator.pt-br.md | 20 ++++++------- .../virtual_authenticator.zh-cn.md | 20 ++++++------- .../expected_conditions.en.md | 2 +- .../expected_conditions.ja.md | 2 +- .../expected_conditions.pt-br.md | 2 +- .../expected_conditions.zh-cn.md | 2 +- .../support_features/listeners.en.md | 2 +- .../support_features/listeners.ja.md | 2 +- .../support_features/listeners.pt-br.md | 2 +- .../support_features/listeners.zh-cn.md | 2 +- .../support_features/select_lists.en.md | 16 +++++----- .../support_features/select_lists.ja.md | 16 +++++----- .../support_features/select_lists.pt-br.md | 16 +++++----- .../support_features/select_lists.zh-cn.md | 16 +++++----- .../errors/driver_location.en.md | 4 +-- .../errors/driver_location.ja.md | 4 +-- .../errors/driver_location.pt-br.md | 4 +-- .../errors/driver_location.zh-cn.md | 4 +-- .../webdriver/troubleshooting/logging.en.md | 14 ++++----- .../webdriver/troubleshooting/logging.ja.md | 14 ++++----- .../troubleshooting/logging.pt-br.md | 14 ++++----- .../troubleshooting/logging.zh-cn.md | 14 ++++----- .../documentation/webdriver/waits.en.md | 6 ++-- .../documentation/webdriver/waits.ja.md | 6 ++-- .../documentation/webdriver/waits.pt-br.md | 6 ++-- .../documentation/webdriver/waits.zh-cn.md | 6 ++-- website_and_docs/go.mod | 2 +- website_and_docs/go.sum | 6 ++-- website_and_docs/static/js/tabpane-persist.js | 29 ------------------ 135 files changed, 775 insertions(+), 812 deletions(-) delete mode 100644 website_and_docs/static/js/tabpane-persist.js diff --git a/website_and_docs/content/documentation/_index.en.md b/website_and_docs/content/documentation/_index.en.md index c95f43614964..0313bb1f586b 100755 --- a/website_and_docs/content/documentation/_index.en.md +++ b/website_and_docs/content/documentation/_index.en.md @@ -31,7 +31,7 @@ an interface to write instruction sets that can be run interchangeably in many browsers. Once you've installed everything, only a few lines of code get you inside a browser. You can find a more comprehensive example in [Writing your first Selenium script]({{< ref "first_script.md" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/hello/HelloSelenium.java" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/_index.ja.md b/website_and_docs/content/documentation/_index.ja.md index d029d0c6282f..a1720d968327 100755 --- a/website_and_docs/content/documentation/_index.ja.md +++ b/website_and_docs/content/documentation/_index.ja.md @@ -18,7 +18,7 @@ Seleniumの中核は[WebDriver]({{< ref "/webdriver.md" >}})であり、様々 インストラクションの一つです: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/hello/HelloSelenium.java" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/_index.pt-br.md b/website_and_docs/content/documentation/_index.pt-br.md index e997ed77375f..547702f66062 100755 --- a/website_and_docs/content/documentation/_index.pt-br.md +++ b/website_and_docs/content/documentation/_index.pt-br.md @@ -29,7 +29,7 @@ uma interface para escrever conjuntos de instruções que podem ser executados a navegadores. Aqui está uma das instruções mais simples que você pode fazer: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/hello/HelloSelenium.java" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/_index.zh-cn.md b/website_and_docs/content/documentation/_index.zh-cn.md index c504405d119f..70fb9ac185f7 100755 --- a/website_and_docs/content/documentation/_index.zh-cn.md +++ b/website_and_docs/content/documentation/_index.zh-cn.md @@ -23,7 +23,7 @@ Selenium 的核心是 [WebDriver]({{< ref "/webdriver.md" >}}),这是一个编 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/hello/HelloSelenium.java" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/about/style.en.md b/website_and_docs/content/documentation/about/style.en.md index 4a13447b6c07..44d414a4c5ff 100644 --- a/website_and_docs/content/documentation/about/style.en.md +++ b/website_and_docs/content/documentation/about/style.en.md @@ -105,8 +105,7 @@ The Docsy code tabs look like this: To generate the above tabs, this is what you need to write. Note that the `tabpane` includes `langEqualsHeader=true`. This auto-formats the code in each tab to match the header name, -but more importantly it ensures that all tabs on the page with a language -are set to the same thing, so we always want to include it. +and ensures that all tabs on the page with a language are set to the same thing. {{}} {{}} @@ -129,7 +128,7 @@ are set to the same thing, so we always want to include it. {{}} {{}} -#### Reference Github Examples +#### Reference GitHub Examples To ensure that all code is kept up to date, our goal is to write the code in the repo where it can be executed when Selenium versions are updated to ensure that everything is correct. @@ -138,11 +137,10 @@ All code examples to be in our [example directories](https://github.com/SeleniumHQ/seleniumhq.github.io/tree/dev/examples). This code can be automatically displayed in the documentation using the `gh-codeblock` shortcode. -The shortcode automatically generates its own html, so if any tab is using this shortcode, -set `text=true` in the `tabpane`/`tab` to prevent the auto-formatting, and add `code=true` in any -`tab` that still needs to get formatted with code. -Either way, set `langEqualsHeader=true` to keep the language tabs synchronized throughout the page. -Note that the `gh-codeblock` line can not be indented at all. +The shortcode automatically generates its own html, so we do not want it to auto-format with the language header. +If all tabs are using this shortcode, set `text=true` in the `tabpane` and remove `langEqualsHeader=true`. +If only some tabs are using this shortcode, keep `langEqualsHeader=true` in the `tabpane` and add `text=true` +to the `tab`. Note that the `gh-codeblock` line can not be indented at all. One great thing about using `gh-codeblock` is that it adds a link to the full example. This means you don't have to include any additional context code, just the line(s) that @@ -150,7 +148,7 @@ are needed, and the user can navigate to the repo to see how to use it. A basic comparison of code looks like: - {{}} + {{}} {{}} {{}} {{}} @@ -173,7 +171,7 @@ A basic comparison of code looks like: Which looks like this: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L46-L47" >}} {{< /tab >}} @@ -200,7 +198,7 @@ If you want your example to include something other than code (default) or html you need to first set `text=true`, then change the Hugo syntax for the `tab`to use `%` instead of `<` and `>` with curly braces: - {{}} + {{}} {{%/* tab header="Java" */%}} 1. Start the driver {{}} @@ -214,7 +212,7 @@ then change the Hugo syntax for the `tab`to use `%` instead of `<` and `>` with This produces: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} 1. Start the driver {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L17" >}} diff --git a/website_and_docs/content/documentation/about/style.ja.md b/website_and_docs/content/documentation/about/style.ja.md index b18591f60af6..ad04005f9305 100644 --- a/website_and_docs/content/documentation/about/style.ja.md +++ b/website_and_docs/content/documentation/about/style.ja.md @@ -104,8 +104,7 @@ The Docsy code tabs look like this: To generate the above tabs, this is what you need to write. Note that the `tabpane` includes `langEqualsHeader=true`. This auto-formats the code in each tab to match the header name, -but more importantly it ensures that all tabs on the page with a language -are set to the same thing, so we always want to include it. +and ensures that all tabs on the page with a language are set to the same thing. {{}} {{}} @@ -128,7 +127,7 @@ are set to the same thing, so we always want to include it. {{}} {{}} -#### Reference Github Examples +#### Reference Gitub Examples To ensure that all code is kept up to date, our goal is to write the code in the repo where it can be executed when Selenium versions are updated to ensure that everything is correct. @@ -137,11 +136,10 @@ All code examples to be in our [example directories](https://github.com/SeleniumHQ/seleniumhq.github.io/tree/dev/examples). This code can be automatically displayed in the documentation using the `gh-codeblock` shortcode. -The shortcode automatically generates its own html, so if any tab is using this shortcode, -set `text=true` in the `tabpane`/`tab` to prevent the auto-formatting, and add `code=true` in any -`tab` that still needs to get formatted with code. -Either way, set `langEqualsHeader=true` to keep the language tabs synchronized throughout the page. -Note that the `gh-codeblock` line can not be indented at all. +The shortcode automatically generates its own html, so we do not want it to auto-format with the language header. +If all tabs are using this shortcode, set `text=true` in the `tabpane` and remove `langEqualsHeader=true`. +If only some tabs are using this shortcode, keep `langEqualsHeader=true` in the `tabpane` and add `text=true` +to the `tab`. Note that the `gh-codeblock` line can not be indented at all. One great thing about using `gh-codeblock` is that it adds a link to the full example. This means you don't have to include any additional context code, just the line(s) that @@ -149,7 +147,7 @@ are needed, and the user can navigate to the repo to see how to use it. A basic comparison of code looks like: - {{}} + {{}} {{}} {{}} {{}} @@ -172,7 +170,7 @@ A basic comparison of code looks like: Which looks like this: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L46-L47" >}} {{< /tab >}} @@ -199,7 +197,7 @@ If you want your example to include something other than code (default) or html you need to first set `text=true`, then change the Hugo syntax for the `tab`to use `%` instead of `<` and `>` with curly braces: - {{}} + {{}} {{%/* tab header="Java" */%}} 1. Start the driver {{}} @@ -213,7 +211,7 @@ then change the Hugo syntax for the `tab`to use `%` instead of `<` and `>` with This produces: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} 1. Start the driver {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L17" >}} diff --git a/website_and_docs/content/documentation/about/style.pt-br.md b/website_and_docs/content/documentation/about/style.pt-br.md index b18591f60af6..70511f1416eb 100644 --- a/website_and_docs/content/documentation/about/style.pt-br.md +++ b/website_and_docs/content/documentation/about/style.pt-br.md @@ -104,8 +104,7 @@ The Docsy code tabs look like this: To generate the above tabs, this is what you need to write. Note that the `tabpane` includes `langEqualsHeader=true`. This auto-formats the code in each tab to match the header name, -but more importantly it ensures that all tabs on the page with a language -are set to the same thing, so we always want to include it. +and ensures that all tabs on the page with a language are set to the same thing. {{}} {{}} @@ -128,7 +127,7 @@ are set to the same thing, so we always want to include it. {{}} {{}} -#### Reference Github Examples +#### Reference GitHub Examples To ensure that all code is kept up to date, our goal is to write the code in the repo where it can be executed when Selenium versions are updated to ensure that everything is correct. @@ -137,11 +136,10 @@ All code examples to be in our [example directories](https://github.com/SeleniumHQ/seleniumhq.github.io/tree/dev/examples). This code can be automatically displayed in the documentation using the `gh-codeblock` shortcode. -The shortcode automatically generates its own html, so if any tab is using this shortcode, -set `text=true` in the `tabpane`/`tab` to prevent the auto-formatting, and add `code=true` in any -`tab` that still needs to get formatted with code. -Either way, set `langEqualsHeader=true` to keep the language tabs synchronized throughout the page. -Note that the `gh-codeblock` line can not be indented at all. +The shortcode automatically generates its own html, so we do not want it to auto-format with the language header. +If all tabs are using this shortcode, set `text=true` in the `tabpane` and remove `langEqualsHeader=true`. +If only some tabs are using this shortcode, keep `langEqualsHeader=true` in the `tabpane` and add `text=true` +to the `tab`. Note that the `gh-codeblock` line can not be indented at all. One great thing about using `gh-codeblock` is that it adds a link to the full example. This means you don't have to include any additional context code, just the line(s) that @@ -149,7 +147,7 @@ are needed, and the user can navigate to the repo to see how to use it. A basic comparison of code looks like: - {{}} + {{}} {{}} {{}} {{}} @@ -172,7 +170,7 @@ A basic comparison of code looks like: Which looks like this: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L46-L47" >}} {{< /tab >}} @@ -199,7 +197,7 @@ If you want your example to include something other than code (default) or html you need to first set `text=true`, then change the Hugo syntax for the `tab`to use `%` instead of `<` and `>` with curly braces: - {{}} + {{}} {{%/* tab header="Java" */%}} 1. Start the driver {{}} @@ -213,7 +211,7 @@ then change the Hugo syntax for the `tab`to use `%` instead of `<` and `>` with This produces: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} 1. Start the driver {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L17" >}} diff --git a/website_and_docs/content/documentation/about/style.zh-cn.md b/website_and_docs/content/documentation/about/style.zh-cn.md index b18591f60af6..70511f1416eb 100644 --- a/website_and_docs/content/documentation/about/style.zh-cn.md +++ b/website_and_docs/content/documentation/about/style.zh-cn.md @@ -104,8 +104,7 @@ The Docsy code tabs look like this: To generate the above tabs, this is what you need to write. Note that the `tabpane` includes `langEqualsHeader=true`. This auto-formats the code in each tab to match the header name, -but more importantly it ensures that all tabs on the page with a language -are set to the same thing, so we always want to include it. +and ensures that all tabs on the page with a language are set to the same thing. {{}} {{}} @@ -128,7 +127,7 @@ are set to the same thing, so we always want to include it. {{}} {{}} -#### Reference Github Examples +#### Reference GitHub Examples To ensure that all code is kept up to date, our goal is to write the code in the repo where it can be executed when Selenium versions are updated to ensure that everything is correct. @@ -137,11 +136,10 @@ All code examples to be in our [example directories](https://github.com/SeleniumHQ/seleniumhq.github.io/tree/dev/examples). This code can be automatically displayed in the documentation using the `gh-codeblock` shortcode. -The shortcode automatically generates its own html, so if any tab is using this shortcode, -set `text=true` in the `tabpane`/`tab` to prevent the auto-formatting, and add `code=true` in any -`tab` that still needs to get formatted with code. -Either way, set `langEqualsHeader=true` to keep the language tabs synchronized throughout the page. -Note that the `gh-codeblock` line can not be indented at all. +The shortcode automatically generates its own html, so we do not want it to auto-format with the language header. +If all tabs are using this shortcode, set `text=true` in the `tabpane` and remove `langEqualsHeader=true`. +If only some tabs are using this shortcode, keep `langEqualsHeader=true` in the `tabpane` and add `text=true` +to the `tab`. Note that the `gh-codeblock` line can not be indented at all. One great thing about using `gh-codeblock` is that it adds a link to the full example. This means you don't have to include any additional context code, just the line(s) that @@ -149,7 +147,7 @@ are needed, and the user can navigate to the repo to see how to use it. A basic comparison of code looks like: - {{}} + {{}} {{}} {{}} {{}} @@ -172,7 +170,7 @@ A basic comparison of code looks like: Which looks like this: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L46-L47" >}} {{< /tab >}} @@ -199,7 +197,7 @@ If you want your example to include something other than code (default) or html you need to first set `text=true`, then change the Hugo syntax for the `tab`to use `%` instead of `<` and `>` with curly braces: - {{}} + {{}} {{%/* tab header="Java" */%}} 1. Start the driver {{}} @@ -213,7 +211,7 @@ then change the Hugo syntax for the `tab`to use `%` instead of `<` and `>` with This produces: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} 1. Start the driver {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L17" >}} diff --git a/website_and_docs/content/documentation/webdriver/actions_api/_index.en.md b/website_and_docs/content/documentation/webdriver/actions_api/_index.en.md index 255929fd2c1f..f601c5b7ef2e 100644 --- a/website_and_docs/content/documentation/webdriver/actions_api/_index.en.md +++ b/website_and_docs/content/documentation/webdriver/actions_api/_index.en.md @@ -31,7 +31,7 @@ lower level commands for you. These are all documented in Pointer movements and Wheel scrolling allow the user to set a duration for the action, but sometimes you just need to wait a beat between actions for things to work correctly. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/ActionsTest.java#L21-L28" >}} {{< /tab >}} @@ -64,7 +64,7 @@ There is a special method to release all currently depressed keys and pointer bu This method is implemented differently in each of the languages because it does not get executed with the perform method. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/ActionsTest.java#L46" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/actions_api/_index.ja.md b/website_and_docs/content/documentation/webdriver/actions_api/_index.ja.md index 255929fd2c1f..f601c5b7ef2e 100644 --- a/website_and_docs/content/documentation/webdriver/actions_api/_index.ja.md +++ b/website_and_docs/content/documentation/webdriver/actions_api/_index.ja.md @@ -31,7 +31,7 @@ lower level commands for you. These are all documented in Pointer movements and Wheel scrolling allow the user to set a duration for the action, but sometimes you just need to wait a beat between actions for things to work correctly. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/ActionsTest.java#L21-L28" >}} {{< /tab >}} @@ -64,7 +64,7 @@ There is a special method to release all currently depressed keys and pointer bu This method is implemented differently in each of the languages because it does not get executed with the perform method. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/ActionsTest.java#L46" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/actions_api/_index.pt-br.md b/website_and_docs/content/documentation/webdriver/actions_api/_index.pt-br.md index c4d9233da758..3c984391cb73 100644 --- a/website_and_docs/content/documentation/webdriver/actions_api/_index.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/actions_api/_index.pt-br.md @@ -17,7 +17,7 @@ Felizmente, provavelmente você não precisa aprender a usar os comandos de baix Movimentos de ponteiro e rolagem da roda permitem que o usuário defina uma duração para a ação, mas às vezes você só precisa esperar um momento entre as ações para que as coisas funcionem corretamente. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/ActionsTest.java#L21-L28" >}} {{< /tab >}} @@ -46,7 +46,7 @@ Um ponto importante a ser observado é que o driver lembra o estado de todos os Existe um método especial para liberar todas as teclas pressionadas e botões do ponteiro atualmente pressionados. Esse método é implementado de maneira diferente em cada uma das linguagens porque não é executado com o método de execução (perform). -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/ActionsTest.java#L46" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/actions_api/_index.zh-cn.md b/website_and_docs/content/documentation/webdriver/actions_api/_index.zh-cn.md index 9121106464c3..07ad565bc65f 100644 --- a/website_and_docs/content/documentation/webdriver/actions_api/_index.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/actions_api/_index.zh-cn.md @@ -44,7 +44,7 @@ Selenium允许您构建分配给特定输入的独立操作命令, 但有时您只需要在操作之间等待一下, 即可正常工作. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/ActionsTest.java#L21-L28" >}} {{< /tab >}} @@ -79,7 +79,7 @@ Selenium允许您构建分配给特定输入的独立操作命令, 此方法在每种语言中的实现方式不同, 因为它不会使用perform方法执行. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/ActionsTest.java#L46" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/actions_api/keyboard.en.md b/website_and_docs/content/documentation/webdriver/actions_api/keyboard.en.md index a7eadf21e3af..eae8d20c87f3 100644 --- a/website_and_docs/content/documentation/webdriver/actions_api/keyboard.en.md +++ b/website_and_docs/content/documentation/webdriver/actions_api/keyboard.en.md @@ -22,7 +22,7 @@ unicode values have been assigned to other keyboard keys for use with Selenium. Each language has its own way to reference these keys; the full list can be found [here](https://www.w3.org/TR/webdriver/#keyboard-actions). -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Use the [Java Keys enum](https://github.com/SeleniumHQ/selenium/blob/selenium-4.2.0/java/src/org/openqa/selenium/Keys.java#L28) {{% /tab %}} @@ -45,7 +45,7 @@ Use the [Java Keys enum](https://github.com/SeleniumHQ/selenium/blob/selenium-4. ## Key down -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/KeysTest.java#L17-L20" >}} {{< /tab >}} @@ -68,7 +68,7 @@ Use the [Java Keys enum](https://github.com/SeleniumHQ/selenium/blob/selenium-4. ## Key up -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/KeysTest.java#L30-L35" >}} {{< /tab >}} @@ -97,7 +97,7 @@ primarily this gets used when needing to type multiple characters in the middle ### Active Element -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/KeysTest.java#L45-L47" >}} {{< /tab >}} @@ -120,7 +120,7 @@ primarily this gets used when needing to type multiple characters in the middle ### Designated Element -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/KeysTest.java#L59-L62" >}} {{< /tab >}} @@ -148,7 +148,7 @@ Here's an example of using all of the above methods to conduct a copy / paste ac Note that the key to use for this operation will be different depending on if it is a Mac OS or not. This code will end up with the text: `SeleniumSelenium!` -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/KeysTest.java#L70-L84" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/actions_api/keyboard.ja.md b/website_and_docs/content/documentation/webdriver/actions_api/keyboard.ja.md index 8b1dfabe62c7..e9bf2ad9d3a6 100644 --- a/website_and_docs/content/documentation/webdriver/actions_api/keyboard.ja.md +++ b/website_and_docs/content/documentation/webdriver/actions_api/keyboard.ja.md @@ -22,7 +22,7 @@ unicode values have been assigned to other keyboard keys for use with Selenium. Each language has its own way to reference these keys; the full list can be found [here](https://www.w3.org/TR/webdriver/#keyboard-actions). -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} Use the [Java Keys enum](https://github.com/SeleniumHQ/selenium/blob/selenium-4.2.0/java/src/org/openqa/selenium/Keys.java#L28) {{< /tab >}} @@ -45,7 +45,7 @@ Use the [Java Keys enum](https://github.com/SeleniumHQ/selenium/blob/selenium-4. ## Key down -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/KeysTest.java#L17-L20" >}} {{< /tab >}} @@ -68,7 +68,7 @@ Use the [Java Keys enum](https://github.com/SeleniumHQ/selenium/blob/selenium-4. ## Key up -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/KeysTest.java#L30-L35" >}} {{< /tab >}} @@ -97,7 +97,7 @@ primarily this gets used when needing to type multiple characters in the middle ### Active Element -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/KeysTest.java#L45-L47" >}} {{< /tab >}} @@ -120,7 +120,7 @@ primarily this gets used when needing to type multiple characters in the middle ### Designated Element -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/KeysTest.java#L59-L62" >}} {{< /tab >}} @@ -148,7 +148,7 @@ Here's an example of using all of the above methods to conduct a copy / paste ac Note that the key to use for this operation will be different depending on if it is a Mac OS or not. This code will end up with the text: `SeleniumSelenium!` -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/KeysTest.java#L70-L84" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/actions_api/keyboard.pt-br.md b/website_and_docs/content/documentation/webdriver/actions_api/keyboard.pt-br.md index ca5355150ea4..b09e78d854fb 100644 --- a/website_and_docs/content/documentation/webdriver/actions_api/keyboard.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/actions_api/keyboard.pt-br.md @@ -17,7 +17,7 @@ Existem apenas 2 ações que podem ser realizadas com um teclado: pressionar uma Além das teclas representadas pelo Unicode regular, valores Unicode foram atribuídos a outras teclas de teclado para uso com o Selenium. Cada linguagem tem sua própria maneira de fazer referência a essas teclas; a lista completa pode ser encontrada [aqui](https://www.w3.org/TR/webdriver/#keyboard-actions). -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} Use the [Java Keys enum](https://github.com/SeleniumHQ/selenium/blob/selenium-4.2.0/java/src/org/openqa/selenium/Keys.java#L28) {{< /tab >}} @@ -40,7 +40,7 @@ Use the [Java Keys enum](https://github.com/SeleniumHQ/selenium/blob/selenium-4. ## Pressione a tecla -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/KeysTest.java#L17-L20" >}} {{< /tab >}} @@ -63,7 +63,7 @@ Use the [Java Keys enum](https://github.com/SeleniumHQ/selenium/blob/selenium-4. ## Liberar a tecla -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/KeysTest.java#L30-L35" >}} {{< /tab >}} @@ -92,7 +92,7 @@ primarily this gets used when needing to type multiple characters in the middle ### Elemento Ativo -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/KeysTest.java#L45-L47" >}} {{< /tab >}} @@ -115,7 +115,7 @@ primarily this gets used when needing to type multiple characters in the middle ### Elemento Designado -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/KeysTest.java#L59-L62" >}} {{< /tab >}} @@ -141,7 +141,7 @@ primarily this gets used when needing to type multiple characters in the middle Aqui está um exemplo de uso de todos os métodos acima para realizar uma ação de copiar/colar. Note que a tecla a ser usada para essa operação será diferente, dependendo se for um sistema Mac OS ou não. Este código resultará no texto: `SeleniumSelenium!` -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/KeysTest.java#L70-L84" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/actions_api/keyboard.zh-cn.md b/website_and_docs/content/documentation/webdriver/actions_api/keyboard.zh-cn.md index d72d13e8bbc4..7e904a884e18 100644 --- a/website_and_docs/content/documentation/webdriver/actions_api/keyboard.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/actions_api/keyboard.zh-cn.md @@ -23,7 +23,7 @@ aliases: [ [这里](https://www.w3.org/TR/webdriver/#keyboard-actions) 可以找到完整列表 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Use the [Java Keys enum](https://github.com/SeleniumHQ/selenium/blob/selenium-4.2.0/java/src/org/openqa/selenium/Keys.java#L28) {{% /tab %}} @@ -46,7 +46,7 @@ Use the [Java Keys enum](https://github.com/SeleniumHQ/selenium/blob/selenium-4. ## 按下按键 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/KeysTest.java#L17-L20" >}} {{< /tab >}} @@ -69,7 +69,7 @@ Use the [Java Keys enum](https://github.com/SeleniumHQ/selenium/blob/selenium-4. ## 释放按键 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/KeysTest.java#L30-L35" >}} {{< /tab >}} @@ -99,7 +99,7 @@ Use the [Java Keys enum](https://github.com/SeleniumHQ/selenium/blob/selenium-4. ### 活跃元素 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/KeysTest.java#L45-L47" >}} {{< /tab >}} @@ -122,7 +122,7 @@ Use the [Java Keys enum](https://github.com/SeleniumHQ/selenium/blob/selenium-4. ### 指定元素 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/KeysTest.java#L59-L62" >}} {{< /tab >}} @@ -150,7 +150,7 @@ Use the [Java Keys enum](https://github.com/SeleniumHQ/selenium/blob/selenium-4. 请注意, 用于此操作的键位会有所不同, 具体取决于它是否是 Mac OS. 此代码将以文本收尾: `SeleniumSelenium!` -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/KeysTest.java#L70-L84" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/actions_api/mouse.en.md b/website_and_docs/content/documentation/webdriver/actions_api/mouse.en.md index ac74703e468a..5e9f5c33407d 100644 --- a/website_and_docs/content/documentation/webdriver/actions_api/mouse.en.md +++ b/website_and_docs/content/documentation/webdriver/actions_api/mouse.en.md @@ -20,7 +20,7 @@ Selenium provides convenience methods that combine these actions in the most com This method combines moving the mouse to the center of an element with pressing the left mouse button. This is useful for focusing a specific element: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L22-L25" >}} {{< /tab >}} @@ -46,7 +46,7 @@ This is useful for focusing a specific element: This method combines moving to the center of an element with pressing and releasing the left mouse button. This is otherwise known as "clicking": -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L34-L37" >}} {{< /tab >}} @@ -81,7 +81,7 @@ There are a total of 5 defined buttons for a Mouse: This method combines moving to the center of an element with pressing and releasing the right mouse button (button 2). This is otherwise known as "right-clicking": -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L46-L49" >}} {{< /tab >}} @@ -106,7 +106,7 @@ This is otherwise known as "right-clicking": There is no convenience method for this, it is just pressing and releasing mouse button 3 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L60-L66" >}} {{< /tab >}} @@ -135,7 +135,7 @@ There is no convenience method for this, it is just pressing and releasing mouse There is no convenience method for this, it is just pressing and releasing mouse button 4 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L78-L84" >}} {{< /tab >}} @@ -164,7 +164,7 @@ There is no convenience method for this, it is just pressing and releasing mouse This method combines moving to the center of an element with pressing and releasing the left mouse button twice. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L93-L96" >}} {{< /tab >}} @@ -191,7 +191,7 @@ This method moves the mouse to the in-view center point of the element. This is otherwise known as "hovering." Note that the element must be in the viewport or else the command will error. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L105-L108" >}} {{< /tab >}} @@ -223,7 +223,7 @@ Note that the position of the mouse must be in the viewport or else the command This method moves the mouse to the in-view center point of the element, then moves by the provided offset. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L118-L121" >}} {{< /tab >}} @@ -249,7 +249,7 @@ then moves by the provided offset. This method moves the mouse from the upper left corner of the current viewport by the provided offset. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L131-L136" >}} {{< /tab >}} @@ -281,7 +281,7 @@ Note that the first argument X specifies to move right when positive, while the Y specifies to move down when positive. So `moveByOffset(30, -10)` moves right 30 and up 10 from the current mouse position. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L153-L155" >}} {{< /tab >}} @@ -307,7 +307,7 @@ the current mouse position. This method firstly performs a click-and-hold on the source element, moves to the location of the target element and then releases the mouse. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L166-L170" >}} {{< /tab >}} @@ -332,7 +332,7 @@ moves to the location of the target element and then releases the mouse. This method firstly performs a click-and-hold on the source element, moves to the given offset and then releases the mouse. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L179-L184" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/actions_api/mouse.ja.md b/website_and_docs/content/documentation/webdriver/actions_api/mouse.ja.md index 9875941d0020..c560084de5a2 100644 --- a/website_and_docs/content/documentation/webdriver/actions_api/mouse.ja.md +++ b/website_and_docs/content/documentation/webdriver/actions_api/mouse.ja.md @@ -20,7 +20,7 @@ Selenium provides convenience methods that combine these actions in the most com This method combines moving the mouse to the center of an element with pressing the left mouse button. This is useful for focusing a specific element: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L22-L25" >}} {{< /tab >}} @@ -46,7 +46,7 @@ This is useful for focusing a specific element: This method combines moving to the center of an element with pressing and releasing the left mouse button. This is otherwise known as "clicking": -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L34-L37" >}} {{< /tab >}} @@ -81,7 +81,7 @@ There are a total of 5 defined buttons for a Mouse: This method combines moving to the center of an element with pressing and releasing the right mouse button (button 2). This is otherwise known as "right-clicking": -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L46-L49" >}} {{< /tab >}} @@ -106,7 +106,7 @@ This is otherwise known as "right-clicking": There is no convenience method for this, it is just pressing and releasing mouse button 3 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L60-L66" >}} {{< /tab >}} @@ -135,7 +135,7 @@ There is no convenience method for this, it is just pressing and releasing mouse There is no convenience method for this, it is just pressing and releasing mouse button 4 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L78-L84" >}} {{< /tab >}} @@ -164,7 +164,7 @@ There is no convenience method for this, it is just pressing and releasing mouse This method combines moving to the center of an element with pressing and releasing the left mouse button twice. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L93-L96" >}} {{< /tab >}} @@ -191,7 +191,7 @@ This method moves the mouse to the in-view center point of the element. This is otherwise known as "hovering." Note that the element must be in the viewport or else the command will error. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L105-L108" >}} {{< /tab >}} @@ -223,7 +223,7 @@ Note that the position of the mouse must be in the viewport or else the command This method moves the mouse to the in-view center point of the element, then moves by the provided offset. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L118-L121" >}} {{< /tab >}} @@ -249,7 +249,7 @@ then moves by the provided offset. This method moves the mouse from the upper left corner of the current viewport by the provided offset. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L131-L136" >}} {{< /tab >}} @@ -281,7 +281,7 @@ Note that the first argument X specifies to move right when positive, while the Y specifies to move down when positive. So `moveByOffset(30, -10)` moves right 30 and up 10 from the current mouse position. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L153-L155" >}} {{< /tab >}} @@ -307,7 +307,7 @@ the current mouse position. This method firstly performs a click-and-hold on the source element, moves to the location of the target element and then releases the mouse. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L166-L170" >}} {{< /tab >}} @@ -332,7 +332,7 @@ moves to the location of the target element and then releases the mouse. This method firstly performs a click-and-hold on the source element, moves to the given offset and then releases the mouse. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L179-L184" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/actions_api/mouse.pt-br.md b/website_and_docs/content/documentation/webdriver/actions_api/mouse.pt-br.md index 75315131b97d..9259b152daae 100644 --- a/website_and_docs/content/documentation/webdriver/actions_api/mouse.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/actions_api/mouse.pt-br.md @@ -17,7 +17,7 @@ Existem apenas 3 ações que podem ser realizadas com um mouse: pressionar um bo Este método combina mover o mouse para o centro de um elemento com a pressão do botão esquerdo do mouse. Isso é útil para focar em um elemento específico: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L22-L25" >}} {{< /tab >}} @@ -42,7 +42,7 @@ Este método combina mover o mouse para o centro de um elemento com a pressão d Este método combina mover o mouse para o centro de um elemento com a pressão e liberação do botão esquerdo do mouse. Isso é conhecido como "clicar": -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L34-L37" >}} {{< /tab >}} @@ -78,7 +78,7 @@ Existem um total de 5 botões definidos para um mouse: Este método combina mover o mouse para o centro de um elemento com a pressão e liberação do botão direito do mouse (botão 2). Isso é conhecido como "clicar com o botão direito" ou "menu de contexto" -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L46-L49" >}} {{< /tab >}} @@ -103,7 +103,7 @@ Este método combina mover o mouse para o centro de um elemento com a pressão e Este termo pode se referir a um clique com o botão X1 (botão de voltar) do mouse. No entanto, essa terminologia específica pode variar dependendo do contexto. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L60-L66" >}} {{< /tab >}} @@ -132,7 +132,7 @@ Este termo pode se referir a um clique com o botão X1 (botão de voltar) do mou Este termo se refere a um clique com o botão X2 (botão de avançar) do mouse. Não existe um método de conveniência específico para essa ação, sendo apenas a pressão e liberação do botão do mouse de número 4. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L78-L84" >}} {{< /tab >}} @@ -161,7 +161,7 @@ Este termo se refere a um clique com o botão X2 (botão de avançar) do mouse. Este método combina mover o mouse para o centro de um elemento com a pressão e liberação do botão esquerdo do mouse duas vezes. Isso é conhecido como "duplo clique". -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L93-L96" >}} {{< /tab >}} @@ -186,7 +186,7 @@ Este método combina mover o mouse para o centro de um elemento com a pressão e Este método move o mouse para o ponto central do elemento que está visível na tela. Isso é conhecido como "hovering" ou "pairar". É importante observar que o elemento deve estar no viewport (área visível na tela) ou então o comando resultará em erro. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L105-L108" >}} {{< /tab >}} @@ -215,7 +215,7 @@ Esses métodos primeiro movem o mouse para a origem designada e, em seguida, pel Este método move o mouse para o ponto central do elemento visível na tela e, em seguida, move o mouse pelo deslocamento fornecido. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L118-L121" >}} {{< /tab >}} @@ -240,7 +240,7 @@ Este método move o mouse para o ponto central do elemento visível na tela e, e Este método move o mouse a partir do canto superior esquerdo da janela de visualização atual pelo deslocamento fornecido. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L131-L136" >}} {{< /tab >}} @@ -266,7 +266,7 @@ Este método move o mouse a partir de sua posição atual pelo deslocamento forn Observe que o primeiro argumento, X, especifica o movimento para a direita quando positivo, enquanto o segundo argumento, Y, especifica o movimento para baixo quando positivo. Portanto, `moveByOffset(30, -10)` move o mouse 30 unidades para a direita e 10 unidades para cima a partir da posição atual do mouse. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L153-L155" >}} {{< /tab >}} @@ -291,7 +291,7 @@ Observe que o primeiro argumento, X, especifica o movimento para a direita quand Este método primeiro realiza um clique e mantém pressionado no elemento de origem, move para a localização do elemento de destino e, em seguida, libera o botão do mouse. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L166-L170" >}} {{< /tab >}} @@ -316,7 +316,7 @@ Este método primeiro realiza um clique e mantém pressionado no elemento de ori Este método primeiro realiza um clique e mantém pressionado no elemento de origem, move para o deslocamento fornecido e, em seguida, libera o botão do mouse. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L179-L184" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/actions_api/mouse.zh-cn.md b/website_and_docs/content/documentation/webdriver/actions_api/mouse.zh-cn.md index 7fd43fb5f6cf..fe0d58dc58c7 100644 --- a/website_and_docs/content/documentation/webdriver/actions_api/mouse.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/actions_api/mouse.zh-cn.md @@ -20,7 +20,7 @@ Selenium provides convenience methods that combine these actions in the most com This method combines moving the mouse to the center of an element with pressing the left mouse button. This is useful for focusing a specific element: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L22-L25" >}} {{< /tab >}} @@ -46,7 +46,7 @@ This is useful for focusing a specific element: This method combines moving to the center of an element with pressing and releasing the left mouse button. This is otherwise known as "clicking": -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L34-L37" >}} {{< /tab >}} @@ -81,7 +81,7 @@ There are a total of 5 defined buttons for a Mouse: This method combines moving to the center of an element with pressing and releasing the right mouse button (button 2). This is otherwise known as "right-clicking": -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L46-L49" >}} {{< /tab >}} @@ -106,7 +106,7 @@ This is otherwise known as "right-clicking": There is no convenience method for this, it is just pressing and releasing mouse button 3 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L60-L66" >}} {{< /tab >}} @@ -135,7 +135,7 @@ There is no convenience method for this, it is just pressing and releasing mouse There is no convenience method for this, it is just pressing and releasing mouse button 4 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L78-L84" >}} {{< /tab >}} @@ -164,7 +164,7 @@ There is no convenience method for this, it is just pressing and releasing mouse This method combines moving to the center of an element with pressing and releasing the left mouse button twice. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L93-L96" >}} {{< /tab >}} @@ -191,7 +191,7 @@ This method moves the mouse to the in-view center point of the element. This is otherwise known as "hovering." Note that the element must be in the viewport or else the command will error. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L105-L108" >}} {{< /tab >}} @@ -223,7 +223,7 @@ Note that the position of the mouse must be in the viewport or else the command This method moves the mouse to the in-view center point of the element, then moves by the provided offset. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L118-L121" >}} {{< /tab >}} @@ -249,7 +249,7 @@ then moves by the provided offset. This method moves the mouse from the upper left corner of the current viewport by the provided offset. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L131-L136" >}} {{< /tab >}} @@ -281,7 +281,7 @@ Note that the first argument X specifies to move right when positive, while the Y specifies to move down when positive. So `moveByOffset(30, -10)` moves right 30 and up 10 from the current mouse position. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L153-L155" >}} {{< /tab >}} @@ -307,7 +307,7 @@ the current mouse position. This method firstly performs a click-and-hold on the source element, moves to the location of the target element and then releases the mouse. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L166-L170" >}} {{< /tab >}} @@ -332,7 +332,7 @@ moves to the location of the target element and then releases the mouse. This method firstly performs a click-and-hold on the source element, moves to the given offset and then releases the mouse. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/actions_api/MouseTest.java#L179-L184" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/actions_api/pen.en.md b/website_and_docs/content/documentation/webdriver/actions_api/pen.en.md index b3f7d6112ea3..b979c7b6f541 100644 --- a/website_and_docs/content/documentation/webdriver/actions_api/pen.en.md +++ b/website_and_docs/content/documentation/webdriver/actions_api/pen.en.md @@ -18,7 +18,7 @@ has 5 buttons, a pen has 3 equivalent button states: ## Using a Pen -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.2" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/PenTest.java#L26-L33" >}} @@ -46,7 +46,7 @@ has 5 buttons, a pen has 3 equivalent button states: {{< badge-version version="4.2" >}} -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/PenTest.java#L67-L81" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/actions_api/pen.ja.md b/website_and_docs/content/documentation/webdriver/actions_api/pen.ja.md index b3f7d6112ea3..b979c7b6f541 100644 --- a/website_and_docs/content/documentation/webdriver/actions_api/pen.ja.md +++ b/website_and_docs/content/documentation/webdriver/actions_api/pen.ja.md @@ -18,7 +18,7 @@ has 5 buttons, a pen has 3 equivalent button states: ## Using a Pen -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.2" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/PenTest.java#L26-L33" >}} @@ -46,7 +46,7 @@ has 5 buttons, a pen has 3 equivalent button states: {{< badge-version version="4.2" >}} -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/PenTest.java#L67-L81" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/actions_api/pen.pt-br.md b/website_and_docs/content/documentation/webdriver/actions_api/pen.pt-br.md index efc25c947b23..d112c2c30cc1 100644 --- a/website_and_docs/content/documentation/webdriver/actions_api/pen.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/actions_api/pen.pt-br.md @@ -16,7 +16,7 @@ Uma caneta é um tipo de entrada de ponteiro que possui a maior parte do mesmo c ## Usando uma Caneta -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.2" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/PenTest.java#L26-L33" >}} @@ -44,7 +44,7 @@ Uma caneta é um tipo de entrada de ponteiro que possui a maior parte do mesmo c {{< badge-version version="4.2" >}} -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/PenTest.java#L67-L81" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/actions_api/pen.zh-cn.md b/website_and_docs/content/documentation/webdriver/actions_api/pen.zh-cn.md index b3f7d6112ea3..b979c7b6f541 100644 --- a/website_and_docs/content/documentation/webdriver/actions_api/pen.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/actions_api/pen.zh-cn.md @@ -18,7 +18,7 @@ has 5 buttons, a pen has 3 equivalent button states: ## Using a Pen -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.2" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/PenTest.java#L26-L33" >}} @@ -46,7 +46,7 @@ has 5 buttons, a pen has 3 equivalent button states: {{< badge-version version="4.2" >}} -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/PenTest.java#L67-L81" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/actions_api/wheel.en.md b/website_and_docs/content/documentation/webdriver/actions_api/wheel.en.md index 5cdf11828e66..8cb6e6f78986 100644 --- a/website_and_docs/content/documentation/webdriver/actions_api/wheel.en.md +++ b/website_and_docs/content/documentation/webdriver/actions_api/wheel.en.md @@ -22,7 +22,7 @@ This method takes a web element as the sole argument. Regardless of whether the element is above or below the current viewscreen, the viewport will be scrolled so the bottom of the element is at the bottom of the screen. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/WheelTest.java#L17-L20" >}} {{< /tab >}} @@ -48,7 +48,7 @@ the viewport will be scrolled so the bottom of the element is at the bottom of t This is the second most common scenario for scrolling. Pass in an delta x and a delta y value for how much to scroll in the right and down directions. Negative values represent left and up, respectively. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/WheelTest.java#L29-L33" >}} {{< /tab >}} @@ -81,7 +81,7 @@ If the element is out of the viewport, it will be scrolled to the bottom of the screen, then the page will be scrolled by the provided delta x and delta y values. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/WheelTest.java#L42-L46" >}} {{< /tab >}} @@ -120,7 +120,7 @@ the page will be scrolled by the provided delta x and delta y values. Note that if the offset from the center of the element falls outside of the viewport, it will result in an exception. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/WheelTest.java#L57-L61" >}} {{< /tab >}} @@ -154,7 +154,7 @@ the page will be scrolled by the provided delta x and delta y values. Note that if the offset from the upper left corner of the viewport falls outside of the screen, it will result in an exception. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/WheelTest.java#L73-L76" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/actions_api/wheel.ja.md b/website_and_docs/content/documentation/webdriver/actions_api/wheel.ja.md index 5cdf11828e66..8cb6e6f78986 100644 --- a/website_and_docs/content/documentation/webdriver/actions_api/wheel.ja.md +++ b/website_and_docs/content/documentation/webdriver/actions_api/wheel.ja.md @@ -22,7 +22,7 @@ This method takes a web element as the sole argument. Regardless of whether the element is above or below the current viewscreen, the viewport will be scrolled so the bottom of the element is at the bottom of the screen. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/WheelTest.java#L17-L20" >}} {{< /tab >}} @@ -48,7 +48,7 @@ the viewport will be scrolled so the bottom of the element is at the bottom of t This is the second most common scenario for scrolling. Pass in an delta x and a delta y value for how much to scroll in the right and down directions. Negative values represent left and up, respectively. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/WheelTest.java#L29-L33" >}} {{< /tab >}} @@ -81,7 +81,7 @@ If the element is out of the viewport, it will be scrolled to the bottom of the screen, then the page will be scrolled by the provided delta x and delta y values. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/WheelTest.java#L42-L46" >}} {{< /tab >}} @@ -120,7 +120,7 @@ the page will be scrolled by the provided delta x and delta y values. Note that if the offset from the center of the element falls outside of the viewport, it will result in an exception. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/WheelTest.java#L57-L61" >}} {{< /tab >}} @@ -154,7 +154,7 @@ the page will be scrolled by the provided delta x and delta y values. Note that if the offset from the upper left corner of the viewport falls outside of the screen, it will result in an exception. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/WheelTest.java#L73-L76" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/actions_api/wheel.pt-br.md b/website_and_docs/content/documentation/webdriver/actions_api/wheel.pt-br.md index 72834952f36d..134ac01f73f6 100644 --- a/website_and_docs/content/documentation/webdriver/actions_api/wheel.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/actions_api/wheel.pt-br.md @@ -19,7 +19,7 @@ Este método recebe um elemento da web como único argumento. Independentemente de o elemento estar acima ou abaixo da tela de visualização atual, a janela de visualização será rolada de forma que a parte inferior do elemento esteja na parte inferior da tela. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/WheelTest.java#L17-L20" >}} {{< /tab >}} @@ -44,7 +44,7 @@ Independentemente de o elemento estar acima ou abaixo da tela de visualização Este é o segundo cenário mais comum para a rolagem. Passe um valor delta x e um valor delta y para o quanto rolar nas direções direita e para baixo. Valores negativos representam esquerda e para cima, respectivamente. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/WheelTest.java#L29-L33" >}} {{< /tab >}} @@ -73,7 +73,7 @@ Para executar isso, use o método "Rolar a Partir de", que recebe 3 argumentos. Se o elemento estiver fora da janela de visualização, ele será rolado para a parte inferior da tela e, em seguida, a página será rolada pelos valores delta x e delta y fornecidos. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/WheelTest.java#L42-L46" >}} {{< /tab >}} @@ -104,7 +104,7 @@ Se o elemento estiver fora da janela de visualização, primeiro ele será rolad Observe que se o deslocamento a partir do centro do elemento estiver fora da janela de visualização, isso resultará em uma exceção. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/WheelTest.java#L57-L61" >}} {{< /tab >}} @@ -133,7 +133,7 @@ Isso utiliza novamente o método "Rolar a Partir", mas a janela de visualizaçã Observe que se o deslocamento a partir do canto superior esquerdo da janela de visualização sair da tela, isso resultará em uma exceção. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/WheelTest.java#L73-L76" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/actions_api/wheel.zh-cn.md b/website_and_docs/content/documentation/webdriver/actions_api/wheel.zh-cn.md index 5cdf11828e66..8cb6e6f78986 100644 --- a/website_and_docs/content/documentation/webdriver/actions_api/wheel.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/actions_api/wheel.zh-cn.md @@ -22,7 +22,7 @@ This method takes a web element as the sole argument. Regardless of whether the element is above or below the current viewscreen, the viewport will be scrolled so the bottom of the element is at the bottom of the screen. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/WheelTest.java#L17-L20" >}} {{< /tab >}} @@ -48,7 +48,7 @@ the viewport will be scrolled so the bottom of the element is at the bottom of t This is the second most common scenario for scrolling. Pass in an delta x and a delta y value for how much to scroll in the right and down directions. Negative values represent left and up, respectively. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/WheelTest.java#L29-L33" >}} {{< /tab >}} @@ -81,7 +81,7 @@ If the element is out of the viewport, it will be scrolled to the bottom of the screen, then the page will be scrolled by the provided delta x and delta y values. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/WheelTest.java#L42-L46" >}} {{< /tab >}} @@ -120,7 +120,7 @@ the page will be scrolled by the provided delta x and delta y values. Note that if the offset from the center of the element falls outside of the viewport, it will result in an exception. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/WheelTest.java#L57-L61" >}} {{< /tab >}} @@ -154,7 +154,7 @@ the page will be scrolled by the provided delta x and delta y values. Note that if the offset from the upper left corner of the viewport falls outside of the screen, it will result in an exception. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/actions_api/WheelTest.java#L73-L76" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/bidi_api.en.md b/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/bidi_api.en.md index 166f63c4d142..da625febd386 100644 --- a/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/bidi_api.en.md +++ b/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/bidi_api.en.md @@ -29,7 +29,7 @@ Alternate implementations can be found at [CDP Endpoint Basic Authentication]({{< ref "cdp_endpoint#basic-authentication" >}}) and [CDP API Basic Authentication]({{< ref "cdp_api#basic-authentication" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/BidiApiTest.java#L36-L39" >}} {{% /tab %}} @@ -85,7 +85,7 @@ whenever you check the visibility of an element, or whenever you use the classic get attribute method, Selenium is sending the contents of a js file to the script execution endpoint. These files are each about 50kB, which adds up. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-implementation >}} {{% /tab %}} @@ -113,8 +113,8 @@ Mutation Observation is the ability to capture events via WebDriver BiDi when there are DOM mutations on a specific element in the DOM. -{{< tabpane text=true langEqualsHeader=true >}} - {{% tab text=true header="Java" %}} +{{< tabpane text=true >}} + {{% tab header="Java" %}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/BidiApiTest.java#L64-L65" >}} {{% /tab %}} {{% tab header="Python" %}} @@ -156,7 +156,7 @@ const assert = require("assert"); }()) ``` {{% /tab %}} - {{< tab header="Kotlin" text=true >}} + {{< tab header="Kotlin" >}} {{< badge-code >}} {{< /tab >}} {{< /tabpane >}} @@ -169,7 +169,7 @@ Listen to the `console.log` events and register callbacks to process the event. [CDP API Console logs]({{< ref "cdp_api#console-logs-and-errors" >}}) and [WebDriver BiDi Console logs]({{< ref "../webdriver_bidi/log#console-logs" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Use the [WebDriver BiDi Console logs]({{< ref "../webdriver_bidi/log#console-logs" >}}) implementation. `HasLogEvents` will likely end up deprecated because it does not implement `Closeable`. @@ -237,7 +237,7 @@ fun kotlinConsoleLogExample() { Listen to the JS Exceptions and register callbacks to process the exception details. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Use the [WebDriver BiDi JavaScript exceptions]({{< ref "../webdriver_bidi/log#javascript-exceptions" >}}) implementation {{% /tab %}} @@ -265,7 +265,7 @@ Both requests and responses can be recorded or transformed. #### Response information -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/BidiApiTest.java#L90-L101" >}} {{% /tab %}} @@ -288,14 +288,14 @@ Both requests and responses can be recorded or transformed. #### Response transformation -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/BidiApiTest.java#L111-L121" >}} {{< /tab >}} {{< tab header="Python" >}} {{< badge-implementation >}} {{< /tab >}} -{{< tab header="CSharp" text=true >}} +{{< tab header="CSharp" >}} {{< gh-codeblock path="/examples/dotnet/SeleniumDocs/Bidirectional/ChromeDevtools/BidiApiTest.cs#L143-L156" >}} {{< /tab >}} {{< tab header="Ruby" >}} @@ -337,7 +337,7 @@ val interceptor = new NetworkInterceptor( #### Request interception -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-implementation >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/bidi_api.ja.md b/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/bidi_api.ja.md index d428ec25a4fb..659735eeaae2 100644 --- a/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/bidi_api.ja.md +++ b/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/bidi_api.ja.md @@ -29,7 +29,7 @@ Alternate implementations can be found at [CDP Endpoint Basic Authentication]({{< ref "cdp_endpoint#basic-authentication" >}}) and [CDP API Basic Authentication]({{< ref "cdp_api#basic-authentication" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/BidiApiTest.java#L36-L39" >}} {{% /tab %}} @@ -87,7 +87,7 @@ whenever you check the visibility of an element, or whenever you use the classic get attribute method, Selenium is sending the contents of a js file to the script execution endpoint. These files are each about 50kB, which adds up. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-implementation >}} {{% /tab %}} @@ -115,8 +115,8 @@ Mutation Observation is the ability to capture events via WebDriver BiDi when there are DOM mutations on a specific element in the DOM. -{{< tabpane text=true langEqualsHeader=true >}} - {{% tab text=true header="Java" %}} +{{< tabpane text=true >}} + {{% tab header="Java" %}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/BidiApiTest.java#L64-L65" >}} {{% /tab %}} {{% tab header="Python" %}} @@ -158,7 +158,7 @@ const assert = require("assert"); }()) ``` {{% /tab %}} - {{< tab header="Kotlin" text=true >}} + {{< tab header="Kotlin" >}} {{< badge-code >}} {{< /tab >}} {{< /tabpane >}} @@ -171,7 +171,7 @@ Listen to the `console.log` events and register callbacks to process the event. [CDP API Console logs]({{< ref "cdp_api#console-logs-and-errors" >}}) and [WebDriver BiDi Console logs]({{< ref "../webdriver_bidi/log#console-logs" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Use the [WebDriver BiDi Console logs]({{< ref "../webdriver_bidi/log#console-logs" >}}) implementation. `HasLogEvents` will likely end up deprecated because it does not implement `Closeable`. @@ -239,7 +239,7 @@ fun kotlinConsoleLogExample() { Listen to the JS Exceptions and register callbacks to process the exception details. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Use the [WebDriver BiDi JavaScript exceptions]({{< ref "../webdriver_bidi/log#javascript-exceptions" >}}) implementation {{% /tab %}} @@ -267,7 +267,7 @@ Both requests and responses can be recorded or transformed. #### Response information -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/BidiApiTest.java#L90-L101" >}} {{% /tab %}} @@ -290,14 +290,14 @@ Both requests and responses can be recorded or transformed. #### Response transformation -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/BidiApiTest.java#L111-L121" >}} {{< /tab >}} {{< tab header="Python" >}} {{< badge-implementation >}} {{< /tab >}} -{{< tab header="CSharp" text=true >}} +{{< tab header="CSharp" >}} {{< gh-codeblock path="/examples/dotnet/SeleniumDocs/Bidirectional/ChromeDevtools/BidiApiTest.cs#L143-L156" >}} {{< /tab >}} {{< tab header="Ruby" >}} @@ -339,7 +339,7 @@ val interceptor = new NetworkInterceptor( #### Request interception -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-implementation >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/bidi_api.pt-br.md b/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/bidi_api.pt-br.md index 3f037b4016da..b0174aef9bb8 100644 --- a/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/bidi_api.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/bidi_api.pt-br.md @@ -25,7 +25,7 @@ Alternate implementations can be found at [CDP Endpoint Basic Authentication]({{< ref "cdp_endpoint#basic-authentication" >}}) and [CDP API Basic Authentication]({{< ref "cdp_api#basic-authentication" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/BidiApiTest.java#L36-L39" >}} {{% /tab %}} @@ -80,7 +80,7 @@ whenever you check the visibility of an element, or whenever you use the classic get attribute method, Selenium is sending the contents of a js file to the script execution endpoint. These files are each about 50kB, which adds up. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-implementation >}} {{% /tab %}} @@ -106,8 +106,8 @@ to the script execution endpoint. These files are each about 50kB, which adds up Mutation Observation(Observação de Mutação) é a capacidade de capturar eventos via WebDriver BiDi quando há mutações DOM em um elemento específico no DOM. -{{< tabpane text=true langEqualsHeader=true >}} - {{% tab text=true header="Java" %}} +{{< tabpane text=true >}} + {{% tab header="Java" %}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/BidiApiTest.java#L64-L65" >}} {{% /tab %}} {{% tab header="Python" %}} @@ -149,7 +149,7 @@ const assert = require("assert"); }()) ``` {{% /tab %}} - {{< tab header="Kotlin" text=true >}} + {{< tab header="Kotlin" >}} {{< badge-code >}} {{< /tab >}} {{< /tabpane >}} @@ -161,7 +161,7 @@ Vigie os eventos `console.log` e registre os callbacks(retornos de chamada) para [CDP API Console logs]({{< ref "cdp_api#console-logs-and-errors" >}}) and [WebDriver BiDi Console logs]({{< ref "../webdriver_bidi/log#console-logs" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Use the [WebDriver BiDi Console logs]({{< ref "../webdriver_bidi/log#console-logs" >}}) implementation. `HasLogEvents` will likely end up deprecated because it does not implement `Closeable`. @@ -228,7 +228,7 @@ fun kotlinConsoleLogExample() { Vigie as exceções JS e registre callbacks(retornos de chamada) para processar os detalhes da exceção. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Use the [WebDriver BiDi JavaScript exceptions]({{< ref "../webdriver_bidi/log#javascript-exceptions" >}}) implementation {{% /tab %}} @@ -256,7 +256,7 @@ Both requests and responses can be recorded or transformed. #### Response information -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/BidiApiTest.java#L90-L101" >}} {{% /tab %}} @@ -279,14 +279,14 @@ Both requests and responses can be recorded or transformed. #### Response transformation -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/BidiApiTest.java#L111-L121" >}} {{< /tab >}} {{< tab header="Python" >}} {{< badge-implementation >}} {{< /tab >}} -{{< tab header="CSharp" text=true >}} +{{< tab header="CSharp" >}} {{< gh-codeblock path="/examples/dotnet/SeleniumDocs/Bidirectional/ChromeDevtools/BidiApiTest.cs#L143-L156" >}} {{< /tab >}} {{< tab header="Ruby" >}} @@ -328,7 +328,7 @@ val interceptor = new NetworkInterceptor( #### Request interception -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-implementation >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/bidi_api.zh-cn.md b/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/bidi_api.zh-cn.md index 166f63c4d142..da625febd386 100644 --- a/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/bidi_api.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/bidi_api.zh-cn.md @@ -29,7 +29,7 @@ Alternate implementations can be found at [CDP Endpoint Basic Authentication]({{< ref "cdp_endpoint#basic-authentication" >}}) and [CDP API Basic Authentication]({{< ref "cdp_api#basic-authentication" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/BidiApiTest.java#L36-L39" >}} {{% /tab %}} @@ -85,7 +85,7 @@ whenever you check the visibility of an element, or whenever you use the classic get attribute method, Selenium is sending the contents of a js file to the script execution endpoint. These files are each about 50kB, which adds up. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-implementation >}} {{% /tab %}} @@ -113,8 +113,8 @@ Mutation Observation is the ability to capture events via WebDriver BiDi when there are DOM mutations on a specific element in the DOM. -{{< tabpane text=true langEqualsHeader=true >}} - {{% tab text=true header="Java" %}} +{{< tabpane text=true >}} + {{% tab header="Java" %}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/BidiApiTest.java#L64-L65" >}} {{% /tab %}} {{% tab header="Python" %}} @@ -156,7 +156,7 @@ const assert = require("assert"); }()) ``` {{% /tab %}} - {{< tab header="Kotlin" text=true >}} + {{< tab header="Kotlin" >}} {{< badge-code >}} {{< /tab >}} {{< /tabpane >}} @@ -169,7 +169,7 @@ Listen to the `console.log` events and register callbacks to process the event. [CDP API Console logs]({{< ref "cdp_api#console-logs-and-errors" >}}) and [WebDriver BiDi Console logs]({{< ref "../webdriver_bidi/log#console-logs" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Use the [WebDriver BiDi Console logs]({{< ref "../webdriver_bidi/log#console-logs" >}}) implementation. `HasLogEvents` will likely end up deprecated because it does not implement `Closeable`. @@ -237,7 +237,7 @@ fun kotlinConsoleLogExample() { Listen to the JS Exceptions and register callbacks to process the exception details. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Use the [WebDriver BiDi JavaScript exceptions]({{< ref "../webdriver_bidi/log#javascript-exceptions" >}}) implementation {{% /tab %}} @@ -265,7 +265,7 @@ Both requests and responses can be recorded or transformed. #### Response information -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/BidiApiTest.java#L90-L101" >}} {{% /tab %}} @@ -288,14 +288,14 @@ Both requests and responses can be recorded or transformed. #### Response transformation -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/BidiApiTest.java#L111-L121" >}} {{< /tab >}} {{< tab header="Python" >}} {{< badge-implementation >}} {{< /tab >}} -{{< tab header="CSharp" text=true >}} +{{< tab header="CSharp" >}} {{< gh-codeblock path="/examples/dotnet/SeleniumDocs/Bidirectional/ChromeDevtools/BidiApiTest.cs#L143-L156" >}} {{< /tab >}} {{< tab header="Ruby" >}} @@ -337,7 +337,7 @@ val interceptor = new NetworkInterceptor( #### Request interception -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-implementation >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_api.en.md b/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_api.en.md index d02a4f35a274..54cb54f6c961 100644 --- a/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_api.en.md +++ b/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_api.en.md @@ -27,7 +27,7 @@ especially in Ruby. An alternate implementation can be found at [CDP Endpoint Set Cookie]({{< ref "cdp_endpoint#set-cookie" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Because Java requires using all the parameters example, the Map approach used in [CDP Endpoint Set Cookie]({{< ref "cdp_endpoint#set-cookie" >}}) might be more simple. @@ -58,7 +58,7 @@ Due to the added complexity in .NET of obtaining the domains and executing with An alternate implementation can be found at [CDP Endpoint Performance Metrics]({{< ref "cdp_endpoint#performance-metrics" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L77-L81" >}} {{% /tab %}} @@ -89,7 +89,7 @@ Alternate implementations can be found at [CDP Endpoint Basic Authentication]({{< ref "cdp_endpoint#basic-authentication" >}}) and [BiDi API Basic Authentication]({{< ref "bidi_api#basic-authentication" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} The [BiDi API Basic Authentication]({{< ref "bidi_api#basic-authentication" >}}) implementation should be preferred {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L94-L101" >}} @@ -124,7 +124,7 @@ Alternate implementations can be found at [BiDi API Console logs and errors]({{< ref "bidi_api#console-logs-and-errors" >}}) and [WebDriver BiDi Console logs]({{< ref "../webdriver_bidi/log#console-logs" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Use the [WebDriver BiDi Console logs]({{< ref "../webdriver_bidi/log#console-logs" >}}) implementation {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L114-L121" >}} @@ -156,7 +156,7 @@ Alternate implementations can be found at [BiDi API JavaScript exceptions]({{< ref "bidi_api#javascript-exceptions" >}}) and [WebDriver BiDi JavaScript exceptions]({{< ref "../webdriver_bidi/log#javascript-exceptions" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Use the [WebDriver BiDi JavaScript exceptions]({{< ref "../webdriver_bidi/log#javascript-exceptions" >}}) implementation {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L133-L138" >}} @@ -186,7 +186,7 @@ Use the [BiDi API JavaScript exceptions]({{< ref "bidi_api#javascript-exceptions Wait for a download to finish before continuing. Because getting download status requires setting a listener, this cannot be done with a CDP Endpoint implementation. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L150-L162" >}} {{% /tab %}} diff --git a/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_api.ja.md b/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_api.ja.md index d02a4f35a274..54cb54f6c961 100644 --- a/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_api.ja.md +++ b/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_api.ja.md @@ -27,7 +27,7 @@ especially in Ruby. An alternate implementation can be found at [CDP Endpoint Set Cookie]({{< ref "cdp_endpoint#set-cookie" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Because Java requires using all the parameters example, the Map approach used in [CDP Endpoint Set Cookie]({{< ref "cdp_endpoint#set-cookie" >}}) might be more simple. @@ -58,7 +58,7 @@ Due to the added complexity in .NET of obtaining the domains and executing with An alternate implementation can be found at [CDP Endpoint Performance Metrics]({{< ref "cdp_endpoint#performance-metrics" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L77-L81" >}} {{% /tab %}} @@ -89,7 +89,7 @@ Alternate implementations can be found at [CDP Endpoint Basic Authentication]({{< ref "cdp_endpoint#basic-authentication" >}}) and [BiDi API Basic Authentication]({{< ref "bidi_api#basic-authentication" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} The [BiDi API Basic Authentication]({{< ref "bidi_api#basic-authentication" >}}) implementation should be preferred {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L94-L101" >}} @@ -124,7 +124,7 @@ Alternate implementations can be found at [BiDi API Console logs and errors]({{< ref "bidi_api#console-logs-and-errors" >}}) and [WebDriver BiDi Console logs]({{< ref "../webdriver_bidi/log#console-logs" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Use the [WebDriver BiDi Console logs]({{< ref "../webdriver_bidi/log#console-logs" >}}) implementation {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L114-L121" >}} @@ -156,7 +156,7 @@ Alternate implementations can be found at [BiDi API JavaScript exceptions]({{< ref "bidi_api#javascript-exceptions" >}}) and [WebDriver BiDi JavaScript exceptions]({{< ref "../webdriver_bidi/log#javascript-exceptions" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Use the [WebDriver BiDi JavaScript exceptions]({{< ref "../webdriver_bidi/log#javascript-exceptions" >}}) implementation {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L133-L138" >}} @@ -186,7 +186,7 @@ Use the [BiDi API JavaScript exceptions]({{< ref "bidi_api#javascript-exceptions Wait for a download to finish before continuing. Because getting download status requires setting a listener, this cannot be done with a CDP Endpoint implementation. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L150-L162" >}} {{% /tab %}} diff --git a/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_api.pt-br.md b/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_api.pt-br.md index d02a4f35a274..54cb54f6c961 100644 --- a/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_api.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_api.pt-br.md @@ -27,7 +27,7 @@ especially in Ruby. An alternate implementation can be found at [CDP Endpoint Set Cookie]({{< ref "cdp_endpoint#set-cookie" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Because Java requires using all the parameters example, the Map approach used in [CDP Endpoint Set Cookie]({{< ref "cdp_endpoint#set-cookie" >}}) might be more simple. @@ -58,7 +58,7 @@ Due to the added complexity in .NET of obtaining the domains and executing with An alternate implementation can be found at [CDP Endpoint Performance Metrics]({{< ref "cdp_endpoint#performance-metrics" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L77-L81" >}} {{% /tab %}} @@ -89,7 +89,7 @@ Alternate implementations can be found at [CDP Endpoint Basic Authentication]({{< ref "cdp_endpoint#basic-authentication" >}}) and [BiDi API Basic Authentication]({{< ref "bidi_api#basic-authentication" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} The [BiDi API Basic Authentication]({{< ref "bidi_api#basic-authentication" >}}) implementation should be preferred {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L94-L101" >}} @@ -124,7 +124,7 @@ Alternate implementations can be found at [BiDi API Console logs and errors]({{< ref "bidi_api#console-logs-and-errors" >}}) and [WebDriver BiDi Console logs]({{< ref "../webdriver_bidi/log#console-logs" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Use the [WebDriver BiDi Console logs]({{< ref "../webdriver_bidi/log#console-logs" >}}) implementation {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L114-L121" >}} @@ -156,7 +156,7 @@ Alternate implementations can be found at [BiDi API JavaScript exceptions]({{< ref "bidi_api#javascript-exceptions" >}}) and [WebDriver BiDi JavaScript exceptions]({{< ref "../webdriver_bidi/log#javascript-exceptions" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Use the [WebDriver BiDi JavaScript exceptions]({{< ref "../webdriver_bidi/log#javascript-exceptions" >}}) implementation {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L133-L138" >}} @@ -186,7 +186,7 @@ Use the [BiDi API JavaScript exceptions]({{< ref "bidi_api#javascript-exceptions Wait for a download to finish before continuing. Because getting download status requires setting a listener, this cannot be done with a CDP Endpoint implementation. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L150-L162" >}} {{% /tab %}} diff --git a/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_api.zh-cn.md b/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_api.zh-cn.md index d02a4f35a274..54cb54f6c961 100644 --- a/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_api.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_api.zh-cn.md @@ -27,7 +27,7 @@ especially in Ruby. An alternate implementation can be found at [CDP Endpoint Set Cookie]({{< ref "cdp_endpoint#set-cookie" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Because Java requires using all the parameters example, the Map approach used in [CDP Endpoint Set Cookie]({{< ref "cdp_endpoint#set-cookie" >}}) might be more simple. @@ -58,7 +58,7 @@ Due to the added complexity in .NET of obtaining the domains and executing with An alternate implementation can be found at [CDP Endpoint Performance Metrics]({{< ref "cdp_endpoint#performance-metrics" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L77-L81" >}} {{% /tab %}} @@ -89,7 +89,7 @@ Alternate implementations can be found at [CDP Endpoint Basic Authentication]({{< ref "cdp_endpoint#basic-authentication" >}}) and [BiDi API Basic Authentication]({{< ref "bidi_api#basic-authentication" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} The [BiDi API Basic Authentication]({{< ref "bidi_api#basic-authentication" >}}) implementation should be preferred {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L94-L101" >}} @@ -124,7 +124,7 @@ Alternate implementations can be found at [BiDi API Console logs and errors]({{< ref "bidi_api#console-logs-and-errors" >}}) and [WebDriver BiDi Console logs]({{< ref "../webdriver_bidi/log#console-logs" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Use the [WebDriver BiDi Console logs]({{< ref "../webdriver_bidi/log#console-logs" >}}) implementation {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L114-L121" >}} @@ -156,7 +156,7 @@ Alternate implementations can be found at [BiDi API JavaScript exceptions]({{< ref "bidi_api#javascript-exceptions" >}}) and [WebDriver BiDi JavaScript exceptions]({{< ref "../webdriver_bidi/log#javascript-exceptions" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Use the [WebDriver BiDi JavaScript exceptions]({{< ref "../webdriver_bidi/log#javascript-exceptions" >}}) implementation {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L133-L138" >}} @@ -186,7 +186,7 @@ Use the [BiDi API JavaScript exceptions]({{< ref "bidi_api#javascript-exceptions Wait for a download to finish before continuing. Because getting download status requires setting a listener, this cannot be done with a CDP Endpoint implementation. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpApiTest.java#L150-L162" >}} {{% /tab %}} diff --git a/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_endpoint.en.md b/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_endpoint.en.md index 4952fae2e0dd..b388d2ccdbb7 100644 --- a/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_endpoint.en.md +++ b/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_endpoint.en.md @@ -30,7 +30,7 @@ any actual asynchronous interactions require another implementation An alternate implementation can be found at [CDP API Set Cookie]({{< ref "cdp_api#set-cookie" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpEndpointTest.java#L26-32" >}} {{% /tab %}} @@ -56,7 +56,7 @@ The [CDP API Set Cookie]({{< ref "cdp_api#set-cookie" >}}) implementation should An alternate implementation can be found at [CDP API Performance Metrics]({{< ref "cdp_api#performance-metrics" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} The [CDP API Performance Metrics]({{< ref "cdp_api#performance-metrics" >}}) implementation should be preferred {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpEndpointTest.java#L43-L46" >}} @@ -84,7 +84,7 @@ The [CDP API Performance Metrics]({{< ref "cdp_api#performance-metrics" >}}) imp Alternate implementations can be found at [CDP API Basic Authentication]({{< ref "cdp_api#basic-authentication" >}}) and [BiDi API Basic Authentication]({{< ref "bidi_api#basic-authentication" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} The [BiDi API Basic Authentication]({{< ref "bidi_api#basic-authentication" >}}) implementation should be preferred {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpEndpointTest.java#L60-L66" >}} diff --git a/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_endpoint.ja.md b/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_endpoint.ja.md index 4952fae2e0dd..b388d2ccdbb7 100644 --- a/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_endpoint.ja.md +++ b/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_endpoint.ja.md @@ -30,7 +30,7 @@ any actual asynchronous interactions require another implementation An alternate implementation can be found at [CDP API Set Cookie]({{< ref "cdp_api#set-cookie" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpEndpointTest.java#L26-32" >}} {{% /tab %}} @@ -56,7 +56,7 @@ The [CDP API Set Cookie]({{< ref "cdp_api#set-cookie" >}}) implementation should An alternate implementation can be found at [CDP API Performance Metrics]({{< ref "cdp_api#performance-metrics" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} The [CDP API Performance Metrics]({{< ref "cdp_api#performance-metrics" >}}) implementation should be preferred {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpEndpointTest.java#L43-L46" >}} @@ -84,7 +84,7 @@ The [CDP API Performance Metrics]({{< ref "cdp_api#performance-metrics" >}}) imp Alternate implementations can be found at [CDP API Basic Authentication]({{< ref "cdp_api#basic-authentication" >}}) and [BiDi API Basic Authentication]({{< ref "bidi_api#basic-authentication" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} The [BiDi API Basic Authentication]({{< ref "bidi_api#basic-authentication" >}}) implementation should be preferred {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpEndpointTest.java#L60-L66" >}} diff --git a/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_endpoint.pt-br.md b/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_endpoint.pt-br.md index 4952fae2e0dd..b388d2ccdbb7 100644 --- a/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_endpoint.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_endpoint.pt-br.md @@ -30,7 +30,7 @@ any actual asynchronous interactions require another implementation An alternate implementation can be found at [CDP API Set Cookie]({{< ref "cdp_api#set-cookie" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpEndpointTest.java#L26-32" >}} {{% /tab %}} @@ -56,7 +56,7 @@ The [CDP API Set Cookie]({{< ref "cdp_api#set-cookie" >}}) implementation should An alternate implementation can be found at [CDP API Performance Metrics]({{< ref "cdp_api#performance-metrics" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} The [CDP API Performance Metrics]({{< ref "cdp_api#performance-metrics" >}}) implementation should be preferred {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpEndpointTest.java#L43-L46" >}} @@ -84,7 +84,7 @@ The [CDP API Performance Metrics]({{< ref "cdp_api#performance-metrics" >}}) imp Alternate implementations can be found at [CDP API Basic Authentication]({{< ref "cdp_api#basic-authentication" >}}) and [BiDi API Basic Authentication]({{< ref "bidi_api#basic-authentication" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} The [BiDi API Basic Authentication]({{< ref "bidi_api#basic-authentication" >}}) implementation should be preferred {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpEndpointTest.java#L60-L66" >}} diff --git a/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_endpoint.zh-cn.md b/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_endpoint.zh-cn.md index 4952fae2e0dd..b388d2ccdbb7 100644 --- a/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_endpoint.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/bidirectional/chrome_devtools/cdp_endpoint.zh-cn.md @@ -30,7 +30,7 @@ any actual asynchronous interactions require another implementation An alternate implementation can be found at [CDP API Set Cookie]({{< ref "cdp_api#set-cookie" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpEndpointTest.java#L26-32" >}} {{% /tab %}} @@ -56,7 +56,7 @@ The [CDP API Set Cookie]({{< ref "cdp_api#set-cookie" >}}) implementation should An alternate implementation can be found at [CDP API Performance Metrics]({{< ref "cdp_api#performance-metrics" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} The [CDP API Performance Metrics]({{< ref "cdp_api#performance-metrics" >}}) implementation should be preferred {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpEndpointTest.java#L43-L46" >}} @@ -84,7 +84,7 @@ The [CDP API Performance Metrics]({{< ref "cdp_api#performance-metrics" >}}) imp Alternate implementations can be found at [CDP API Basic Authentication]({{< ref "cdp_api#basic-authentication" >}}) and [BiDi API Basic Authentication]({{< ref "bidi_api#basic-authentication" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} The [BiDi API Basic Authentication]({{< ref "bidi_api#basic-authentication" >}}) implementation should be preferred {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/chrome_devtools/CdpEndpointTest.java#L60-L66" >}} diff --git a/website_and_docs/content/documentation/webdriver/bidirectional/webdriver_bidi/browsing_context.en.md b/website_and_docs/content/documentation/webdriver/bidirectional/webdriver_bidi/browsing_context.en.md index 1b3b8c4580fb..f2f0523e2fd7 100644 --- a/website_and_docs/content/documentation/webdriver/bidirectional/webdriver_bidi/browsing_context.en.md +++ b/website_and_docs/content/documentation/webdriver/bidirectional/webdriver_bidi/browsing_context.en.md @@ -13,7 +13,7 @@ This section contains the APIs related to browsing context commands. Creates a new browsing context in a new window. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L35" >}} @@ -33,7 +33,7 @@ Creates a new browsing context in a new window. Creates a new browsing context in a new tab. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L49" >}} @@ -53,7 +53,7 @@ Creates a new browsing context in a new tab. Creates a browsing context for the existing tab/window to run commands. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L28-L29" >}} @@ -74,7 +74,7 @@ Creates a browsing context for the existing tab/window to run commands. A reference browsing context is a [top-level browsing context](https://html.spec.whatwg.org/multipage/document-sequences.html#top-level-browsing-context). The API allows to pass the reference browsing context, which is used to create a new window. The implementation is operating system specific. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L41-L43" >}} @@ -94,7 +94,7 @@ The API allows to pass the reference browsing context, which is used to create a A reference browsing context is a [top-level browsing context](https://html.spec.whatwg.org/multipage/document-sequences.html#top-level-browsing-context). The API allows to pass the reference browsing context, which is used to create a new tab. The implementation is operating system specific. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L55-L57" >}} @@ -112,7 +112,7 @@ The API allows to pass the reference browsing context, which is used to create a ## Navigate to a URL -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L63-L65" >}} @@ -130,7 +130,7 @@ The API allows to pass the reference browsing context, which is used to create a ## Navigate to a URL with readiness state -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L74-L77" >}} @@ -150,7 +150,7 @@ The API allows to pass the reference browsing context, which is used to create a Provides a tree of all browsing contexts descending from the parent browsing context, including the parent browsing context. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L86-L91" >}} @@ -170,7 +170,7 @@ Provides a tree of all browsing contexts descending from the parent browsing con Provides a tree of all browsing contexts descending from the parent browsing context, including the parent browsing context upto the depth value passed. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L102-L105" >}} @@ -188,7 +188,7 @@ Provides a tree of all browsing contexts descending from the parent browsing con ## Get All Top level browsing contexts -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L117-L120" >}} @@ -206,7 +206,7 @@ Provides a tree of all browsing contexts descending from the parent browsing con ## Close a tab/window -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L127-L130" >}} diff --git a/website_and_docs/content/documentation/webdriver/bidirectional/webdriver_bidi/browsing_context.ja.md b/website_and_docs/content/documentation/webdriver/bidirectional/webdriver_bidi/browsing_context.ja.md index 3e0bdb0fcc8a..a56c12c24198 100644 --- a/website_and_docs/content/documentation/webdriver/bidirectional/webdriver_bidi/browsing_context.ja.md +++ b/website_and_docs/content/documentation/webdriver/bidirectional/webdriver_bidi/browsing_context.ja.md @@ -19,7 +19,7 @@ This section contains the APIs related to browsing context commands. Creates a new browsing context in a new window. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L35" >}} @@ -39,7 +39,7 @@ Creates a new browsing context in a new window. Creates a new browsing context in a new tab. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L49" >}} @@ -59,7 +59,7 @@ Creates a new browsing context in a new tab. Creates a browsing context for the existing tab/window to run commands. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L28-L29" >}} @@ -80,7 +80,7 @@ Creates a browsing context for the existing tab/window to run commands. A reference browsing context is a [top-level browsing context](https://html.spec.whatwg.org/multipage/document-sequences.html#top-level-browsing-context). The API allows to pass the reference browsing context, which is used to create a new window. The implementation is operating system specific. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L41-L43" >}} @@ -100,7 +100,7 @@ The API allows to pass the reference browsing context, which is used to create a A reference browsing context is a [top-level browsing context](https://html.spec.whatwg.org/multipage/document-sequences.html#top-level-browsing-context). The API allows to pass the reference browsing context, which is used to create a new tab. The implementation is operating system specific. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L55-L57" >}} @@ -118,7 +118,7 @@ The API allows to pass the reference browsing context, which is used to create a ## Navigate to a URL -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L63-L65" >}} @@ -136,7 +136,7 @@ The API allows to pass the reference browsing context, which is used to create a ## Navigate to a URL with readiness state -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L74-L77" >}} @@ -156,7 +156,7 @@ The API allows to pass the reference browsing context, which is used to create a Provides a tree of all browsing contexts descending from the parent browsing context, including the parent browsing context. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L86-L91" >}} @@ -176,7 +176,7 @@ Provides a tree of all browsing contexts descending from the parent browsing con Provides a tree of all browsing contexts descending from the parent browsing context, including the parent browsing context upto the depth value passed. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L102-L105" >}} @@ -194,7 +194,7 @@ Provides a tree of all browsing contexts descending from the parent browsing con ## Get All Top level browsing contexts -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L117-L120" >}} @@ -212,7 +212,7 @@ Provides a tree of all browsing contexts descending from the parent browsing con ## Close a tab/window -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L127-L130" >}} diff --git a/website_and_docs/content/documentation/webdriver/bidirectional/webdriver_bidi/browsing_context.pt-br.md b/website_and_docs/content/documentation/webdriver/bidirectional/webdriver_bidi/browsing_context.pt-br.md index 9aa20689b947..fe0a59287f07 100644 --- a/website_and_docs/content/documentation/webdriver/bidirectional/webdriver_bidi/browsing_context.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/bidirectional/webdriver_bidi/browsing_context.pt-br.md @@ -19,7 +19,7 @@ This section contains the APIs related to browsing context commands. Creates a new browsing context in a new window. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L35" >}} @@ -39,7 +39,7 @@ Creates a new browsing context in a new window. Creates a new browsing context in a new tab. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L49" >}} @@ -59,7 +59,7 @@ Creates a new browsing context in a new tab. Creates a browsing context for the existing tab/window to run commands. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L28-L29" >}} @@ -80,7 +80,7 @@ Creates a browsing context for the existing tab/window to run commands. A reference browsing context is a [top-level browsing context](https://html.spec.whatwg.org/multipage/document-sequences.html#top-level-browsing-context). The API allows to pass the reference browsing context, which is used to create a new window. The implementation is operating system specific. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L41-L43" >}} @@ -100,7 +100,7 @@ The API allows to pass the reference browsing context, which is used to create a A reference browsing context is a [top-level browsing context](https://html.spec.whatwg.org/multipage/document-sequences.html#top-level-browsing-context). The API allows to pass the reference browsing context, which is used to create a new tab. The implementation is operating system specific. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L55-L57" >}} @@ -118,7 +118,7 @@ The API allows to pass the reference browsing context, which is used to create a ## Navigate to a URL -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L63-L65" >}} @@ -136,7 +136,7 @@ The API allows to pass the reference browsing context, which is used to create a ## Navigate to a URL with readiness state -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L74-L77" >}} @@ -156,7 +156,7 @@ The API allows to pass the reference browsing context, which is used to create a Provides a tree of all browsing contexts descending from the parent browsing context, including the parent browsing context. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L86-L91" >}} @@ -176,7 +176,7 @@ Provides a tree of all browsing contexts descending from the parent browsing con Provides a tree of all browsing contexts descending from the parent browsing context, including the parent browsing context upto the depth value passed. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L102-L105" >}} @@ -194,7 +194,7 @@ Provides a tree of all browsing contexts descending from the parent browsing con ## Get All Top level browsing contexts -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L117-L120" >}} @@ -212,7 +212,7 @@ Provides a tree of all browsing contexts descending from the parent browsing con ## Close a tab/window -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L127-L130" >}} diff --git a/website_and_docs/content/documentation/webdriver/bidirectional/webdriver_bidi/browsing_context.zh-cn.md b/website_and_docs/content/documentation/webdriver/bidirectional/webdriver_bidi/browsing_context.zh-cn.md index 52448465862e..fa2c6d9773bb 100644 --- a/website_and_docs/content/documentation/webdriver/bidirectional/webdriver_bidi/browsing_context.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/bidirectional/webdriver_bidi/browsing_context.zh-cn.md @@ -19,7 +19,7 @@ This section contains the APIs related to browsing context commands. Creates a new browsing context in a new window. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L35" >}} @@ -39,7 +39,7 @@ Creates a new browsing context in a new window. Creates a new browsing context in a new tab. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L49" >}} @@ -59,7 +59,7 @@ Creates a new browsing context in a new tab. Creates a browsing context for the existing tab/window to run commands. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L28-L29" >}} @@ -80,7 +80,7 @@ Creates a browsing context for the existing tab/window to run commands. A reference browsing context is a [top-level browsing context](https://html.spec.whatwg.org/multipage/document-sequences.html#top-level-browsing-context). The API allows to pass the reference browsing context, which is used to create a new window. The implementation is operating system specific. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L41-L43" >}} @@ -100,7 +100,7 @@ The API allows to pass the reference browsing context, which is used to create a A reference browsing context is a [top-level browsing context](https://html.spec.whatwg.org/multipage/document-sequences.html#top-level-browsing-context). The API allows to pass the reference browsing context, which is used to create a new tab. The implementation is operating system specific. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L55-L57" >}} @@ -118,7 +118,7 @@ The API allows to pass the reference browsing context, which is used to create a ## Navigate to a URL -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L63-L65" >}} @@ -136,7 +136,7 @@ The API allows to pass the reference browsing context, which is used to create a ## Navigate to a URL with readiness state -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L74-L77" >}} @@ -156,7 +156,7 @@ The API allows to pass the reference browsing context, which is used to create a Provides a tree of all browsing contexts descending from the parent browsing context, including the parent browsing context. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L86-L91" >}} @@ -176,7 +176,7 @@ Provides a tree of all browsing contexts descending from the parent browsing con Provides a tree of all browsing contexts descending from the parent browsing context, including the parent browsing context upto the depth value passed. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L102-L105" >}} @@ -194,7 +194,7 @@ Provides a tree of all browsing contexts descending from the parent browsing con ## Get All Top level browsing contexts -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L117-L120" >}} @@ -212,7 +212,7 @@ Provides a tree of all browsing contexts descending from the parent browsing con ## Close a tab/window -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/BrowsingContextTest.java#L127-L130" >}} diff --git a/website_and_docs/content/documentation/webdriver/bidirectional/webdriver_bidi/log.en.md b/website_and_docs/content/documentation/webdriver/bidirectional/webdriver_bidi/log.en.md index 767681068e03..8ae3eb9e6d02 100644 --- a/website_and_docs/content/documentation/webdriver/bidirectional/webdriver_bidi/log.en.md +++ b/website_and_docs/content/documentation/webdriver/bidirectional/webdriver_bidi/log.en.md @@ -13,7 +13,7 @@ This section contains the APIs related to logging. Listen to the `console.log` events and register callbacks to process the event. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/LogTest.java#L31-L38" >}} @@ -34,7 +34,7 @@ Listen to the `console.log` events and register callbacks to process the event. Listen to the JS Exceptions and register callbacks to process the exception details. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/LogTest.java#L70-L77" >}} {{< /tab >}} @@ -53,7 +53,7 @@ and register callbacks to process the exception details. Listen to all JS logs at all levels and register callbacks to process the log. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/LogTest.java#L52-L59" >}} diff --git a/website_and_docs/content/documentation/webdriver/bidirectional/webdriver_bidi/log.ja.md b/website_and_docs/content/documentation/webdriver/bidirectional/webdriver_bidi/log.ja.md index 93feb58faa4b..7b94be6de2f8 100644 --- a/website_and_docs/content/documentation/webdriver/bidirectional/webdriver_bidi/log.ja.md +++ b/website_and_docs/content/documentation/webdriver/bidirectional/webdriver_bidi/log.ja.md @@ -19,7 +19,7 @@ This section contains the APIs related to logging. Listen to the `console.log` events and register callbacks to process the event. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/LogTest.java#L31-L38" >}} @@ -40,7 +40,7 @@ Listen to the `console.log` events and register callbacks to process the event. Listen to the JS Exceptions and register callbacks to process the exception details. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/LogTest.java#L70-L77" >}} {{< /tab >}} @@ -59,7 +59,7 @@ and register callbacks to process the exception details. Listen to all JS logs at all levels and register callbacks to process the log. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/LogTest.java#L52-L59" >}} diff --git a/website_and_docs/content/documentation/webdriver/bidirectional/webdriver_bidi/log.pt-br.md b/website_and_docs/content/documentation/webdriver/bidirectional/webdriver_bidi/log.pt-br.md index 7e969d4aab8f..be0814eaa07a 100644 --- a/website_and_docs/content/documentation/webdriver/bidirectional/webdriver_bidi/log.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/bidirectional/webdriver_bidi/log.pt-br.md @@ -19,7 +19,7 @@ This section contains the APIs related to logging. Listen to the `console.log` events and register callbacks to process the event. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/LogTest.java#L31-L38" >}} @@ -40,7 +40,7 @@ Listen to the `console.log` events and register callbacks to process the event. Listen to the JS Exceptions and register callbacks to process the exception details. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/LogTest.java#L70-L77" >}} {{< /tab >}} @@ -59,7 +59,7 @@ and register callbacks to process the exception details. Listen to all JS logs at all levels and register callbacks to process the log. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/LogTest.java#L52-L59" >}} diff --git a/website_and_docs/content/documentation/webdriver/bidirectional/webdriver_bidi/log.zh-cn.md b/website_and_docs/content/documentation/webdriver/bidirectional/webdriver_bidi/log.zh-cn.md index 572311545f0c..240ac370a900 100644 --- a/website_and_docs/content/documentation/webdriver/bidirectional/webdriver_bidi/log.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/bidirectional/webdriver_bidi/log.zh-cn.md @@ -20,7 +20,7 @@ This section contains the APIs related to logging. Listen to the `console.log` events and register callbacks to process the event. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/LogTest.java#L31-L38" >}} {{< /tab >}} @@ -41,7 +41,7 @@ Listen to the `console.log` events and register callbacks to process the event. Listen to the JS Exceptions and register callbacks to process the exception details. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/LogTest.java#L70-L77" >}} {{< /tab >}} @@ -61,7 +61,7 @@ and register callbacks to process the exception details. Listen to all JS logs at all levels and register callbacks to process the log. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/LogTest.java#L52-L59" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/browsers/chrome.en.md b/website_and_docs/content/documentation/webdriver/browsers/chrome.en.md index 2fe7ed9bcc62..84b3e1b3877b 100644 --- a/website_and_docs/content/documentation/webdriver/browsers/chrome.en.md +++ b/website_and_docs/content/documentation/webdriver/browsers/chrome.en.md @@ -21,7 +21,7 @@ Capabilities unique to Chrome and Chromium are documented at Google's page for Starting a Chrome session with basic defined options looks like this: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L37-L38" >}} {{< /tab >}} @@ -53,7 +53,7 @@ Commonly used args include `--start-maximized`, `--headless=new` and `--user-dat Add an argument to options: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L45" >}} {{< /tab >}} @@ -81,7 +81,7 @@ use chromedriver to drive various Chromium based browsers. Add a browser location to options: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L54" >}} {{< /tab >}} @@ -110,7 +110,7 @@ please use the `load-extension` argument instead, as mentioned in Add an extension to options: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L65" >}} {{< /tab >}} @@ -136,7 +136,7 @@ Add an extension to options: Setting the `detach` parameter to true will keep the browser open after the process has ended, so long as the quit command is not sent to the driver. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} **Note**: This is already the default behavior in Java. {{% /tab %}} @@ -167,7 +167,7 @@ can be parsed from the Set excluded arguments on options: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L78" >}} {{< /tab >}} @@ -203,7 +203,7 @@ direct where the logs will go. Logging output is ignored unless the user directs To change the logging output to save to a specific file: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L100-L101" >}} **Note**: Java also allows setting file output by System Property:\ @@ -233,7 +233,7 @@ Property value: String representing path to log file To change the logging output to display in the console as STDOUT: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L114-L115" >}} @@ -266,7 +266,7 @@ There are 6 available log levels: `ALL`, `DEBUG`, `INFO`, `WARNING`, `SEVERE`, a Note that `--verbose` is equivalent to `--log-level=ALL` and `--silent` is equivalent to `--log-level=OFF`, so this example is just setting the log level generically: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L129-L130" >}} @@ -301,7 +301,7 @@ There are 2 features that are only available when logging to a file: To use them, you need to also explicitly specify the log path and log level. The log output will be managed by the driver, not the process, so minor differences may be seen. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L147-L148" >}} @@ -333,7 +333,7 @@ Chromedriver and Chrome browser versions should match, and if they don't the dri If you disable the build check, you can force the driver to be used with any version of Chrome. Note that this is an unsupported feature, and bugs will not be investigated. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L166-L167" >}} @@ -368,7 +368,7 @@ Some browsers have implemented additional features that are unique to them. You can drive Chrome Cast devices, including sharing tabs -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -394,7 +394,7 @@ You can drive Chrome Cast devices, including sharing tabs You can simulate various network conditions. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -417,7 +417,7 @@ You can simulate various network conditions. ### Logs -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -440,7 +440,7 @@ You can simulate various network conditions. ### Permissions -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/browsers/chrome.ja.md b/website_and_docs/content/documentation/webdriver/browsers/chrome.ja.md index b98b3afdd2a8..0199e6ca2605 100644 --- a/website_and_docs/content/documentation/webdriver/browsers/chrome.ja.md +++ b/website_and_docs/content/documentation/webdriver/browsers/chrome.ja.md @@ -20,7 +20,7 @@ Chrome に固有のCapabilityは、Google の[Capabilities & ChromeOptions](http 基本的な定義済みオプションを使用してChromeセッションを開始すると、次のようになります。 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L37-L38" >}} {{< /tab >}} @@ -54,7 +54,7 @@ Commonly used args include `--start-maximized`, `--headless=new` and `--user-dat Add an argument to options: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L45" >}} {{< /tab >}} @@ -82,7 +82,7 @@ Add an argument to options: オプションにブラウザのロケーションを追加します。 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L54" >}} {{< /tab >}} @@ -113,7 +113,7 @@ please use the `load-extension` argument instead, as mentioned in オプションに拡張機能を追加します。 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L65" >}} {{< /tab >}} @@ -138,7 +138,7 @@ please use the `load-extension` argument instead, as mentioned in `detach` パラメータをtrueに設定すると、ドライバープロセスが終了した後もブラウザを開いたままにできます。 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} **Note**: This is already the default behavior in Java. {{% /tab %}} @@ -171,7 +171,7 @@ can be parsed from the オプションに除外された引数を設定します。 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L78" >}} {{< /tab >}} @@ -207,7 +207,7 @@ direct where the logs will go. Logging output is ignored unless the user directs To change the logging output to save to a specific file: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L100-L101" >}} **Note**: Java also allows setting file output by System Property:\ @@ -237,7 +237,7 @@ Property value: String representing path to log file To change the logging output to display in the console as STDOUT: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L114-L115" >}} @@ -270,7 +270,7 @@ There are 6 available log levels: `ALL`, `DEBUG`, `INFO`, `WARNING`, `SEVERE`, a Note that `--verbose` is equivalent to `--log-level=ALL` and `--silent` is equivalent to `--log-level=OFF`, so this example is just setting the log level generically: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L129-L130" >}} @@ -305,7 +305,7 @@ There are 2 features that are only available when logging to a file: To use them, you need to also explicitly specify the log path and log level. The log output will be managed by the driver, not the process, so minor differences may be seen. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L147-L148" >}} @@ -337,7 +337,7 @@ Chromedriver and Chrome browser versions should match, and if they don't the dri If you disable the build check, you can force the driver to be used with any version of Chrome. Note that this is an unsupported feature, and bugs will not be investigated. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L166-L167" >}} @@ -371,7 +371,7 @@ Property value: `"true"` or `"false"` タブの共有など、Chrome Castデバイスを操作できます。 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -400,7 +400,7 @@ The following examples are for local webdrivers. For remote webdrivers, please refer to the [Remote WebDriver]({{< ref "../drivers/remote_webdriver" >}}) page. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -423,7 +423,7 @@ please refer to the ### ログ -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -446,7 +446,7 @@ please refer to the ### パーミッション -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/browsers/chrome.pt-br.md b/website_and_docs/content/documentation/webdriver/browsers/chrome.pt-br.md index 7792adeb2963..22c396d89995 100644 --- a/website_and_docs/content/documentation/webdriver/browsers/chrome.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/browsers/chrome.pt-br.md @@ -19,7 +19,7 @@ Capacidades únicas ao Chrome podem ser encontradas na página da Google para [C Este é um exemplo de como iniciar uma sessão Chrome com um conjunto de opções básicas: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L37-L38" >}} {{< /tab >}} @@ -53,7 +53,7 @@ Commonly used args include `--start-maximized`, `--headless=new` and `--user-dat Add an argument to options: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L45" >}} {{< /tab >}} @@ -78,7 +78,7 @@ Add an argument to options: Adicionar uma localização: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L54" >}} {{< /tab >}} @@ -109,7 +109,7 @@ please use the `load-extension` argument instead, as mentioned in Adicionar uma extensão: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L65" >}} {{< /tab >}} @@ -136,7 +136,7 @@ Ao definir o parametro `detach` para true, irá manter o navegador aberto mesmo Adicionar detach: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} **Note**: This is already the default behavior in Java. {{% /tab %}} @@ -168,7 +168,7 @@ can be parsed from the Exclua parametros: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L78" >}} {{< /tab >}} @@ -204,7 +204,7 @@ direct where the logs will go. Logging output is ignored unless the user directs To change the logging output to save to a specific file: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L100-L101" >}} **Note**: Java also allows setting file output by System Property:\ @@ -234,7 +234,7 @@ Property value: String representing path to log file To change the logging output to display in the console as STDOUT: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L114-L115" >}} @@ -267,7 +267,7 @@ There are 6 available log levels: `ALL`, `DEBUG`, `INFO`, `WARNING`, `SEVERE`, a Note that `--verbose` is equivalent to `--log-level=ALL` and `--silent` is equivalent to `--log-level=OFF`, so this example is just setting the log level generically: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L129-L130" >}} @@ -302,7 +302,7 @@ There are 2 features that are only available when logging to a file: To use them, you need to also explicitly specify the log path and log level. The log output will be managed by the driver, not the process, so minor differences may be seen. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L147-L148" >}} @@ -334,7 +334,7 @@ Chromedriver and Chrome browser versions should match, and if they don't the dri If you disable the build check, you can force the driver to be used with any version of Chrome. Note that this is an unsupported feature, and bugs will not be investigated. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L166-L167" >}} @@ -368,7 +368,7 @@ Property value: `"true"` or `"false"` Pode comandar dispositivos Chrome Cast, incluindo partilhar abas -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -397,7 +397,7 @@ The following examples are for local webdrivers. For remote webdrivers, please refer to the [Remote WebDriver]({{< ref "../drivers/remote_webdriver" >}}) page. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -420,7 +420,7 @@ please refer to the ### Logs -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -443,7 +443,7 @@ please refer to the ### Permissões -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/browsers/chrome.zh-cn.md b/website_and_docs/content/documentation/webdriver/browsers/chrome.zh-cn.md index 217c7b7755df..f246d9956cd4 100644 --- a/website_and_docs/content/documentation/webdriver/browsers/chrome.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/browsers/chrome.zh-cn.md @@ -19,7 +19,7 @@ Chrome浏览器的特有功能可以在谷歌的页面找到: [Capabilities & Ch 基于默认选项的Chrome浏览器会话看起来是这样: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L37-L38" >}} {{< /tab >}} @@ -53,7 +53,7 @@ Commonly used args include `--start-maximized`, `--headless=new` and `--user-dat Add an argument to options: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L45" >}} {{< /tab >}} @@ -80,7 +80,7 @@ Add an argument to options: 添加一个浏览器地址到选项中: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L54" >}} {{< /tab >}} @@ -109,7 +109,7 @@ please use the `load-extension` argument instead, as mentioned in 添加一个扩展程序到选项中: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L65" >}} {{< /tab >}} @@ -136,7 +136,7 @@ please use the `load-extension` argument instead, as mentioned in 添加一个布尔值到选项中: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} **Note**: This is already the default behavior in Java. {{% /tab %}} @@ -167,7 +167,7 @@ can be parsed from the 设置排除参数至选项中: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L78" >}} {{< /tab >}} @@ -203,7 +203,7 @@ direct where the logs will go. Logging output is ignored unless the user directs To change the logging output to save to a specific file: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L100-L101" >}} **Note**: Java also allows setting file output by System Property:\ @@ -233,7 +233,7 @@ Property value: String representing path to log file To change the logging output to display in the console as STDOUT: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L114-L115" >}} @@ -266,7 +266,7 @@ There are 6 available log levels: `ALL`, `DEBUG`, `INFO`, `WARNING`, `SEVERE`, a Note that `--verbose` is equivalent to `--log-level=ALL` and `--silent` is equivalent to `--log-level=OFF`, so this example is just setting the log level generically: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L129-L130" >}} @@ -301,7 +301,7 @@ There are 2 features that are only available when logging to a file: To use them, you need to also explicitly specify the log path and log level. The log output will be managed by the driver, not the process, so minor differences may be seen. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L147-L148" >}} @@ -333,7 +333,7 @@ Chromedriver and Chrome browser versions should match, and if they don't the dri If you disable the build check, you can force the driver to be used with any version of Chrome. Note that this is an unsupported feature, and bugs will not be investigated. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/ChromeTest.java#L166-L167" >}} @@ -367,7 +367,7 @@ Property value: `"true"` or `"false"` 你可以驱动 Chrome Cast 设备,包括共享选项卡 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -396,7 +396,7 @@ The following examples are for local webdrivers. For remote webdrivers, please refer to the [Remote WebDriver]({{< ref "../drivers/remote_webdriver" >}}) page. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -419,7 +419,7 @@ please refer to the ### Logs -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -442,7 +442,7 @@ please refer to the ### Permissions -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/browsers/edge.en.md b/website_and_docs/content/documentation/webdriver/browsers/edge.en.md index 574156a649f0..2e5679a74e6b 100644 --- a/website_and_docs/content/documentation/webdriver/browsers/edge.en.md +++ b/website_and_docs/content/documentation/webdriver/browsers/edge.en.md @@ -18,7 +18,7 @@ Capabilities unique to Chromium are documented at Google's page for Starting an Edge session with basic defined options looks like this: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L37-L38" >}} {{< /tab >}} @@ -50,7 +50,7 @@ Commonly used args include `--start-maximized`, `--headless=new` and `--user-dat Add an argument to options: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L45" >}} {{< /tab >}} @@ -78,7 +78,7 @@ use chromedriver to drive various Chromium based browsers. Add a browser location to options: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L54" >}} {{< /tab >}} @@ -107,7 +107,7 @@ please use the `load-extension` argument instead, as mentioned in Add an extension to options: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L65" >}} {{< /tab >}} @@ -133,7 +133,7 @@ Add an extension to options: Setting the `detach` parameter to true will keep the browser open after the process has ended, so long as the quit command is not sent to the driver. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} **Note**: This is already the default behavior in Java. {{% /tab %}} @@ -164,7 +164,7 @@ can be parsed from the Set excluded arguments on options: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L78" >}} {{< /tab >}} @@ -200,7 +200,7 @@ direct where the logs will go. Logging output is ignored unless the user directs To change the logging output to save to a specific file: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L100" >}} @@ -230,7 +230,7 @@ Property value: String representing path to log file To change the logging output to display in the console as STDOUT: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L113" >}} @@ -262,7 +262,7 @@ There are 6 available log levels: `ALL`, `DEBUG`, `INFO`, `WARNING`, `SEVERE`, a Note that `--verbose` is equivalent to `--log-level=ALL` and `--silent` is equivalent to `--log-level=OFF`, so this example is just setting the log level generically: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L126-L127" >}} @@ -296,7 +296,7 @@ There are 2 features that are only available when logging to a file: To use them, you need to also explicitly specify the log path and log level. The log output will be managed by the driver, not the process, so minor differences may be seen. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L142-L143" >}} @@ -328,7 +328,7 @@ Edge browser and msedgedriver versions should match, and if they don't the drive If you disable the build check, you can force the driver to be used with any version of Edge. Note that this is an unsupported feature, and bugs will not be investigated. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L160-L161" >}} @@ -369,7 +369,7 @@ Some browsers have implemented additional features that are unique to them. You can drive Chrome Cast devices with Edge, including sharing tabs -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -394,7 +394,7 @@ You can drive Chrome Cast devices with Edge, including sharing tabs You can simulate various network conditions. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -417,7 +417,7 @@ You can simulate various network conditions. ### Logs -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -440,7 +440,7 @@ You can simulate various network conditions. ### Permissions -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/browsers/edge.ja.md b/website_and_docs/content/documentation/webdriver/browsers/edge.ja.md index 006665374789..0d56efb251c8 100644 --- a/website_and_docs/content/documentation/webdriver/browsers/edge.ja.md +++ b/website_and_docs/content/documentation/webdriver/browsers/edge.ja.md @@ -20,7 +20,7 @@ Capabilities unique to Chromium are documented at Google's page for 基本的な定義済みオプションを使用して Edgeセッションを開始すると、次のようになります。 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L37-L38" >}} {{< /tab >}} @@ -52,7 +52,7 @@ There are two excellent resources for investigating these arguments: オプションに引数を追加します。 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L45" >}} {{< /tab >}} @@ -80,7 +80,7 @@ use chromedriver to drive various Chromium based browsers. Add a browser location to options: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L54" >}} {{< /tab >}} @@ -109,7 +109,7 @@ please use the `load-extension` argument instead, as mentioned in Add an extension to options: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L65" >}} {{< /tab >}} @@ -135,7 +135,7 @@ Add an extension to options: Setting the `detach` parameter to true will keep the browser open after the process has ended, so long as the quit command is not sent to the driver. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} **Note**: This is already the default behavior in Java. {{% /tab %}} @@ -166,7 +166,7 @@ can be parsed from the Set excluded arguments on options: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L78" >}} {{< /tab >}} @@ -202,7 +202,7 @@ direct where the logs will go. Logging output is ignored unless the user directs To change the logging output to save to a specific file: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L100" >}} @@ -232,7 +232,7 @@ Property value: String representing path to log file To change the logging output to display in the console as STDOUT: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L113" >}} @@ -264,7 +264,7 @@ There are 6 available log levels: `ALL`, `DEBUG`, `INFO`, `WARNING`, `SEVERE`, a Note that `--verbose` is equivalent to `--log-level=ALL` and `--silent` is equivalent to `--log-level=OFF`, so this example is just setting the log level generically: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L126-L127" >}} @@ -298,7 +298,7 @@ There are 2 features that are only available when logging to a file: To use them, you need to also explicitly specify the log path and log level. The log output will be managed by the driver, not the process, so minor differences may be seen. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L142-L143" >}} @@ -330,7 +330,7 @@ Edge browser and msedgedriver versions should match, and if they don't the drive If you disable the build check, you can force the driver to be used with any version of Edge. Note that this is an unsupported feature, and bugs will not be investigated. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L160-L161" >}} @@ -371,7 +371,7 @@ Some browsers have implemented additional features that are unique to them. You can drive Chrome Cast devices with Edge, including sharing tabs -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -396,7 +396,7 @@ You can drive Chrome Cast devices with Edge, including sharing tabs You can simulate various network conditions. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -419,7 +419,7 @@ You can simulate various network conditions. ### Logs -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -442,7 +442,7 @@ You can simulate various network conditions. ### Permissions -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/browsers/edge.pt-br.md b/website_and_docs/content/documentation/webdriver/browsers/edge.pt-br.md index c5bf7fd59a85..7c4b11adf00a 100644 --- a/website_and_docs/content/documentation/webdriver/browsers/edge.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/browsers/edge.pt-br.md @@ -20,7 +20,7 @@ Capabilities unique to Chromium are documented at Google's page for Este é um exemplo de como iniciar uma sessão Edge com um conjunto de opções básicas: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L37-L38" >}} {{< /tab >}} @@ -52,7 +52,7 @@ Opções mais frequentes incluem `--start-maximized` e `--headless=new` e `--use Adicione uma opção: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L45" >}} {{< /tab >}} @@ -80,7 +80,7 @@ use chromedriver to drive various Chromium based browsers. Add a browser location to options: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L54" >}} {{< /tab >}} @@ -109,7 +109,7 @@ please use the `load-extension` argument instead, as mentioned in Add an extension to options: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L65" >}} {{< /tab >}} @@ -135,7 +135,7 @@ Add an extension to options: Setting the `detach` parameter to true will keep the browser open after the process has ended, so long as the quit command is not sent to the driver. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} **Note**: This is already the default behavior in Java. {{% /tab %}} @@ -166,7 +166,7 @@ can be parsed from the Set excluded arguments on options: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L78" >}} {{< /tab >}} @@ -202,7 +202,7 @@ direct where the logs will go. Logging output is ignored unless the user directs To change the logging output to save to a specific file: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L100" >}} @@ -232,7 +232,7 @@ Property value: String representing path to log file To change the logging output to display in the console as STDOUT: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L113" >}} @@ -264,7 +264,7 @@ There are 6 available log levels: `ALL`, `DEBUG`, `INFO`, `WARNING`, `SEVERE`, a Note that `--verbose` is equivalent to `--log-level=ALL` and `--silent` is equivalent to `--log-level=OFF`, so this example is just setting the log level generically: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L126-L127" >}} @@ -298,7 +298,7 @@ There are 2 features that are only available when logging to a file: To use them, you need to also explicitly specify the log path and log level. The log output will be managed by the driver, not the process, so minor differences may be seen. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L142-L143" >}} @@ -330,7 +330,7 @@ Edge browser and msedgedriver versions should match, and if they don't the drive If you disable the build check, you can force the driver to be used with any version of Edge. Note that this is an unsupported feature, and bugs will not be investigated. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L160-L161" >}} @@ -371,7 +371,7 @@ Some browsers have implemented additional features that are unique to them. You can drive Chrome Cast devices with Edge, including sharing tabs -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -396,7 +396,7 @@ You can drive Chrome Cast devices with Edge, including sharing tabs You can simulate various network conditions. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -419,7 +419,7 @@ You can simulate various network conditions. ### Logs -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -442,7 +442,7 @@ You can simulate various network conditions. ### Permissions -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/browsers/edge.zh-cn.md b/website_and_docs/content/documentation/webdriver/browsers/edge.zh-cn.md index 7debe6abe6e9..bbaa39595323 100644 --- a/website_and_docs/content/documentation/webdriver/browsers/edge.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/browsers/edge.zh-cn.md @@ -20,7 +20,7 @@ Capabilities unique to Chromium are documented at Google's page for 使用基本定义的选项启动 Edge 会话如下所示: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L37-L38" >}} {{< /tab >}} @@ -52,7 +52,7 @@ Commonly used args include `--start-maximized` and `--headless=new` and `--user- Add an argument to options: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L45" >}} {{< /tab >}} @@ -80,7 +80,7 @@ use chromedriver to drive various Chromium based browsers. Add a browser location to options: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L54" >}} {{< /tab >}} @@ -109,7 +109,7 @@ please use the `load-extension` argument instead, as mentioned in Add an extension to options: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L65" >}} {{< /tab >}} @@ -135,7 +135,7 @@ Add an extension to options: Setting the `detach` parameter to true will keep the browser open after the process has ended, so long as the quit command is not sent to the driver. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} **Note**: This is already the default behavior in Java. {{% /tab %}} @@ -166,7 +166,7 @@ can be parsed from the Set excluded arguments on options: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L78" >}} {{< /tab >}} @@ -202,7 +202,7 @@ direct where the logs will go. Logging output is ignored unless the user directs To change the logging output to save to a specific file: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L100" >}} @@ -232,7 +232,7 @@ Property value: String representing path to log file To change the logging output to display in the console as STDOUT: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L113" >}} @@ -264,7 +264,7 @@ There are 6 available log levels: `ALL`, `DEBUG`, `INFO`, `WARNING`, `SEVERE`, a Note that `--verbose` is equivalent to `--log-level=ALL` and `--silent` is equivalent to `--log-level=OFF`, so this example is just setting the log level generically: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L126-L127" >}} @@ -298,7 +298,7 @@ There are 2 features that are only available when logging to a file: To use them, you need to also explicitly specify the log path and log level. The log output will be managed by the driver, not the process, so minor differences may be seen. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L142-L143" >}} @@ -330,7 +330,7 @@ Edge browser and msedgedriver versions should match, and if they don't the drive If you disable the build check, you can force the driver to be used with any version of Edge. Note that this is an unsupported feature, and bugs will not be investigated. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.8" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/EdgeTest.java#L160-L161" >}} @@ -371,7 +371,7 @@ Some browsers have implemented additional features that are unique to them. You can drive Chrome Cast devices with Edge, including sharing tabs -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -396,7 +396,7 @@ You can drive Chrome Cast devices with Edge, including sharing tabs You can simulate various network conditions. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -419,7 +419,7 @@ You can simulate various network conditions. ### Logs -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -442,7 +442,7 @@ You can simulate various network conditions. ### Permissions -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/browsers/firefox.en.md b/website_and_docs/content/documentation/webdriver/browsers/firefox.en.md index fe72f8896199..5e9fc7b21587 100644 --- a/website_and_docs/content/documentation/webdriver/browsers/firefox.en.md +++ b/website_and_docs/content/documentation/webdriver/browsers/firefox.en.md @@ -19,7 +19,7 @@ Capabilities unique to Firefox can be found at Mozilla's page for [firefoxOption Starting a Firefox session with basic defined options looks like this: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L36-L37" >}} {{< /tab >}} @@ -47,7 +47,7 @@ Commonly used args include `-headless` and `"-profile", "/path/to/profile"` Add an argument to options: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L44" >}} {{< /tab >}} @@ -75,7 +75,7 @@ use geckodriver to drive Firefox Nightly instead of the production version when Add a browser location to options: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L54" >}} {{< /tab >}} @@ -161,7 +161,7 @@ direct where the logs will go. Logging output is ignored unless the user directs To change the logging output to save to a specific file: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L62-L63" >}} **Note**: Java also allows setting file output by System Property:\ @@ -191,7 +191,7 @@ Property value: String representing path to log file To change the logging output to display in the console: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L76-L77" >}} @@ -225,7 +225,7 @@ If logging is specified the level defaults to `info`. Note that `-v` is equivalent to `-log debug` and `-vv` is equivalent to `log trace`, so this examples is just for setting the log level generically: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L90-L91" >}} @@ -257,7 +257,7 @@ Property value: String representation of `FirefoxDriverLogLevel` enum The driver logs everything that gets sent to it, including string representations of large binaries, so Firefox truncates lines by default. To turn off truncation: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L106-L107" >}} @@ -289,7 +289,7 @@ Property value: `"true"` or `"false"` The default directory for profiles is the system temporary directory. If you do not have access to that directory, or want profiles to be created some place specific, you can change the profile root directory: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L118-L119" >}} @@ -333,7 +333,7 @@ please refer to the A signed xpi file you would get from [Mozilla Addon page](https://addons.mozilla.org/en-US/firefox/) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L132" >}} {{< /tab >}} @@ -358,7 +358,7 @@ A signed xpi file you would get from [Mozilla Addon page](https://addons.mozilla Uninstalling an addon requires knowing its id. The id can be obtained from the return value when installing the add-on. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L146" >}} {{< /tab >}} @@ -386,7 +386,7 @@ When working with an unfinished or unpublished extension, it will likely not be be installed as "temporary." This can be done by passing in either a zip file or a directory, here's an example with a directory: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L157" >}} {{< /tab >}} @@ -415,7 +415,7 @@ The following examples are for local webdrivers. For remote webdrivers, please refer to the [Remote WebDriver]({{< ref "../drivers/remote_webdriver" >}}) page. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -442,7 +442,7 @@ The following examples are for local webdrivers. For remote webdrivers, please refer to the [Remote WebDriver]({{< ref "../drivers/remote_webdriver" >}}) page. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/browsers/firefox.ja.md b/website_and_docs/content/documentation/webdriver/browsers/firefox.ja.md index a28841bf89dd..7f0d1b997994 100644 --- a/website_and_docs/content/documentation/webdriver/browsers/firefox.ja.md +++ b/website_and_docs/content/documentation/webdriver/browsers/firefox.ja.md @@ -20,7 +20,7 @@ Firefox に固有のCapabilityは、Mozilla のページの [firefoxOptions](htt 基本的な定義済みのオプションを使用して Firefox セッションを開始すると、以下のようになります。 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L36-L37" >}} {{< /tab >}} @@ -50,7 +50,7 @@ Firefox に固有のCapabilityは、Mozilla のページの [firefoxOptions](htt オプションに引数を追加します。 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L44" >}} {{< /tab >}} @@ -79,7 +79,7 @@ Firefox に固有のCapabilityは、Mozilla のページの [firefoxOptions](htt オプションにブラウザーのロケーションを追加します。 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L54" >}} {{< /tab >}} @@ -166,7 +166,7 @@ direct where the logs will go. Logging output is ignored unless the user directs To change the logging output to save to a specific file: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L62-L63" >}} **Note**: Java also allows setting file output by System Property:\ @@ -196,7 +196,7 @@ Property value: String representing path to log file To change the logging output to display in the console: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L76-L77" >}} @@ -230,7 +230,7 @@ If logging is specified the level defaults to `info`. Note that `-v` is equivalent to `-log debug` and `-vv` is equivalent to `log trace`, so this examples is just for setting the log level generically: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L90-L91" >}} @@ -262,7 +262,7 @@ Property value: String representation of `FirefoxDriverLogLevel` enum The driver logs everything that gets sent to it, including string representations of large binaries, so Firefox truncates lines by default. To turn off truncation: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L106-L107" >}} @@ -294,7 +294,7 @@ Property value: `"true"` or `"false"` The default directory for profiles is the system temporary directory. If you do not have access to that directory, or want profiles to be created some place specific, you can change the profile root directory: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L118-L119" >}} @@ -339,7 +339,7 @@ please refer to the [Mozilla Add-Onsページ](https://addons.mozilla.org/ja/firefox/) から取得する署名付きxpiファイル -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L132" >}} {{< /tab >}} @@ -365,7 +365,7 @@ please refer to the アドオンをアンインストールするには、そのIDを知る必要があります。 IDはアドオンインストール時の戻り値から取得できます。 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L146" >}} {{< /tab >}} @@ -393,7 +393,7 @@ IDはアドオンインストール時の戻り値から取得できます。 そのため、"一時的なもの" としてのみインストールできます。 これは、zipファイルまたはディレクトリを渡すことで実行できます。ディレクトリの例を次に示します。 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L157" >}} {{< /tab >}} @@ -422,7 +422,7 @@ The following examples are for local webdrivers. For remote webdrivers, please refer to the [Remote WebDriver]({{< ref "../drivers/remote_webdriver" >}}) page. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -449,7 +449,7 @@ The following examples are for local webdrivers. For remote webdrivers, please refer to the [Remote WebDriver]({{< ref "../drivers/remote_webdriver" >}}) page. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/browsers/firefox.pt-br.md b/website_and_docs/content/documentation/webdriver/browsers/firefox.pt-br.md index d36feec92ea8..96c58326ec53 100644 --- a/website_and_docs/content/documentation/webdriver/browsers/firefox.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/browsers/firefox.pt-br.md @@ -19,7 +19,7 @@ Capacidades únicas ao Firefox podem ser encontradas na página da Mozilla para Este é um exemplo de como iniciar uma sessão Firefox com um conjunto de opções básicas: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L36-L37" >}} {{< /tab >}} @@ -49,7 +49,7 @@ Opções mais frequentes incluem `-headless` e `"-profile", "/path/to/profile"` Adicione uma opção: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L44" >}} {{< /tab >}} @@ -78,7 +78,7 @@ versão de produção, quando ambas versões estão presentes no seu computador. Adicionar uma localização: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L54" >}} {{< /tab >}} @@ -165,7 +165,7 @@ direct where the logs will go. Logging output is ignored unless the user directs To change the logging output to save to a specific file: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L62-L63" >}} **Note**: Java also allows setting file output by System Property:\ @@ -195,7 +195,7 @@ Property value: String representing path to log file To change the logging output to display in the console: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L76-L77" >}} @@ -229,7 +229,7 @@ If logging is specified the level defaults to `info`. Note that `-v` is equivalent to `-log debug` and `-vv` is equivalent to `log trace`, so this examples is just for setting the log level generically: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L90-L91" >}} @@ -261,7 +261,7 @@ Property value: String representation of `FirefoxDriverLogLevel` enum The driver logs everything that gets sent to it, including string representations of large binaries, so Firefox truncates lines by default. To turn off truncation: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L106-L107" >}} @@ -293,7 +293,7 @@ Property value: `"true"` or `"false"` The default directory for profiles is the system temporary directory. If you do not have access to that directory, or want profiles to be created some place specific, you can change the profile root directory: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L118-L119" >}} @@ -338,7 +338,7 @@ please refer to the Um arquivo xpi que pode ser obtido da [página Mozilla Extras](https://addons.mozilla.org/en-US/firefox/) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L132" >}} {{< /tab >}} @@ -363,7 +363,7 @@ Um arquivo xpi que pode ser obtido da [página Mozilla Extras](https://addons.mo Desinstalar uma extensão implica saber o seu id que pode ser obtido como valor de retorno durante a instalação. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L146" >}} {{< /tab >}} @@ -391,7 +391,7 @@ Quando trabalhar em uma extensão não terminada ou não publicada, provavelment Desta forma, só pode ser instalada como "temporária". Isto pode ser feito passando uma arquivo ZIP ou uma pasta, este é um exemplo com uma pasta: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L157" >}} {{< /tab >}} @@ -420,7 +420,7 @@ The following examples are for local webdrivers. For remote webdrivers, please refer to the [Remote WebDriver]({{< ref "../drivers/remote_webdriver" >}}) page. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -447,7 +447,7 @@ The following examples are for local webdrivers. For remote webdrivers, please refer to the [Remote WebDriver]({{< ref "../drivers/remote_webdriver" >}}) page. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/browsers/firefox.zh-cn.md b/website_and_docs/content/documentation/webdriver/browsers/firefox.zh-cn.md index c2e8ed02d3fb..e99b3c7a49a9 100644 --- a/website_and_docs/content/documentation/webdriver/browsers/firefox.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/browsers/firefox.zh-cn.md @@ -19,7 +19,7 @@ Capabilities unique to Firefox can be found at Mozilla's page for [firefoxOption Starting a Firefox session with basic defined options looks like this: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L36-L37" >}} {{< /tab >}} @@ -49,7 +49,7 @@ Commonly used args include `-headless` and `"-profile", "/path/to/profile"` Add an argument to options: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L44" >}} {{< /tab >}} @@ -77,7 +77,7 @@ use geckodriver to drive Firefox Nightly instead of the production version when Add a browser location to options: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L54" >}} {{< /tab >}} @@ -164,7 +164,7 @@ direct where the logs will go. Logging output is ignored unless the user directs To change the logging output to save to a specific file: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L62-L63" >}} **Note**: Java also allows setting file output by System Property:\ @@ -194,7 +194,7 @@ Property value: String representing path to log file To change the logging output to display in the console: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L76-L77" >}} @@ -228,7 +228,7 @@ If logging is specified the level defaults to `info`. Note that `-v` is equivalent to `-log debug` and `-vv` is equivalent to `log trace`, so this examples is just for setting the log level generically: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L90-L91" >}} @@ -260,7 +260,7 @@ Property value: String representation of `FirefoxDriverLogLevel` enum The driver logs everything that gets sent to it, including string representations of large binaries, so Firefox truncates lines by default. To turn off truncation: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L106-L107" >}} @@ -292,7 +292,7 @@ Property value: `"true"` or `"false"` The default directory for profiles is the system temporary directory. If you do not have access to that directory, or want profiles to be created some place specific, you can change the profile root directory: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L118-L119" >}} @@ -335,7 +335,7 @@ please refer to the A signed xpi file you would get from [Mozilla Addon page](https://addons.mozilla.org/en-US/firefox/) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L132" >}} {{< /tab >}} @@ -360,7 +360,7 @@ A signed xpi file you would get from [Mozilla Addon page](https://addons.mozilla Uninstalling an addon requires knowing its id. The id can be obtained from the return value when installing the add-on. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L146" >}} {{< /tab >}} @@ -388,7 +388,7 @@ When working with an unfinished or unpublished extension, it will likely not be be installed as "temporary." This can be done by passing in either a zip file or a directory, here's an example with a directory: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/FirefoxTest.java#L157" >}} {{< /tab >}} @@ -417,7 +417,7 @@ The following examples are for local webdrivers. For remote webdrivers, please refer to the [Remote WebDriver]({{< ref "../drivers/remote_webdriver" >}}) page. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -444,7 +444,7 @@ The following examples are for local webdrivers. For remote webdrivers, please refer to the [Remote WebDriver]({{< ref "../drivers/remote_webdriver" >}}) page. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/browsers/internet_explorer.en.md b/website_and_docs/content/documentation/webdriver/browsers/internet_explorer.en.md index 8b4e8024a1cd..ed5ec54df34e 100644 --- a/website_and_docs/content/documentation/webdriver/browsers/internet_explorer.en.md +++ b/website_and_docs/content/documentation/webdriver/browsers/internet_explorer.en.md @@ -27,7 +27,7 @@ Additional information about using Internet Explorer can be found on the Starting a Microsoft Edge browser in Internet Explorer Compatibility mode with basic defined options looks like this: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/InternetExplorerTest.java#38-L41" >}} {{< /tab >}} @@ -596,7 +596,7 @@ direct where the logs will go. Logging output is ignored unless the user directs To change the logging output to save to a specific file: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/InternetExplorerTest.java#L53" >}} @@ -626,7 +626,7 @@ Property value: String representing path to log file To change the logging output to display in the console as STDOUT: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/InternetExplorerTest.java#L67" >}} @@ -657,7 +657,7 @@ Property value: `DriverService.LOG_STDOUT` or `DriverService.LOG_STDERR` There are 6 available log levels: `FATAL`, `ERROR`, `WARN`, `INFO`, `DEBUG`, and `TRACE` If logging output is specified, the default level is `FATAL` -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/InternetExplorerTest.java#L82" >}} **Note**: Java also allows setting log level by System Property:\ @@ -684,7 +684,7 @@ Property value: String representation of `InternetExplorerDriverLogLevel.DEBUG.t ### Supporting Files Path -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/InternetExplorerTest.java#L94" >}} **Note**: Java also allows setting log level by System Property:\ diff --git a/website_and_docs/content/documentation/webdriver/browsers/internet_explorer.ja.md b/website_and_docs/content/documentation/webdriver/browsers/internet_explorer.ja.md index 7cf3fdd38f24..e7d30dca1f96 100644 --- a/website_and_docs/content/documentation/webdriver/browsers/internet_explorer.ja.md +++ b/website_and_docs/content/documentation/webdriver/browsers/internet_explorer.ja.md @@ -27,7 +27,7 @@ Additional information about using Internet Explorer can be found on the Starting a Microsoft Edge browser in Internet Explorer Compatibility mode with basic defined options looks like this: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/InternetExplorerTest.java#38-L41" >}} {{< /tab >}} @@ -584,7 +584,7 @@ direct where the logs will go. Logging output is ignored unless the user directs To change the logging output to save to a specific file: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/InternetExplorerTest.java#L53" >}} @@ -614,7 +614,7 @@ Property value: String representing path to log file To change the logging output to display in the console as STDOUT: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/InternetExplorerTest.java#L67" >}} @@ -645,7 +645,7 @@ Property value: `DriverService.LOG_STDOUT` or `DriverService.LOG_STDERR` There are 6 available log levels: `FATAL`, `ERROR`, `WARN`, `INFO`, `DEBUG`, and `TRACE` If logging output is specified, the default level is `FATAL` -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/InternetExplorerTest.java#L82" >}} **Note**: Java also allows setting log level by System Property:\ @@ -672,7 +672,7 @@ Property value: String representation of `InternetExplorerDriverLogLevel.DEBUG.t ### Supporting Files Path -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/InternetExplorerTest.java#L94" >}} **Note**: Java also allows setting log level by System Property:\ diff --git a/website_and_docs/content/documentation/webdriver/browsers/internet_explorer.pt-br.md b/website_and_docs/content/documentation/webdriver/browsers/internet_explorer.pt-br.md index c6df06bef96d..b877e65ae56b 100644 --- a/website_and_docs/content/documentation/webdriver/browsers/internet_explorer.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/browsers/internet_explorer.pt-br.md @@ -27,7 +27,7 @@ Informação adicional sobre como usar o Internet Explorer pode ser encontrada n Este é um exemplo de como iniciar o navegador Microsoft Edge em modo compatibilidade Internet Explorer usando um conjunto de opções básicas: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/InternetExplorerTest.java#38-L41" >}} {{< /tab >}} @@ -601,7 +601,7 @@ direct where the logs will go. Logging output is ignored unless the user directs To change the logging output to save to a specific file: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/InternetExplorerTest.java#L53" >}} @@ -631,7 +631,7 @@ Property value: String representing path to log file To change the logging output to display in the console as STDOUT: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/InternetExplorerTest.java#L67" >}} @@ -662,7 +662,7 @@ Property value: `DriverService.LOG_STDOUT` or `DriverService.LOG_STDERR` There are 6 available log levels: `FATAL`, `ERROR`, `WARN`, `INFO`, `DEBUG`, and `TRACE` If logging output is specified, the default level is `FATAL` -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/InternetExplorerTest.java#L82" >}} **Note**: Java also allows setting log level by System Property:\ @@ -689,7 +689,7 @@ Property value: String representation of `InternetExplorerDriverLogLevel.DEBUG.t ### Supporting Files Path -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/InternetExplorerTest.java#L94" >}} **Note**: Java also allows setting log level by System Property:\ diff --git a/website_and_docs/content/documentation/webdriver/browsers/internet_explorer.zh-cn.md b/website_and_docs/content/documentation/webdriver/browsers/internet_explorer.zh-cn.md index 5489345ebc19..7a038cb2579d 100644 --- a/website_and_docs/content/documentation/webdriver/browsers/internet_explorer.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/browsers/internet_explorer.zh-cn.md @@ -27,7 +27,7 @@ Additional information about using Internet Explorer can be found on the Starting a Microsoft Edge browser in Internet Explorer Compatibility mode with basic defined options looks like this: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/browsers/InternetExplorerTest.java#38-L41" >}} {{< /tab >}} @@ -594,7 +594,7 @@ direct where the logs will go. Logging output is ignored unless the user directs To change the logging output to save to a specific file: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/InternetExplorerTest.java#L53" >}} @@ -624,7 +624,7 @@ Property value: String representing path to log file To change the logging output to display in the console as STDOUT: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/InternetExplorerTest.java#L67" >}} @@ -655,7 +655,7 @@ Property value: `DriverService.LOG_STDOUT` or `DriverService.LOG_STDERR` There are 6 available log levels: `FATAL`, `ERROR`, `WARN`, `INFO`, `DEBUG`, and `TRACE` If logging output is specified, the default level is `FATAL` -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/InternetExplorerTest.java#L82" >}} **Note**: Java also allows setting log level by System Property:\ @@ -682,7 +682,7 @@ Property value: String representation of `InternetExplorerDriverLogLevel.DEBUG.t ### Supporting Files Path -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/InternetExplorerTest.java#L94" >}} **Note**: Java also allows setting log level by System Property:\ diff --git a/website_and_docs/content/documentation/webdriver/browsers/safari.en.md b/website_and_docs/content/documentation/webdriver/browsers/safari.en.md index 94ab320c466f..bf207b439d16 100644 --- a/website_and_docs/content/documentation/webdriver/browsers/safari.en.md +++ b/website_and_docs/content/documentation/webdriver/browsers/safari.en.md @@ -60,7 +60,7 @@ Service settings common to all browsers are described on the [Service page]({{< Unlike other browsers, Safari doesn't let you choose where logs are output, or change levels. The one option available is to turn logs off or on. If logs are toggled on, they can be found at:`~/Library/Logs/com.apple.WebDriver/`. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/SafariTest.java#L31" >}} @@ -91,7 +91,7 @@ Property value: `"true"` or `"false"` Apple provides a development version of their browser — [Safari Technology Preview](https://developer.apple.com/safari/technology-preview/) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/browsers/safari.ja.md b/website_and_docs/content/documentation/webdriver/browsers/safari.ja.md index 26e8c3ba7891..4fa03c6696ff 100644 --- a/website_and_docs/content/documentation/webdriver/browsers/safari.ja.md +++ b/website_and_docs/content/documentation/webdriver/browsers/safari.ja.md @@ -59,7 +59,7 @@ Service settings common to all browsers are described on the [Service page]({{< Unlike other browsers, Safari doesn't let you choose where logs are output, or change levels. The one option available is to turn logs off or on. If logs are toggled on, they can be found at:`~/Library/Logs/com.apple.WebDriver/`. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/SafariTest.java#L31" >}} @@ -91,7 +91,7 @@ Property value: `"true"` or `"false"` Apple provides a development version of their browser — [Safari Technology Preview](https://developer.apple.com/safari/technology-preview/) To use this version in your code: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/browsers/safari.pt-br.md b/website_and_docs/content/documentation/webdriver/browsers/safari.pt-br.md index 77ffb8f4c62e..995a880ea7f1 100644 --- a/website_and_docs/content/documentation/webdriver/browsers/safari.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/browsers/safari.pt-br.md @@ -59,7 +59,7 @@ Service settings common to all browsers are described on the [Service page]({{< Unlike other browsers, Safari doesn't let you choose where logs are output, or change levels. The one option available is to turn logs off or on. If logs are toggled on, they can be found at:`~/Library/Logs/com.apple.WebDriver/`. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/SafariTest.java#L31" >}} @@ -91,7 +91,7 @@ Property value: `"true"` or `"false"` Apple provides a development version of their browser — [Safari Technology Preview](https://developer.apple.com/safari/technology-preview/) To use this version in your code: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/browsers/safari.zh-cn.md b/website_and_docs/content/documentation/webdriver/browsers/safari.zh-cn.md index f770bf33bcc1..20674cad24dc 100644 --- a/website_and_docs/content/documentation/webdriver/browsers/safari.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/browsers/safari.zh-cn.md @@ -59,7 +59,7 @@ Service settings common to all browsers are described on the [Service page]({{< Unlike other browsers, Safari doesn't let you choose where logs are output, or change levels. The one option available is to turn logs off or on. If logs are toggled on, they can be found at:`~/Library/Logs/com.apple.WebDriver/`. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< badge-version version="4.10" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/browsers/SafariTest.java#L31" >}} @@ -91,7 +91,7 @@ Property value: `"true"` or `"false"` Apple provides a development version of their browser — [Safari Technology Preview](https://developer.apple.com/safari/technology-preview/) To use this version in your code: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/drivers/_index.en.md b/website_and_docs/content/documentation/webdriver/drivers/_index.en.md index 70871c7f0cfe..bf54e86951d5 100644 --- a/website_and_docs/content/documentation/webdriver/drivers/_index.en.md +++ b/website_and_docs/content/documentation/webdriver/drivers/_index.en.md @@ -25,7 +25,7 @@ on the local machine. * [Service]({{< ref "service.md" >}}) object applies only to local drivers and provides information about the browser driver -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -59,7 +59,7 @@ Quitting a session corresponds to W3C command for [Deleting a Session](https://w Important note: the `quit` method is different from the `close` method, and it is recommended to always use `quit` to end the session -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/drivers/_index.ja.md b/website_and_docs/content/documentation/webdriver/drivers/_index.ja.md index d556ed5fab09..4b9d6cd13a65 100644 --- a/website_and_docs/content/documentation/webdriver/drivers/_index.ja.md +++ b/website_and_docs/content/documentation/webdriver/drivers/_index.ja.md @@ -25,7 +25,7 @@ weight: 3 * [Service]({{< ref "service.md" >}})オブジェクトはローカルドライバーにのみ適用され、ブラウザーのドライバーに関する情報を提供します。 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -58,7 +58,7 @@ weight: 3 重要: `quit` メソッドは `close` メソッドとは異なり、 セッションを終了するには常に `quit` を使用することをお勧めします。 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/drivers/_index.pt-br.md b/website_and_docs/content/documentation/webdriver/drivers/_index.pt-br.md index e273d3633561..ce62149a4506 100644 --- a/website_and_docs/content/documentation/webdriver/drivers/_index.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/drivers/_index.pt-br.md @@ -25,7 +25,7 @@ on the local machine. * [Service]({{< ref "service.md" >}}) object applies only to local drivers and provides information about the browser driver -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -59,7 +59,7 @@ Quitting a session corresponds to W3C command for [Deleting a Session](https://w Important note: the `quit` method is different from the `close` method, and it is recommended to always use `quit` to end the session -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/drivers/_index.zh-cn.md b/website_and_docs/content/documentation/webdriver/drivers/_index.zh-cn.md index 839e6118a0e9..97c3723d51aa 100644 --- a/website_and_docs/content/documentation/webdriver/drivers/_index.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/drivers/_index.zh-cn.md @@ -25,7 +25,7 @@ weight: 3 * [服务]({{< ref "service.md" >}}) 对象仅适用于本地驱动,并提供有关浏览器驱动的信息 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -59,7 +59,7 @@ weight: 3 重要提示: `quit` 方法与 `close` 方法不同, 建议始终使用 `quit` 来结束会话 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/drivers/http_client.en.md b/website_and_docs/content/documentation/webdriver/drivers/http_client.en.md index 946f1248d319..0b5302bd0366 100644 --- a/website_and_docs/content/documentation/webdriver/drivers/http_client.en.md +++ b/website_and_docs/content/documentation/webdriver/drivers/http_client.en.md @@ -6,7 +6,7 @@ weight: 3 These allow you to set various parameters for the HTTP library -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/drivers/http_client.ja.md b/website_and_docs/content/documentation/webdriver/drivers/http_client.ja.md index 946f1248d319..0b5302bd0366 100644 --- a/website_and_docs/content/documentation/webdriver/drivers/http_client.ja.md +++ b/website_and_docs/content/documentation/webdriver/drivers/http_client.ja.md @@ -6,7 +6,7 @@ weight: 3 These allow you to set various parameters for the HTTP library -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/drivers/http_client.pt-br.md b/website_and_docs/content/documentation/webdriver/drivers/http_client.pt-br.md index 946f1248d319..0b5302bd0366 100644 --- a/website_and_docs/content/documentation/webdriver/drivers/http_client.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/drivers/http_client.pt-br.md @@ -6,7 +6,7 @@ weight: 3 These allow you to set various parameters for the HTTP library -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/drivers/http_client.zh-cn.md b/website_and_docs/content/documentation/webdriver/drivers/http_client.zh-cn.md index d6ae178cf04a..a231898f5a90 100644 --- a/website_and_docs/content/documentation/webdriver/drivers/http_client.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/drivers/http_client.zh-cn.md @@ -6,7 +6,7 @@ weight: 3 允许您为HTTP库设置各种参数. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/drivers/options.en.md b/website_and_docs/content/documentation/webdriver/drivers/options.en.md index 61596fb07ef7..7f5834781dce 100644 --- a/website_and_docs/content/documentation/webdriver/drivers/options.en.md +++ b/website_and_docs/content/documentation/webdriver/drivers/options.en.md @@ -29,7 +29,7 @@ Each browser has [custom options]({{< ref "../browsers/" >}}) that may be define Browser name is set by default when using an Options class instance. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -56,7 +56,7 @@ This capability is optional, this is used to set the available browser version a In recent versions of Selenium, if the version is not found on the system, it will be automatically downloaded by [Selenium Manager]({{< ref "../../selenium_manager" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -369,7 +369,7 @@ fetching the `platformName` returns the OS name. In cloud-based providers, setting `platformName` sets the OS at the remote-end. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -407,7 +407,7 @@ All self-signed certificates will be trusted by this capability by default. Once set, `acceptInsecureCerts` capability will have an effect for the entire session. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -442,7 +442,7 @@ Specifies when to interrupt an executing script in a current browsing context. The default timeout **30,000** is imposed when a new session is created by WebDriver. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -471,7 +471,7 @@ new session is created by WebDriver. If page load limits a given/default time frame, the script will be stopped by _TimeoutException_. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -498,7 +498,7 @@ implicit element location strategy when locating elements. The default timeout **0** is imposed when a new session is created by WebDriver. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -536,7 +536,7 @@ user prompt encounters at the remote-end. This is defined by * accept and notify * ignore -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -561,7 +561,7 @@ user prompt encounters at the remote-end. This is defined by Indicates whether the remote end supports all of the [resizing and repositioning](https://w3c.github.io/webdriver/#resizing-and-positioning-windows) [commands](https://w3c.github.io/webdriver/#dfn-commands). -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -589,7 +589,7 @@ should be applied to _input type=file_ elements. As strict interactability checks are off by default, there is a change in behaviour when using _Element Send Keys_ with hidden file upload controls. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/drivers/options.ja.md b/website_and_docs/content/documentation/webdriver/drivers/options.ja.md index 587053647f25..c294fe7114b2 100644 --- a/website_and_docs/content/documentation/webdriver/drivers/options.ja.md +++ b/website_and_docs/content/documentation/webdriver/drivers/options.ja.md @@ -29,7 +29,7 @@ Selenium 4 以降、ブラウザ オプション クラスを使用する必要 Browser name is set by default when using an Options class instance. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -57,7 +57,7 @@ This capability is optional, this is used to set the available browser version a In recent versions of Selenium, if the version is not found on the system, it will be automatically downloaded by [Selenium Manager]({{< ref "../../selenium_manager" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -363,7 +363,7 @@ fun main() { クラウドベースのプロバイダーでは、 `platformName` を設定すると、リモートエンドのOSが設定されます。 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -395,7 +395,7 @@ fun main() { すべての自己署名証明書は、デフォルトでこの機能によって信頼されます。 一度設定すると、 `acceptInsecureCerts` Capabilityはセッション全体に影響します。 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -427,7 +427,7 @@ WebDriverの `セッション` には特定の `セッションタイムアウ 現在のブラウジングコンテキストで実行中のスクリプトをいつ中断するかを指定します。 新しいセッションがWebDriverによって作成されると、デフォルトのタイムアウト **30,000** が課されます。 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -453,7 +453,7 @@ WebDriverの `セッション` には特定の `セッションタイムアウ 新しいセッションがWebDriverによって作成されると、デフォルトのタイムアウト **300,000** が課されます。 ページの読み込みが指定/デフォルトの時間枠を制限する場合、スクリプトは _TimeoutException_ によって停止されます。 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -478,7 +478,7 @@ WebDriverの `セッション` には特定の `セッションタイムアウ これは、要素を検索するときに暗黙的な要素の検索戦略を待つ時間を指定します。 新しいセッションがWebDriverによって作成されると、デフォルトのタイムアウト **0** が課されます。 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -515,7 +515,7 @@ WebDriverの `セッション` には特定の `セッションタイムアウ * accept and notify (受け入れて通知) * ignore (無視) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -541,7 +541,7 @@ WebDriverの `セッション` には特定の `セッションタイムアウ リモート エンドがすべての [サイズ変更および再配置](https://w3c.github.io/webdriver/#resizing-and-positioning-windows) [コマンド](https://w3c.github.io/webdriver/#dfn-commands) をサポートするかどうかを示します。 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -568,7 +568,7 @@ WebDriverの `セッション` には特定の `セッションタイムアウ 厳密な相互作用チェックはデフォルトでオフになっているため、隠しファイルのアップロードコントロールで _Element Send Keys_ を使用する場合の動作が変更されます。 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/drivers/options.pt-br.md b/website_and_docs/content/documentation/webdriver/drivers/options.pt-br.md index 2eb0dd3ee614..89952961366a 100644 --- a/website_and_docs/content/documentation/webdriver/drivers/options.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/drivers/options.pt-br.md @@ -48,7 +48,7 @@ defina a versão do navegador disponível na extremidade remota. Por exemplo, se solicitar o Chrome versão 75 em um sistema que tiver apenas 80 instalados, a criação da sessão falhará. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -359,7 +359,7 @@ fetching the `platformName` returns the OS name. In cloud-based providers, setting `platformName` sets the OS at the remote-end. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -397,7 +397,7 @@ All self-signed certificates will be trusted by this capability by default. Once set, `acceptInsecureCerts` capability will have an effect for the entire session. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -433,7 +433,7 @@ Specifies when to interrupt an executing script in a current browsing context. The default timeout **30,000** is imposed when a new session is created by WebDriver. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -462,7 +462,7 @@ new session is created by WebDriver. If page load limits a given/default time frame, the script will be stopped by _TimeoutException_. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -489,7 +489,7 @@ implicit element location strategy when locating elements. The default timeout **0** is imposed when a new session is created by WebDriver. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -528,7 +528,7 @@ user prompt encounters at the remote-end. This is defined by * accept and notify * ignore -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -554,7 +554,7 @@ user prompt encounters at the remote-end. This is defined by Indicates whether the remote end supports all of the [resizing and repositioning](https://w3c.github.io/webdriver/#resizing-and-positioning-windows) [commands](https://w3c.github.io/webdriver/#dfn-commands). -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -583,7 +583,7 @@ should be applied to _input type=file_ elements. As strict interactability checks are off by default, there is a change in behaviour when using _Element Send Keys_ with hidden file upload controls. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/drivers/options.zh-cn.md b/website_and_docs/content/documentation/webdriver/drivers/options.zh-cn.md index b5a7fe399c09..f8523d1f46a0 100644 --- a/website_and_docs/content/documentation/webdriver/drivers/options.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/drivers/options.zh-cn.md @@ -32,7 +32,7 @@ aliases: [ Browser name is set by default when using an Options class instance. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -60,7 +60,7 @@ This capability is optional, this is used to set the available browser version a In recent versions of Selenium, if the version is not found on the system, it will be automatically downloaded by [Selenium Manager]({{< ref "../../selenium_manager" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -375,7 +375,7 @@ fun main() { 在基于云的供应者中, 设置 `platformName` 将在远程端设置操作系统. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -410,7 +410,7 @@ fun main() { 默认情况下, 此功能将信任所有自签名证书. 设置后, `acceptInsecureCerts` 功能将在整个会话中生效. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -445,7 +445,7 @@ WebDriver `session` 具有一定的 `session timeout` 间隔, WebDriver创建新会话时, 将设置默认的超时时间为 **30,000** . -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -473,7 +473,7 @@ WebDriver创建新会话时, 如果页面加载限制了给定 (或默认) 的时间范围, 则该脚本将被 _TimeoutException_ 停止. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -499,7 +499,7 @@ WebDriver创建新会话时, WebDriver创建新会话时, 将设置默认超时时间为 **0** . -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -538,7 +538,7 @@ WebDriver创建新会话时, * accept and notify * ignore -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -565,7 +565,7 @@ WebDriver创建新会话时, 用于所有支持 [调整大小和重新定位](https://w3c.github.io/webdriver/#resizing-and-positioning-windows) [命令](https://w3c.github.io/webdriver/#dfn-commands) 的远程终端. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -594,7 +594,7 @@ WebDriver创建新会话时, 在将 _元素的Send Keys_ 方法作用于隐藏的文件上传时, 会有控制方面的行为区别. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/drivers/remote_webdriver.en.md b/website_and_docs/content/documentation/webdriver/drivers/remote_webdriver.en.md index 17233ad77ca0..4da185b6cdf7 100644 --- a/website_and_docs/content/documentation/webdriver/drivers/remote_webdriver.en.md +++ b/website_and_docs/content/documentation/webdriver/drivers/remote_webdriver.en.md @@ -23,7 +23,7 @@ for all the various ways the grid can be configured. The driver needs to know where to send commands to and which browser to start on the Remote computer. So an address and an options instance are both required. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L37-L38" >}} {{< /tab >}} @@ -55,7 +55,7 @@ the file, and send it to the remote machine, so the driver can see the reference Some bindings include a basic local file detector by default, and all of them allow for a custom file detector. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} Java does not include a Local File Detector by default, so you must always add one to do uploads. {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L48-L51" >}} @@ -100,7 +100,7 @@ you must add the flag: The grid uses the `se:downloadsEnabled` capability to toggle whether to be responsible for managing the browser location. Each of the bindings have a method in the options class to set this. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L59-L61" >}} {{< /tab >}} @@ -126,7 +126,7 @@ Each of the bindings have a method in the options class to set this. Be aware that Selenium is not waiting for files to finish downloading, so the list is an immediate snapshot of what file names are currently in the directory for the given session. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L72" >}} {{< /tab >}} @@ -151,7 +151,7 @@ so the list is an immediate snapshot of what file names are currently in the dir Selenium looks for the name of the provided file in the list and downloads it to the provided target directory. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L78" >}} {{< /tab >}} @@ -177,7 +177,7 @@ Selenium looks for the name of the provided file in the list and downloads it to By default, the download directory is deleted at the end of the applicable session, but you can also delete all files during the session. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L83" >}} {{< /tab >}} @@ -204,7 +204,7 @@ but you can also delete all files during the session. Each [browser](({{< ref "../browsers/" >}})) has implemented special functionality that is available only to that browser. Each of the Selenium bindings has implemented a different way to use those features in a Remote Session -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Java requires you to use the Augmenter class, which allows it to automatically pull in implementations for all interfaces that match the capabilities used with the RemoteWebDriver diff --git a/website_and_docs/content/documentation/webdriver/drivers/remote_webdriver.ja.md b/website_and_docs/content/documentation/webdriver/drivers/remote_webdriver.ja.md index 3317c635fcae..206b0fa590f7 100644 --- a/website_and_docs/content/documentation/webdriver/drivers/remote_webdriver.ja.md +++ b/website_and_docs/content/documentation/webdriver/drivers/remote_webdriver.ja.md @@ -23,7 +23,7 @@ for all the various ways the grid can be configured. The driver needs to know where to send commands to and which browser to start on the Remote computer. So an address and an options instance are both required. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L37-L38" >}} {{< /tab >}} @@ -55,7 +55,7 @@ the file, and send it to the remote machine, so the driver can see the reference Some bindings include a basic local file detector by default, and all of them allow for a custom file detector. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} Java does not include a Local File Detector by default, so you must always add one to do uploads. {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L48-L51" >}} @@ -100,7 +100,7 @@ you must add the flag: The grid uses the `se:downloadsEnabled` capability to toggle whether to be responsible for managing the browser location. Each of the bindings have a method in the options class to set this. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L59-L61" >}} {{< /tab >}} @@ -126,7 +126,7 @@ Each of the bindings have a method in the options class to set this. Be aware that Selenium is not waiting for files to finish downloading, so the list is an immediate snapshot of what file names are currently in the directory for the given session. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L72" >}} {{< /tab >}} @@ -151,7 +151,7 @@ so the list is an immediate snapshot of what file names are currently in the dir Selenium looks for the name of the provided file in the list and downloads it to the provided target directory. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L78" >}} {{< /tab >}} @@ -177,7 +177,7 @@ Selenium looks for the name of the provided file in the list and downloads it to By default, the download directory is deleted at the end of the applicable session, but you can also delete all files during the session. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L83" >}} {{< /tab >}} @@ -204,7 +204,7 @@ but you can also delete all files during the session. Each [browser](({{< ref "../browsers/" >}})) has implemented special functionality that is available only to that browser. Each of the Selenium bindings has implemented a different way to use those features in a Remote Session -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Java requires you to use the Augmenter class, which allows it to automatically pull in implementations for all interfaces that match the capabilities used with the RemoteWebDriver diff --git a/website_and_docs/content/documentation/webdriver/drivers/remote_webdriver.pt-br.md b/website_and_docs/content/documentation/webdriver/drivers/remote_webdriver.pt-br.md index 27b7fb8bccda..0f4e58f7746a 100644 --- a/website_and_docs/content/documentation/webdriver/drivers/remote_webdriver.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/drivers/remote_webdriver.pt-br.md @@ -32,7 +32,7 @@ for all the various ways the grid can be configured. The driver needs to know where to send commands to and which browser to start on the Remote computer. So an address and an options instance are both required. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L37-L38" >}} {{< /tab >}} @@ -64,7 +64,7 @@ the file, and send it to the remote machine, so the driver can see the reference Some bindings include a basic local file detector by default, and all of them allow for a custom file detector. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} Java does not include a Local File Detector by default, so you must always add one to do uploads. {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L48-L51" >}} @@ -109,7 +109,7 @@ you must add the flag: The grid uses the `se:downloadsEnabled` capability to toggle whether to be responsible for managing the browser location. Each of the bindings have a method in the options class to set this. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L59-L61" >}} {{< /tab >}} @@ -135,7 +135,7 @@ Each of the bindings have a method in the options class to set this. Be aware that Selenium is not waiting for files to finish downloading, so the list is an immediate snapshot of what file names are currently in the directory for the given session. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L72" >}} {{< /tab >}} @@ -160,7 +160,7 @@ so the list is an immediate snapshot of what file names are currently in the dir Selenium looks for the name of the provided file in the list and downloads it to the provided target directory. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L78" >}} {{< /tab >}} @@ -186,7 +186,7 @@ Selenium looks for the name of the provided file in the list and downloads it to By default, the download directory is deleted at the end of the applicable session, but you can also delete all files during the session. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L83" >}} {{< /tab >}} @@ -213,7 +213,7 @@ but you can also delete all files during the session. Each [browser](({{< ref "../browsers/" >}})) has implemented special functionality that is available only to that browser. Each of the Selenium bindings has implemented a different way to use those features in a Remote Session -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Java requires you to use the Augmenter class, which allows it to automatically pull in implementations for all interfaces that match the capabilities used with the RemoteWebDriver diff --git a/website_and_docs/content/documentation/webdriver/drivers/remote_webdriver.zh-cn.md b/website_and_docs/content/documentation/webdriver/drivers/remote_webdriver.zh-cn.md index 0983487d781a..387ee722b687 100644 --- a/website_and_docs/content/documentation/webdriver/drivers/remote_webdriver.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/drivers/remote_webdriver.zh-cn.md @@ -23,7 +23,7 @@ for all the various ways the grid can be configured. The driver needs to know where to send commands to and which browser to start on the Remote computer. So an address and an options instance are both required. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L37-L38" >}} {{< /tab >}} @@ -55,7 +55,7 @@ the file, and send it to the remote machine, so the driver can see the reference Some bindings include a basic local file detector by default, and all of them allow for a custom file detector. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} Java does not include a Local File Detector by default, so you must always add one to do uploads. {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L48-L51" >}} @@ -100,7 +100,7 @@ you must add the flag: The grid uses the `se:downloadsEnabled` capability to toggle whether to be responsible for managing the browser location. Each of the bindings have a method in the options class to set this. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L59-L61" >}} {{< /tab >}} @@ -126,7 +126,7 @@ Each of the bindings have a method in the options class to set this. Be aware that Selenium is not waiting for files to finish downloading, so the list is an immediate snapshot of what file names are currently in the directory for the given session. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L72" >}} {{< /tab >}} @@ -151,7 +151,7 @@ so the list is an immediate snapshot of what file names are currently in the dir Selenium looks for the name of the provided file in the list and downloads it to the provided target directory. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L78" >}} {{< /tab >}} @@ -177,7 +177,7 @@ Selenium looks for the name of the provided file in the list and downloads it to By default, the download directory is deleted at the end of the applicable session, but you can also delete all files during the session. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/RemoteWebDriverTest.java#L83" >}} {{< /tab >}} @@ -204,7 +204,7 @@ but you can also delete all files during the session. Each [browser](({{< ref "../browsers/" >}})) has implemented special functionality that is available only to that browser. Each of the Selenium bindings has implemented a different way to use those features in a Remote Session -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Java requires you to use the Augmenter class, which allows it to automatically pull in implementations for all interfaces that match the capabilities used with the RemoteWebDriver diff --git a/website_and_docs/content/documentation/webdriver/drivers/service.en.md b/website_and_docs/content/documentation/webdriver/drivers/service.en.md index f3a26fb2ab85..158ef3665c75 100644 --- a/website_and_docs/content/documentation/webdriver/drivers/service.en.md +++ b/website_and_docs/content/documentation/webdriver/drivers/service.en.md @@ -16,7 +16,7 @@ to the command line. Most of the useful arguments are related to logging. To start a driver with a default service instance: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/ServiceTest.java#L15-L16" >}} **Note**: Java Service classes only allow values to be set during construction with a Builder pattern. @@ -47,7 +47,7 @@ To start a driver with a default service instance: **Note:** If you are using Selenium 4.6 or greater, you shouldn't need to set a driver location. If you cannot update Selenium or have an advanced use case, here is how to specify the driver location: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/ServiceTest.java#L25-L26" >}} {{< /tab >}} @@ -75,7 +75,7 @@ If you cannot update Selenium or have an advanced use case, here is how to speci If you want the driver to run on a specific port, you may specify it as follows: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/ServiceTest.java#L33" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/drivers/service.ja.md b/website_and_docs/content/documentation/webdriver/drivers/service.ja.md index 1dfc6cd83e79..d7a1a546c5aa 100644 --- a/website_and_docs/content/documentation/webdriver/drivers/service.ja.md +++ b/website_and_docs/content/documentation/webdriver/drivers/service.ja.md @@ -16,7 +16,7 @@ to the command line. Most of the useful arguments are related to logging. To start a driver with a default service instance: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/ServiceTest.java#L15-L16" >}} {{< /tab >}} @@ -43,7 +43,7 @@ To start a driver with a default service instance: **Note:** If you are using Selenium 4.6 or greater, you shouldn't need to set a driver location. If you can not update Selenium or have an advanced use case here is how to specify the driver location: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/ServiceTest.java#L25-L26" >}} {{< /tab >}} @@ -71,7 +71,7 @@ If you can not update Selenium or have an advanced use case here is how to speci If you want the driver to run on a specific port, you may specify it as follows: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/ServiceTest.java#L33" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/drivers/service.pt-br.md b/website_and_docs/content/documentation/webdriver/drivers/service.pt-br.md index 1dfc6cd83e79..d7a1a546c5aa 100644 --- a/website_and_docs/content/documentation/webdriver/drivers/service.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/drivers/service.pt-br.md @@ -16,7 +16,7 @@ to the command line. Most of the useful arguments are related to logging. To start a driver with a default service instance: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/ServiceTest.java#L15-L16" >}} {{< /tab >}} @@ -43,7 +43,7 @@ To start a driver with a default service instance: **Note:** If you are using Selenium 4.6 or greater, you shouldn't need to set a driver location. If you can not update Selenium or have an advanced use case here is how to specify the driver location: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/ServiceTest.java#L25-L26" >}} {{< /tab >}} @@ -71,7 +71,7 @@ If you can not update Selenium or have an advanced use case here is how to speci If you want the driver to run on a specific port, you may specify it as follows: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/ServiceTest.java#L33" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/drivers/service.zh-cn.md b/website_and_docs/content/documentation/webdriver/drivers/service.zh-cn.md index b2535e5f17b1..7f1df68bf385 100644 --- a/website_and_docs/content/documentation/webdriver/drivers/service.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/drivers/service.zh-cn.md @@ -16,7 +16,7 @@ to the command line. Most of the useful arguments are related to logging. To start a driver with a default service instance: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/ServiceTest.java#L15-L16" >}} {{< /tab >}} @@ -43,7 +43,7 @@ To start a driver with a default service instance: **Note:** If you are using Selenium 4.6 or greater, you shouldn't need to set a driver location. If you can not update Selenium or have an advanced use case here is how to specify the driver location: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/ServiceTest.java#L25-L26" >}} {{< /tab >}} @@ -71,7 +71,7 @@ If you can not update Selenium or have an advanced use case here is how to speci If you want the driver to run on a specific port, you may specify it as follows: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/drivers/ServiceTest.java#L33" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/elements/file_upload.en.md b/website_and_docs/content/documentation/webdriver/elements/file_upload.en.md index 684b11ed2e16..07f27f4d6d60 100644 --- a/website_and_docs/content/documentation/webdriver/elements/file_upload.en.md +++ b/website_and_docs/content/documentation/webdriver/elements/file_upload.en.md @@ -11,7 +11,7 @@ Because Selenium cannot interact with the file upload dialog, it provides a way to upload files without opening the dialog. If the element is an `input` element with type `file`, you can use the send keys method to send the full path to the file that will be uploaded. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/elements/FileUploadTest.java#L17-L19" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/elements/file_upload.ja.md b/website_and_docs/content/documentation/webdriver/elements/file_upload.ja.md index 2199ecb497bb..532fb1d5975f 100644 --- a/website_and_docs/content/documentation/webdriver/elements/file_upload.ja.md +++ b/website_and_docs/content/documentation/webdriver/elements/file_upload.ja.md @@ -12,7 +12,7 @@ Because Selenium cannot interact with the file upload dialog, it provides a way to upload files without opening the dialog. If the element is an `input` element with type `file`, you can use the send keys method to send the full path to the file that will be uploaded. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/elements/FileUploadTest.java#L17-L19" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/elements/file_upload.pt-br.md b/website_and_docs/content/documentation/webdriver/elements/file_upload.pt-br.md index 847045be4087..9d435d165b3d 100644 --- a/website_and_docs/content/documentation/webdriver/elements/file_upload.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/elements/file_upload.pt-br.md @@ -14,7 +14,7 @@ Because Selenium cannot interact with the file upload dialog, it provides a way to upload files without opening the dialog. If the element is an `input` element with type `file`, you can use the send keys method to send the full path to the file that will be uploaded. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/elements/FileUploadTest.java#L17-L19" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/elements/file_upload.zh-cn.md b/website_and_docs/content/documentation/webdriver/elements/file_upload.zh-cn.md index 5f0fa0646671..021ba2d5cbc0 100644 --- a/website_and_docs/content/documentation/webdriver/elements/file_upload.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/elements/file_upload.zh-cn.md @@ -11,7 +11,7 @@ Because Selenium cannot interact with the file upload dialog, it provides a way to upload files without opening the dialog. If the element is an `input` element with type `file`, you can use the send keys method to send the full path to the file that will be uploaded. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/elements/FileUploadTest.java#L17-L19" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/getting_started/first_script.en.md b/website_and_docs/content/documentation/webdriver/getting_started/first_script.en.md index 905ade68ea4b..1cc928b9c78c 100644 --- a/website_and_docs/content/documentation/webdriver/getting_started/first_script.en.md +++ b/website_and_docs/content/documentation/webdriver/getting_started/first_script.en.md @@ -20,7 +20,7 @@ Click on the link to "View full example on GitHub" to see the code in context. For more details on starting a session read our documentation on [driver sessions]({{< ref "../drivers/" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L12" >}} {{< /tab >}} @@ -44,7 +44,7 @@ For more details on starting a session read our documentation on [driver session ### 2. Take action on browser In this example we are [navigating]({{< ref "/documentation/webdriver/interactions/navigation.md" >}}) to a web page. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L14" >}} {{< /tab >}} @@ -70,7 +70,7 @@ In this example we are [navigating]({{< ref "/documentation/webdriver/interactio There are a bunch of types of [information about the browser]({{< ref "/documentation/webdriver/interactions" >}}) you can request, including window handles, browser size / position, cookies, alerts, etc. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#16" >}} {{< /tab >}} @@ -104,7 +104,7 @@ we'll use it as a placeholder. Read more about [Waiting strategies]({{< ref "/documentation/webdriver/waits.md" >}}). -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L18" >}} {{< /tab >}} @@ -129,7 +129,7 @@ Read more about [Waiting strategies]({{< ref "/documentation/webdriver/waits.md" The majority of commands in most Selenium sessions are element related, and you can't interact with one without first [finding an element]({{< ref "/documentation/webdriver/elements" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L20-L21" >}} {{< /tab >}} @@ -154,7 +154,7 @@ with one without first [finding an element]({{< ref "/documentation/webdriver/el There are only a handful of [actions to take on an element]({{< ref "/documentation/webdriver/elements/interactions.md" >}}), but you will use them frequently. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L23-L24" >}} {{< /tab >}} @@ -178,7 +178,7 @@ but you will use them frequently. ### 7. Request element information Elements store a lot of [information that can be requested]({{< ref "/documentation/webdriver/elements/information" >}}). -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L27" >}} {{< /tab >}} @@ -205,7 +205,7 @@ This ends the driver process, which by default closes the browser as well. No more commands can be sent to this driver instance. See [Quitting Sessions]({{< ref "../drivers/#quitting-sessions" >}}). -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L29" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/getting_started/first_script.ja.md b/website_and_docs/content/documentation/webdriver/getting_started/first_script.ja.md index ad23c07e0abf..b44ce7de58d8 100644 --- a/website_and_docs/content/documentation/webdriver/getting_started/first_script.ja.md +++ b/website_and_docs/content/documentation/webdriver/getting_started/first_script.ja.md @@ -21,7 +21,7 @@ Click on the link to "View full example on GitHub" to see the code in context. For more details on starting a session read our documentation on [driver sessions]({{< ref "../drivers/" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L12" >}} {{< /tab >}} @@ -45,7 +45,7 @@ For more details on starting a session read our documentation on [driver sessio ### 2. Take action on browser In this example we are ブラウザが[ナビゲート]({{< ref "/documentation/webdriver/interactions/navigation.md" >}})するコマンドを送信します -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L14" >}} {{< /tab >}} @@ -71,7 +71,7 @@ In this example we are ブラウザが[ナビゲート]({{< ref "/documentation/ There are a bunch of types of [information about the browser]({{< ref "/documentation/webdriver/interactions" >}}) you can request, including window handles, browser size / position, cookies, alerts, etc. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#16" >}} {{< /tab >}} @@ -105,7 +105,7 @@ we'll use it as a placeholder. Read more about [Waiting strategies]({{< ref "/documentation/webdriver/waits.md" >}}). -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L18" >}} {{< /tab >}} @@ -130,7 +130,7 @@ Read more about [Waiting strategies]({{< ref "/documentation/webdriver/waits.md" The majority of commands in most Selenium sessions are element related, and you can't interact with one without first [finding an element]({{< ref "/documentation/webdriver/elements" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L20-L21" >}} {{< /tab >}} @@ -155,7 +155,7 @@ with one without first [finding an element]({{< ref "/documentation/webdriver/el There are only a handful of [actions to take on an element]({{< ref "/documentation/webdriver/elements/interactions.md" >}}), but you will use them frequently. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L23-L24" >}} {{< /tab >}} @@ -179,7 +179,7 @@ but you will use them frequently. ### 7. 要素に関する情報をリクエストします Elements store a lot of [information that can be requested]({{< ref "/documentation/webdriver/elements/information" >}}). -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L27" >}} {{< /tab >}} @@ -207,7 +207,7 @@ No more commands can be sent to this driver instance. See [Quitting Sessions]({{< ref "../drivers/#quitting-sessions" >}}). -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L29" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/getting_started/first_script.pt-br.md b/website_and_docs/content/documentation/webdriver/getting_started/first_script.pt-br.md index 2f494a743e8e..25ecfb4e5a40 100644 --- a/website_and_docs/content/documentation/webdriver/getting_started/first_script.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/getting_started/first_script.pt-br.md @@ -19,7 +19,7 @@ Click on the link to "View full example on GitHub" to see the code in context. ### 1. Iniciando uma sessão Para ter mais detalhes sobre como iniciar uma sessão, leia nossa documentação em [driver sessions]({{< ref "../drivers/" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L12" >}} {{< /tab >}} @@ -43,7 +43,7 @@ Para ter mais detalhes sobre como iniciar uma sessão, leia nossa documentação ### 2. Agindo no navegador de internet Nesse exemplo estamos [navegando]({{< ref "/documentation/webdriver/interactions/navigation.md" >}}) para uma página web. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L14" >}} {{< /tab >}} @@ -68,7 +68,7 @@ Nesse exemplo estamos [navegando]({{< ref "/documentation/webdriver/interactions Existem diversos tipos de [informação sobre o navegador de internet]({{< ref "/documentation/webdriver/interactions" >}}) que você pode solicitar, incluindo window handles, tamanho / posição do navegador, cookies, alertas e etc. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#16" >}} {{< /tab >}} @@ -103,7 +103,7 @@ vamos usá-la como um substituto. Leia mais sobre [Estratégias de espera]({{< ref "/documentation/webdriver/waits.md" >}}). -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L18" >}} {{< /tab >}} @@ -129,7 +129,7 @@ A maioria dos comandos na maior parte das sessões do Selenium são relacionados interagir com um sem o primeiro [encontrando um elemento]({{< ref "/documentation/webdriver/elements" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L20-L21" >}} {{< /tab >}} @@ -154,7 +154,7 @@ com um sem o primeiro [encontrando um elemento]({{< ref "/documentation/webdrive Há apenas um punhado de [ações a serem executadas em um elemento]({{< ref "/documentation/webdriver/elements/interactions.md" >}}), mas você irá usá-las com frequência. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L23-L24" >}} {{< /tab >}} @@ -178,7 +178,7 @@ mas você irá usá-las com frequência. ### 7. Solicitando informações do elemento Elementos podem guardar muitas [informações que podem ser solicitadas]({{< ref "/documentation/webdriver/elements/information" >}}). -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L27" >}} {{< /tab >}} @@ -206,7 +206,7 @@ Nenhum outro comando pode ser enviado para esta instância do driver. See [Quitting Sessions]({{< ref "../drivers/#quitting-sessions" >}}). -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L29" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/getting_started/first_script.zh-cn.md b/website_and_docs/content/documentation/webdriver/getting_started/first_script.zh-cn.md index 54e68ecd34fb..9965fe31d2b4 100644 --- a/website_and_docs/content/documentation/webdriver/getting_started/first_script.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/getting_started/first_script.zh-cn.md @@ -22,7 +22,7 @@ Click on the link to "View full example on GitHub" to see the code in context. 关于如何启动会话,请浏览我们的文档 [驱动会话]({{< ref "../drivers/" >}}) -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L12" >}} {{< /tab >}} @@ -49,7 +49,7 @@ Click on the link to "View full example on GitHub" to see the code in context. [导航]({{< ref "/documentation/webdriver/interactions/navigation.md" >}}) 到一个网页. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L14" >}} {{< /tab >}} @@ -75,7 +75,7 @@ Click on the link to "View full example on GitHub" to see the code in context. 您可以请求一系列关于[浏览器的信息]({{< ref "/documentation/webdriver/interactions" >}}) , 包括窗口句柄、浏览器尺寸/位置、cookie、警报等. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#16" >}} {{< /tab >}} @@ -114,7 +114,7 @@ Click on the link to "View full example on GitHub" to see the code in context. 阅读更多关于[等待策略]({{< ref "/documentation/webdriver/waits.md" >}}) 的信息. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L18" >}} {{< /tab >}} @@ -140,7 +140,7 @@ Click on the link to "View full example on GitHub" to see the code in context. 如果不先[找到元素]({{< ref "/documentation/webdriver/elements" >}}), 就无法与之交互. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L20-L21" >}} {{< /tab >}} @@ -166,7 +166,7 @@ Click on the link to "View full example on GitHub" to see the code in context. 只有少数几个[操作]({{< ref "/documentation/webdriver/elements/interactions.md" >}})可以执行, 但您将经常使用它们. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L23-L24" >}} {{< /tab >}} @@ -190,7 +190,7 @@ Click on the link to "View full example on GitHub" to see the code in context. ### 7. 获取元素信息 元素存储了很多[被请求的信息]({{< ref "/documentation/webdriver/elements/information" >}}). -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L27" >}} {{< /tab >}} @@ -219,7 +219,7 @@ Click on the link to "View full example on GitHub" to see the code in context. See [Quitting Sessions]({{< ref "../drivers/#quitting-sessions" >}}). -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/FirstScript.java#L29" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/getting_started/install_library.en.md b/website_and_docs/content/documentation/webdriver/getting_started/install_library.en.md index 4add81a825a7..ed8efbb61ec0 100644 --- a/website_and_docs/content/documentation/webdriver/getting_started/install_library.en.md +++ b/website_and_docs/content/documentation/webdriver/getting_started/install_library.en.md @@ -18,7 +18,7 @@ you are using the latest version. ## Requirements by language -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} View the minimum supported Java version [here](https://github.com/SeleniumHQ/selenium/blob/trunk/.bazelrc#L13). diff --git a/website_and_docs/content/documentation/webdriver/getting_started/install_library.ja.md b/website_and_docs/content/documentation/webdriver/getting_started/install_library.ja.md index 77c4d68e4b14..c6d22ec23d2b 100644 --- a/website_and_docs/content/documentation/webdriver/getting_started/install_library.ja.md +++ b/website_and_docs/content/documentation/webdriver/getting_started/install_library.ja.md @@ -16,7 +16,7 @@ aliases: [ ## Requirements by language -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} View the minimum supported Java version [here](https://github.com/SeleniumHQ/selenium/blob/trunk/.bazelrc#L13). diff --git a/website_and_docs/content/documentation/webdriver/getting_started/install_library.pt-br.md b/website_and_docs/content/documentation/webdriver/getting_started/install_library.pt-br.md index ef1daa5fe2a7..ddda5f3cf15f 100644 --- a/website_and_docs/content/documentation/webdriver/getting_started/install_library.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/getting_started/install_library.pt-br.md @@ -17,7 +17,7 @@ O processo de instalação de bibliotecas depende da linguagem que você escolhe ## Requisitos por linguagem -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Veja a mínima versão do Java suportada [aqui](https://github.com/SeleniumHQ/selenium/blob/trunk/.bazelrc#L13). diff --git a/website_and_docs/content/documentation/webdriver/getting_started/install_library.zh-cn.md b/website_and_docs/content/documentation/webdriver/getting_started/install_library.zh-cn.md index 4bc1acaaa952..09f79be6eaf7 100644 --- a/website_and_docs/content/documentation/webdriver/getting_started/install_library.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/getting_started/install_library.zh-cn.md @@ -16,7 +16,7 @@ aliases: [ ## 请求对应的程序语言 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} 查看该库所支持java的最低版本 [here](https://github.com/SeleniumHQ/selenium/blob/trunk/.bazelrc#L13). diff --git a/website_and_docs/content/documentation/webdriver/getting_started/using_selenium.en.md b/website_and_docs/content/documentation/webdriver/getting_started/using_selenium.en.md index c98cdf9f21b7..f6b53e97fc1b 100644 --- a/website_and_docs/content/documentation/webdriver/getting_started/using_selenium.en.md +++ b/website_and_docs/content/documentation/webdriver/getting_started/using_selenium.en.md @@ -65,7 +65,7 @@ example directories that use test runners and get executed every release to ensu Here is a list of test runners with links. The first item is the one that is used by this repository and the one that will be used for all examples on this page. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} - [JUnit](https://junit.org/junit5/) - A widely-used testing framework for Java-based Selenium tests. - [TestNG](https://testng.org/doc/) - Offers extra features like parallel test execution and parameterized tests. @@ -102,7 +102,7 @@ that will be used for all examples on this page. This is very similar to what was required in [Install a Selenium Library]({{< ref "install_library.md" >}}). This code is only showing examples for what is being used in our Documentation Examples project. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} **Maven** @@ -134,7 +134,7 @@ In your project's `package.json`, add requirement to `dependencies`: ### Asserting -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -157,7 +157,7 @@ In your project's `package.json`, add requirement to `dependencies`: ### Setting Up and Tearing Down -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -180,7 +180,7 @@ In your project's `package.json`, add requirement to `dependencies`: ### Executing -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} ### Maven @@ -219,7 +219,7 @@ mocha runningTests.spec.js In [First script]({{< ref "first_script.md" >}}), we saw each of the components of a Selenium script. Here's an example of that code using a test runner: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/UsingSeleniumTest.java" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/getting_started/using_selenium.ja.md b/website_and_docs/content/documentation/webdriver/getting_started/using_selenium.ja.md index f1d08996f5eb..aeafeeed6163 100644 --- a/website_and_docs/content/documentation/webdriver/getting_started/using_selenium.ja.md +++ b/website_and_docs/content/documentation/webdriver/getting_started/using_selenium.ja.md @@ -61,7 +61,7 @@ example directories that use test runners and get executed every release to ensu Here is a list of test runners with links. The first item is the one that is used by this repository and the one that will be used for all examples on this page. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} - [JUnit](https://junit.org/junit5/) - A widely-used testing framework for Java-based Selenium tests. - [TestNG](https://testng.org/doc/) - Offers extra features like parallel test execution and parameterized tests. @@ -98,7 +98,7 @@ that will be used for all examples on this page. This is very similar to what was required in [Install a Selenium Library]({{< ref "install_library.md" >}}). This code is only showing examples for what is being used in our Documentation Examples project. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} **Maven** @@ -130,7 +130,7 @@ In your project's `package.json`, add requirement to `dependencies`: ### Asserting -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -153,7 +153,7 @@ In your project's `package.json`, add requirement to `dependencies`: ### Setting Up and Tearing Down -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -176,7 +176,7 @@ In your project's `package.json`, add requirement to `dependencies`: ### Executing -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} ### Maven @@ -215,7 +215,7 @@ mocha runningTests.spec.js In [First script]({{< ref "first_script.md" >}}), we saw each of the components of a Selenium script. Here's an example of that code using a test runner: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/UsingSeleniumTest.java" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/getting_started/using_selenium.pt-br.md b/website_and_docs/content/documentation/webdriver/getting_started/using_selenium.pt-br.md index ebcc16ed09a2..317ecf9023cf 100644 --- a/website_and_docs/content/documentation/webdriver/getting_started/using_selenium.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/getting_started/using_selenium.pt-br.md @@ -61,7 +61,7 @@ que usam test runners e são executados a cada lançamento para garantir que tod Aqui está uma lista de executores de teste com links. O primeiro item é o que é usado por este repositório e o que que será usado para todos os exemplos nesta página. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} - [JUnit](https://junit.org/junit5/) - Uma estrutura de teste amplamente utilizada para testes Selenium baseados em Java. - [TestNG](https://testng.org/doc/) - Oferece recursos extras, como execução de testes paralelos e testes parametrizados. @@ -98,7 +98,7 @@ que será usado para todos os exemplos nesta página. Isto é muito semelhante ao que foi requerido em [Install a Selenium Library]({{< ref "install_library.md" >}}). Este código está apenas a mostrar exemplos do que está a ser usado no nosso projeto de Exemplos de Documentação. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} **Maven** @@ -130,7 +130,7 @@ In your project's `package.json`, adicionar requisito às `dependências`: ### Afirmar -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -153,7 +153,7 @@ In your project's `package.json`, adicionar requisito às `dependências`: ### Configuarar e Desconfigurar -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -176,7 +176,7 @@ In your project's `package.json`, adicionar requisito às `dependências`: ### Executando -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} ### Maven @@ -215,7 +215,7 @@ mocha runningTests.spec.js In [First script]({{< ref "first_script.md" >}}), we saw each of the components of a Selenium script. Here's an example of that code using a test runner: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/UsingSeleniumTest.java" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/getting_started/using_selenium.zh-cn.md b/website_and_docs/content/documentation/webdriver/getting_started/using_selenium.zh-cn.md index f1d08996f5eb..aeafeeed6163 100644 --- a/website_and_docs/content/documentation/webdriver/getting_started/using_selenium.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/getting_started/using_selenium.zh-cn.md @@ -61,7 +61,7 @@ example directories that use test runners and get executed every release to ensu Here is a list of test runners with links. The first item is the one that is used by this repository and the one that will be used for all examples on this page. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} - [JUnit](https://junit.org/junit5/) - A widely-used testing framework for Java-based Selenium tests. - [TestNG](https://testng.org/doc/) - Offers extra features like parallel test execution and parameterized tests. @@ -98,7 +98,7 @@ that will be used for all examples on this page. This is very similar to what was required in [Install a Selenium Library]({{< ref "install_library.md" >}}). This code is only showing examples for what is being used in our Documentation Examples project. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} **Maven** @@ -130,7 +130,7 @@ In your project's `package.json`, add requirement to `dependencies`: ### Asserting -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -153,7 +153,7 @@ In your project's `package.json`, add requirement to `dependencies`: ### Setting Up and Tearing Down -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} @@ -176,7 +176,7 @@ In your project's `package.json`, add requirement to `dependencies`: ### Executing -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} ### Maven @@ -215,7 +215,7 @@ mocha runningTests.spec.js In [First script]({{< ref "first_script.md" >}}), we saw each of the components of a Selenium script. Here's an example of that code using a test runner: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/getting_started/UsingSeleniumTest.java" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/interactions/virtual_authenticator.en.md b/website_and_docs/content/documentation/webdriver/interactions/virtual_authenticator.en.md index 5a9325d61e48..7ce33ba795bf 100644 --- a/website_and_docs/content/documentation/webdriver/interactions/virtual_authenticator.en.md +++ b/website_and_docs/content/documentation/webdriver/interactions/virtual_authenticator.en.md @@ -20,7 +20,7 @@ As the name suggests, Virtual Authenticator emulates such authenticators for tes A Virtual Authenticatior has a [set of properties](https://www.w3.org/TR/webauthn-2/#sctn-automation-virtual-authenticators). These properties are mapped as VirtualAuthenticatorOptions in the Selenium bindings. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L55-L61" >}} {{< /tab >}} @@ -47,7 +47,7 @@ These properties are mapped as VirtualAuthenticatorOptions in the Selenium bindi It creates a new virtual authenticator with the provided properties. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L68-L73" >}} {{< /tab >}} @@ -72,7 +72,7 @@ It creates a new virtual authenticator with the provided properties. Removes the previously added virtual authenticator. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L86" >}} {{< /tab >}} @@ -97,7 +97,7 @@ Removes the previously added virtual authenticator. Creates a resident (stateful) credential with the given required credential [parameters](https://w3c.github.io/webauthn/#sctn-automation-add-credential). -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L100-L103" >}} {{< /tab >}} @@ -122,7 +122,7 @@ Creates a resident (stateful) credential with the given required credential [par Creates a resident (stateless) credential with the given required credential [parameters](https://w3c.github.io/webauthn/#sctn-automation-add-credential). -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L143-L145" >}} {{< /tab >}} @@ -147,7 +147,7 @@ Creates a resident (stateless) credential with the given required credential [pa Registers the credential with the authenticator. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L137-L146" >}} {{< /tab >}} @@ -172,7 +172,7 @@ Registers the credential with the authenticator. Returns the list of credentials owned by the authenticator. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L157-L171" >}} {{< /tab >}} @@ -197,7 +197,7 @@ Returns the list of credentials owned by the authenticator. Removes a credential from the authenticator based on the passed credential id. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L181-L190" >}} {{< /tab >}} @@ -223,7 +223,7 @@ Removes a credential from the authenticator based on the passed credential id. Removes all the credentials from the authenticator. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L196-L205" >}} {{< /tab >}} @@ -248,7 +248,7 @@ Removes all the credentials from the authenticator. Sets whether the authenticator will simulate success or fail on user verification. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L211-L212" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/interactions/virtual_authenticator.ja.md b/website_and_docs/content/documentation/webdriver/interactions/virtual_authenticator.ja.md index 4567e233132a..a8e9d1caf01d 100644 --- a/website_and_docs/content/documentation/webdriver/interactions/virtual_authenticator.ja.md +++ b/website_and_docs/content/documentation/webdriver/interactions/virtual_authenticator.ja.md @@ -29,7 +29,7 @@ As the name suggests, Virtual Authenticator emulates such authenticators for tes A Virtual Authenticatior has a [set of properties](https://www.w3.org/TR/webauthn-2/#sctn-automation-virtual-authenticators). These properties are mapped as VirtualAuthenticatorOptions in the Selenium bindings. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L55-L61" >}} {{< /tab >}} @@ -54,7 +54,7 @@ These properties are mapped as VirtualAuthenticatorOptions in the Selenium bindi It creates a new virtual authenticator with the provided properties. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L68-L73" >}} {{< /tab >}} @@ -78,7 +78,7 @@ It creates a new virtual authenticator with the provided properties. Removes the previously added virtual authenticator. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L86" >}} {{< /tab >}} @@ -102,7 +102,7 @@ Removes the previously added virtual authenticator. Creates a resident (stateful) credential with the given required credential [parameters](https://w3c.github.io/webauthn/#sctn-automation-add-credential). -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L100-L103" >}} {{< /tab >}} @@ -125,7 +125,7 @@ Creates a resident (stateful) credential with the given required credential [par Creates a resident (stateless) credential with the given required credential [parameters](https://w3c.github.io/webauthn/#sctn-automation-add-credential). -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L143-L145" >}} {{< /tab >}} @@ -148,7 +148,7 @@ Creates a resident (stateless) credential with the given required credential [pa Registers the credential with the authenticator. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L137-L146" >}} {{< /tab >}} @@ -171,7 +171,7 @@ Registers the credential with the authenticator. Returns the list of credentials owned by the authenticator. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L157-L171" >}} {{< /tab >}} @@ -195,7 +195,7 @@ Returns the list of credentials owned by the authenticator. Removes a credential from the authenticator based on the passed credential id. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L181-L190" >}} {{< /tab >}} @@ -219,7 +219,7 @@ Removes a credential from the authenticator based on the passed credential id. Removes all the credentials from the authenticator. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L196-L205" >}} {{< /tab >}} @@ -242,7 +242,7 @@ Removes all the credentials from the authenticator. Sets whether the authenticator will simulate success or fail on user verification. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L211-L212" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/interactions/virtual_authenticator.pt-br.md b/website_and_docs/content/documentation/webdriver/interactions/virtual_authenticator.pt-br.md index ffba17404386..0cd294e0f01c 100644 --- a/website_and_docs/content/documentation/webdriver/interactions/virtual_authenticator.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/interactions/virtual_authenticator.pt-br.md @@ -20,7 +20,7 @@ Como o nome sugere, Virtual Authenticator emula esses autenticadores para testes Um Autenticador Virtual tem uma [série de propriedades](https://www.w3.org/TR/webauthn-2/#sctn-automation-virtual-authenticators). Essas propriedades são mapeadas como VirtualAuthenticatorOptions nos bindings do Selenium. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L55-L61" >}} {{< /tab >}} @@ -44,7 +44,7 @@ Essas propriedades são mapeadas como VirtualAuthenticatorOptions nos bindings d Cria um novo autenticador virtual com as propriedades fornecidas. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L68-L73" >}} {{< /tab >}} @@ -67,7 +67,7 @@ Cria um novo autenticador virtual com as propriedades fornecidas. Remove o autenticador virtual adicionado anteriormente. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L86" >}} {{< /tab >}} @@ -90,7 +90,7 @@ Remove o autenticador virtual adicionado anteriormente. Cria uma resident (stateful) credential com os requeridos [parâmetros](https://w3c.github.io/webauthn/#sctn-automation-add-credential). -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L100-L103" >}} {{< /tab >}} @@ -113,7 +113,7 @@ Cria uma resident (stateful) credential com os requeridos [parâmetros](https:// Cria uma resident (stateless) credential com os requeridos [parâmetros](https://w3c.github.io/webauthn/#sctn-automation-add-credential). -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L143-L145" >}} {{< /tab >}} @@ -136,7 +136,7 @@ Cria uma resident (stateless) credential com os requeridos [parâmetros](https:/ Registra a credencial com o autenticador. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L137-L146" >}} {{< /tab >}} @@ -159,7 +159,7 @@ Registra a credencial com o autenticador. Retorna a lista de credenciais que o autenticador possui. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L157-L171" >}} {{< /tab >}} @@ -183,7 +183,7 @@ Retorna a lista de credenciais que o autenticador possui. Remove a credencial do autenticador baseado na id da credencial passado. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L181-L190" >}} {{< /tab >}} @@ -207,7 +207,7 @@ Remove a credencial do autenticador baseado na id da credencial passado. Remove todas as credenciais do autenticador. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L196-L205" >}} {{< /tab >}} @@ -230,7 +230,7 @@ Remove todas as credenciais do autenticador. Diz se o autenticador simulará sucesso ou falha na verificação de usuário. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L211-L212" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/interactions/virtual_authenticator.zh-cn.md b/website_and_docs/content/documentation/webdriver/interactions/virtual_authenticator.zh-cn.md index 3022eb09f8fa..e40be266ccc5 100644 --- a/website_and_docs/content/documentation/webdriver/interactions/virtual_authenticator.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/interactions/virtual_authenticator.zh-cn.md @@ -20,7 +20,7 @@ Web 应用程序可以启用基于公钥的身份验证机制(称为 Web 身 虚拟身份验证器具有 [一组属性](https://www.w3.org/TR/webauthn-2/#sctn-automation-virtual-authenticators)。 这些属性在 Selenium 绑定中映射为 VirtualAuthenticatorOptions。 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L55-L61" >}} {{< /tab >}} @@ -45,7 +45,7 @@ Web 应用程序可以启用基于公钥的身份验证机制(称为 Web 身 它使用提供的属性创建一个新的虚拟身份验证器。 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L68-L73" >}} {{< /tab >}} @@ -69,7 +69,7 @@ Web 应用程序可以启用基于公钥的身份验证机制(称为 Web 身 删除之前添加的虚拟身份验证器。 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L86" >}} {{< /tab >}} @@ -93,7 +93,7 @@ Web 应用程序可以启用基于公钥的身份验证机制(称为 Web 身 使用给定的所需凭据 [参数](https://w3c.github.io/webauthn/#sctn-automation-add-credential) 创建一个永久(有状态的)凭据。 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L100-L103" >}} {{< /tab >}} @@ -116,7 +116,7 @@ Web 应用程序可以启用基于公钥的身份验证机制(称为 Web 身 使用给定的所需凭据 [参数](https://w3c.github.io/webauthn/#sctn-automation-add-credential) 创建一个常驻(无状态)凭据。 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L143-L145" >}} {{< /tab >}} @@ -139,7 +139,7 @@ Web 应用程序可以启用基于公钥的身份验证机制(称为 Web 身 向身份验证器注册凭据。 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L137-L146" >}} {{< /tab >}} @@ -162,7 +162,7 @@ Web 应用程序可以启用基于公钥的身份验证机制(称为 Web 身 返回身份验证者拥有的凭据列表。 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L157-L171" >}} {{< /tab >}} @@ -186,7 +186,7 @@ Web 应用程序可以启用基于公钥的身份验证机制(称为 Web 身 根据传递的凭据ID从身份验证器中删除凭据。 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L181-L190" >}} {{< /tab >}} @@ -210,7 +210,7 @@ Web 应用程序可以启用基于公钥的身份验证机制(称为 Web 身 从身份验证器中删除所有凭据。 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L196-L205" >}} {{< /tab >}} @@ -233,7 +233,7 @@ Web 应用程序可以启用基于公钥的身份验证机制(称为 Web 身 设置身份验证器是模拟用户验证成功还是失败。 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/VirtualAuthenticatorTest.java#L211-L212" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/support_features/expected_conditions.en.md b/website_and_docs/content/documentation/webdriver/support_features/expected_conditions.en.md index 3243870f058c..729ccb3908a1 100644 --- a/website_and_docs/content/documentation/webdriver/support_features/expected_conditions.en.md +++ b/website_and_docs/content/documentation/webdriver/support_features/expected_conditions.en.md @@ -19,7 +19,7 @@ These methods can include conditions such as: * text is visible * title contains specified value -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} [Expected Conditions Documentation](https://www.selenium.dev/selenium/docs/api/java/org/openqa/selenium/support/ui/ExpectedConditions.html) {{< badge-code >}} diff --git a/website_and_docs/content/documentation/webdriver/support_features/expected_conditions.ja.md b/website_and_docs/content/documentation/webdriver/support_features/expected_conditions.ja.md index 3243870f058c..729ccb3908a1 100644 --- a/website_and_docs/content/documentation/webdriver/support_features/expected_conditions.ja.md +++ b/website_and_docs/content/documentation/webdriver/support_features/expected_conditions.ja.md @@ -19,7 +19,7 @@ These methods can include conditions such as: * text is visible * title contains specified value -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} [Expected Conditions Documentation](https://www.selenium.dev/selenium/docs/api/java/org/openqa/selenium/support/ui/ExpectedConditions.html) {{< badge-code >}} diff --git a/website_and_docs/content/documentation/webdriver/support_features/expected_conditions.pt-br.md b/website_and_docs/content/documentation/webdriver/support_features/expected_conditions.pt-br.md index 1f36c1052cde..298cbe838688 100644 --- a/website_and_docs/content/documentation/webdriver/support_features/expected_conditions.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/support_features/expected_conditions.pt-br.md @@ -19,7 +19,7 @@ These methods can include conditions such as: * text is visible * title contains specified value -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} [Expected Conditions Documentation](https://www.selenium.dev/selenium/docs/api/java/org/openqa/selenium/support/ui/ExpectedConditions.html) {{< badge-code >}} diff --git a/website_and_docs/content/documentation/webdriver/support_features/expected_conditions.zh-cn.md b/website_and_docs/content/documentation/webdriver/support_features/expected_conditions.zh-cn.md index 3243870f058c..729ccb3908a1 100644 --- a/website_and_docs/content/documentation/webdriver/support_features/expected_conditions.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/support_features/expected_conditions.zh-cn.md @@ -19,7 +19,7 @@ These methods can include conditions such as: * text is visible * title contains specified value -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} [Expected Conditions Documentation](https://www.selenium.dev/selenium/docs/api/java/org/openqa/selenium/support/ui/ExpectedConditions.html) {{< badge-code >}} diff --git a/website_and_docs/content/documentation/webdriver/support_features/listeners.en.md b/website_and_docs/content/documentation/webdriver/support_features/listeners.en.md index e64235c220af..cfecbd7cb65f 100644 --- a/website_and_docs/content/documentation/webdriver/support_features/listeners.en.md +++ b/website_and_docs/content/documentation/webdriver/support_features/listeners.en.md @@ -9,7 +9,7 @@ aliases: [ These allow you to execute custom actions in every time specific Selenium commands are sent -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/support_features/listeners.ja.md b/website_and_docs/content/documentation/webdriver/support_features/listeners.ja.md index 27ce24155495..09714561af9a 100644 --- a/website_and_docs/content/documentation/webdriver/support_features/listeners.ja.md +++ b/website_and_docs/content/documentation/webdriver/support_features/listeners.ja.md @@ -9,7 +9,7 @@ aliases: [ These allow you to execute custom actions in every time specific Selenium commands are sent -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/support_features/listeners.pt-br.md b/website_and_docs/content/documentation/webdriver/support_features/listeners.pt-br.md index 5cbcf19ce228..d23c1655dc57 100644 --- a/website_and_docs/content/documentation/webdriver/support_features/listeners.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/support_features/listeners.pt-br.md @@ -9,7 +9,7 @@ aliases: [ These allow you to execute custom actions in every time specific Selenium commands are sent -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/support_features/listeners.zh-cn.md b/website_and_docs/content/documentation/webdriver/support_features/listeners.zh-cn.md index 3a5797691a28..015b9e9afb76 100644 --- a/website_and_docs/content/documentation/webdriver/support_features/listeners.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/support_features/listeners.zh-cn.md @@ -9,7 +9,7 @@ aliases: [ 允许您在每次发送特定 Selenium 命令时执行自定义操作 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< badge-code >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/support_features/select_lists.en.md b/website_and_docs/content/documentation/webdriver/support_features/select_lists.en.md index 739d83a6e1b0..8ae5aa2272d7 100644 --- a/website_and_docs/content/documentation/webdriver/support_features/select_lists.en.md +++ b/website_and_docs/content/documentation/webdriver/support_features/select_lists.en.md @@ -58,7 +58,7 @@ This only applies to `` element, then use it to initialize a `Select` object. Note that as of Selenium 4.5, you can't create a `Select` object if the `` element: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/support/SelectListTest.java#L51" >}} {{< /tab >}} @@ -114,7 +114,7 @@ Get a list of selected options in the ` ``` -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/support/SelectListTest.java#L77-L79" >}} {{< /tab >}} @@ -255,7 +255,7 @@ Options with a `disabled` attribute may not be selected. Only multiple select type select lists can have options de-selected. You can repeat these methods for each element you want to select. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/support/SelectListTest.java#L66" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/support_features/select_lists.ja.md b/website_and_docs/content/documentation/webdriver/support_features/select_lists.ja.md index 8890d26e2cc7..e493aecaa293 100644 --- a/website_and_docs/content/documentation/webdriver/support_features/select_lists.ja.md +++ b/website_and_docs/content/documentation/webdriver/support_features/select_lists.ja.md @@ -58,7 +58,7 @@ This only applies to `` element, then use it to initialize a `Select` object. Note that as of Selenium 4.5, you can't create a `Select` object if the `` element: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/support/SelectListTest.java#L51" >}} {{< /tab >}} @@ -114,7 +114,7 @@ Get a list of selected options in the ` ``` -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/support/SelectListTest.java#L77-L79" >}} {{< /tab >}} @@ -255,7 +255,7 @@ Options with a `disabled` attribute may not be selected. Only multiple select type select lists can have options de-selected. You can repeat these methods for each element you want to select. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/support/SelectListTest.java#L66" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/support_features/select_lists.pt-br.md b/website_and_docs/content/documentation/webdriver/support_features/select_lists.pt-br.md index 082a0b53050b..5aa849b885e4 100644 --- a/website_and_docs/content/documentation/webdriver/support_features/select_lists.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/support_features/select_lists.pt-br.md @@ -59,7 +59,7 @@ This only applies to `` element, then use it to initialize a `Select` object. Note that as of Selenium 4.5, you can't create a `Select` object if the `` element: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/support/SelectListTest.java#L51" >}} {{< /tab >}} @@ -115,7 +115,7 @@ Get a list of selected options in the ` ``` -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/support/SelectListTest.java#L77-L79" >}} {{< /tab >}} @@ -256,7 +256,7 @@ Options with a `disabled` attribute may not be selected. Only multiple select type select lists can have options de-selected. You can repeat these methods for each element you want to select. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/support/SelectListTest.java#L66" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/support_features/select_lists.zh-cn.md b/website_and_docs/content/documentation/webdriver/support_features/select_lists.zh-cn.md index 682cfe227ba6..f4105a19d708 100644 --- a/website_and_docs/content/documentation/webdriver/support_features/select_lists.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/support_features/select_lists.zh-cn.md @@ -63,7 +63,7 @@ Select对象现在将为您提供一系列命令, 您无法针对禁用的 `` 元素中所有选项列表: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/support/SelectListTest.java#L51" >}} {{< /tab >}} @@ -119,7 +119,7 @@ Select对象现在将为您提供一系列命令, 对于标准选择列表这将只是一个包含一个元素的列表, 对于复选列表则表示包含的零个或多个元素. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/support/SelectListTest.java#L54" >}} {{< /tab >}} @@ -150,7 +150,7 @@ Select类提供了三种选择选项的方法. 根据其可见文本选择选项 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/support/SelectListTest.java#L30" >}} {{< /tab >}} @@ -175,7 +175,7 @@ Select类提供了三种选择选项的方法. 根据其值属性选择选项 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/support/SelectListTest.java#L33" >}} {{< /tab >}} @@ -200,7 +200,7 @@ Select类提供了三种选择选项的方法. 根据其在列表中的位置选择选项 -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/support/SelectListTest.java#L36" >}} {{< /tab >}} @@ -234,7 +234,7 @@ Select类提供了三种选择选项的方法. ``` -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/support/SelectListTest.java#L77-L79" >}} {{< /tab >}} @@ -260,7 +260,7 @@ Select类提供了三种选择选项的方法. 只有复选类型的选择列表才能取消选择选项. 您可以对要选择的每个元素重复使用这些方法. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="/examples/java/src/test/java/dev/selenium/support/SelectListTest.java#L66" >}} {{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/troubleshooting/errors/driver_location.en.md b/website_and_docs/content/documentation/webdriver/troubleshooting/errors/driver_location.en.md index b8604a88f900..220a2da7503a 100644 --- a/website_and_docs/content/documentation/webdriver/troubleshooting/errors/driver_location.en.md +++ b/website_and_docs/content/documentation/webdriver/troubleshooting/errors/driver_location.en.md @@ -15,7 +15,7 @@ aliases: [ Historically, this is the most common error beginning Selenium users get when trying to run code for the first time: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} The path to the driver executable must be set by the webdriver.chrome.driver system property; @@ -67,7 +67,7 @@ drivers in the same place. You can either place the drivers in a directory that is already listed in `PATH`, or you can place them in a directory and add it to `PATH`. -{{< tabpane text=true persistLang=false >}} +{{< tabpane text=true persist=disabled >}} {{% tab header="Bash" %}} To see what directories are already on `PATH`, open a Terminal and execute: ```shell diff --git a/website_and_docs/content/documentation/webdriver/troubleshooting/errors/driver_location.ja.md b/website_and_docs/content/documentation/webdriver/troubleshooting/errors/driver_location.ja.md index c2326418de14..b8b6e0db3983 100644 --- a/website_and_docs/content/documentation/webdriver/troubleshooting/errors/driver_location.ja.md +++ b/website_and_docs/content/documentation/webdriver/troubleshooting/errors/driver_location.ja.md @@ -16,7 +16,7 @@ aliases: [ Historically, this is the most common error beginning Selenium users get when trying to run code for the first time: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} The path to the driver executable must be set by the webdriver.chrome.driver system property; @@ -68,7 +68,7 @@ drivers in the same place. You can either place the drivers in a directory that is already listed in `PATH`, or you can place them in a directory and add it to `PATH`. -{{< tabpane text=true persistLang=false >}} +{{< tabpane text=true persist=disabled >}} {{% tab header="Bash" %}} To see what directories are already on `PATH`, open a Terminal and execute: ```shell diff --git a/website_and_docs/content/documentation/webdriver/troubleshooting/errors/driver_location.pt-br.md b/website_and_docs/content/documentation/webdriver/troubleshooting/errors/driver_location.pt-br.md index 9cc0f81d6e51..5f8a0ffcdcda 100644 --- a/website_and_docs/content/documentation/webdriver/troubleshooting/errors/driver_location.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/troubleshooting/errors/driver_location.pt-br.md @@ -16,7 +16,7 @@ aliases: [ Historically, this is the most common error beginning Selenium users get when trying to run code for the first time: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} The path to the driver executable must be set by the webdriver.chrome.driver system property; @@ -68,7 +68,7 @@ drivers in the same place. You can either place the drivers in a directory that is already listed in `PATH`, or you can place them in a directory and add it to `PATH`. -{{< tabpane text=true persistLang=false >}} +{{< tabpane text=true persist=disabled >}} {{% tab header="Bash" %}} To see what directories are already on `PATH`, open a Terminal and execute: ```shell diff --git a/website_and_docs/content/documentation/webdriver/troubleshooting/errors/driver_location.zh-cn.md b/website_and_docs/content/documentation/webdriver/troubleshooting/errors/driver_location.zh-cn.md index 23f67582a111..208557197327 100644 --- a/website_and_docs/content/documentation/webdriver/troubleshooting/errors/driver_location.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/troubleshooting/errors/driver_location.zh-cn.md @@ -15,7 +15,7 @@ aliases: [ Historically, this is the most common error beginning Selenium users get when trying to run code for the first time: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} The path to the driver executable must be set by the webdriver.chrome.driver system property; @@ -67,7 +67,7 @@ drivers in the same place. You can either place the drivers in a directory that is already listed in `PATH`, or you can place them in a directory and add it to `PATH`. -{{< tabpane text=true persistLang=false >}} +{{< tabpane text=true persist=disabled >}} {{% tab header="Bash" %}} To see what directories are already on `PATH`, open a Terminal and execute: ```shell diff --git a/website_and_docs/content/documentation/webdriver/troubleshooting/logging.en.md b/website_and_docs/content/documentation/webdriver/troubleshooting/logging.en.md index e5646dd9e196..a95ab0b12abb 100644 --- a/website_and_docs/content/documentation/webdriver/troubleshooting/logging.en.md +++ b/website_and_docs/content/documentation/webdriver/troubleshooting/logging.en.md @@ -11,7 +11,7 @@ why you might be having a problem. ## Getting a logger -{{< tabpane langEqualsHeader=true text=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Java logs are typically created per class. You can work with the default logger to work with all loggers. To filter out specific classes, see [Filtering](#logger-filtering) @@ -58,7 +58,7 @@ logger = logging.getLogger('webdriver') ## Logger level Logger level helps to filter out logs based on their severity. -{{< tabpane langEqualsHeader=true text=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Java has 7 logger levels: `SEVERE`, `WARNING`, `INFO`, `CONFIG`, `FINE`, `FINER`, and `FINEST`. The default is `INFO`. @@ -127,7 +127,7 @@ for deprecations. For various reasons, Selenium project does not follow standard Our policy is to mark things as deprecated for 3 releases and then remove them, so deprecations may be logged as warnings. -{{< tabpane langEqualsHeader=true text=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Java logs actionable content at logger level `WARN` @@ -174,7 +174,7 @@ For example: This is the default level where Selenium logs things that users should be aware of but do not need to take actions on. This might reference a new method or direct users to more information about something -{{< tabpane langEqualsHeader=true text=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Java logs useful information at logger level `INFO` @@ -218,7 +218,7 @@ Example: The debug log level is used for information that may be needed for diagnosing issues and troubleshooting problems. -{{< tabpane langEqualsHeader=true text=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Java logs most debug content at logger level `FINE` @@ -261,7 +261,7 @@ Example: Logs can be displayed in the console or stored in a file. Different languages have different defaults. -{{< tabpane langEqualsHeader=true text=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} By default all logs are sent to `System.err`. To direct output to a file, you need to add a handler: @@ -299,7 +299,7 @@ logging.installConsoleHandler() ## Logger filtering -{{< tabpane langEqualsHeader=true text=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Java logging is managed on a per class level, so instead of using the root logger (`Logger.getLogger("")`), set the level you want to use on a per-class diff --git a/website_and_docs/content/documentation/webdriver/troubleshooting/logging.ja.md b/website_and_docs/content/documentation/webdriver/troubleshooting/logging.ja.md index 2ea00f3d39ee..7c25bde6040b 100644 --- a/website_and_docs/content/documentation/webdriver/troubleshooting/logging.ja.md +++ b/website_and_docs/content/documentation/webdriver/troubleshooting/logging.ja.md @@ -11,7 +11,7 @@ why you might be having a problem. ## Getting a logger -{{< tabpane langEqualsHeader=true text=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Java logs are typically created per class. You can work with the default logger to work with all loggers. To filter out specific classes, see [Filtering](#logger-filtering) @@ -57,7 +57,7 @@ logger = logging.getLogger('webdriver') ## Logger level Logger level helps to filter out logs based on their severity. -{{< tabpane langEqualsHeader=true text=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Java has 7 logger levels: `SEVERE`, `WARNING`, `INFO`, `CONFIG`, `FINE`, `FINER`, and `FINEST`. The default is `INFO`. @@ -125,7 +125,7 @@ for deprecations. For various reasons, Selenium project does not follow standard Our policy is to mark things as deprecated for 3 releases and then remove them, so deprecations may be logged as warnings. -{{< tabpane langEqualsHeader=true text=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Java logs actionable content at logger level `WARN` @@ -172,7 +172,7 @@ For example: This is the default level where Selenium logs things that users should be aware of but do not need to take actions on. This might reference a new method or direct users to more information about something -{{< tabpane langEqualsHeader=true text=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Java logs useful information at logger level `INFO` @@ -216,7 +216,7 @@ Example: The debug log level is used for information that may be needed for diagnosing issues and troubleshooting problems. -{{< tabpane langEqualsHeader=true text=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Java logs most debug content at logger level `FINE` @@ -259,7 +259,7 @@ Example: Logs can be displayed in the console or stored in a file. Different languages have different defaults. -{{< tabpane langEqualsHeader=true text=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} By default all logs are sent to `System.err`. To direct output to a file, you need to add a handler: @@ -296,7 +296,7 @@ logging.installConsoleHandler() ## Logger filtering -{{< tabpane langEqualsHeader=true text=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Java logging is managed on a per class level, so instead of using the root logger (`Logger.getLogger("")`), set the level you want to use on a per-class diff --git a/website_and_docs/content/documentation/webdriver/troubleshooting/logging.pt-br.md b/website_and_docs/content/documentation/webdriver/troubleshooting/logging.pt-br.md index 2ea00f3d39ee..7c25bde6040b 100644 --- a/website_and_docs/content/documentation/webdriver/troubleshooting/logging.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/troubleshooting/logging.pt-br.md @@ -11,7 +11,7 @@ why you might be having a problem. ## Getting a logger -{{< tabpane langEqualsHeader=true text=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Java logs are typically created per class. You can work with the default logger to work with all loggers. To filter out specific classes, see [Filtering](#logger-filtering) @@ -57,7 +57,7 @@ logger = logging.getLogger('webdriver') ## Logger level Logger level helps to filter out logs based on their severity. -{{< tabpane langEqualsHeader=true text=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Java has 7 logger levels: `SEVERE`, `WARNING`, `INFO`, `CONFIG`, `FINE`, `FINER`, and `FINEST`. The default is `INFO`. @@ -125,7 +125,7 @@ for deprecations. For various reasons, Selenium project does not follow standard Our policy is to mark things as deprecated for 3 releases and then remove them, so deprecations may be logged as warnings. -{{< tabpane langEqualsHeader=true text=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Java logs actionable content at logger level `WARN` @@ -172,7 +172,7 @@ For example: This is the default level where Selenium logs things that users should be aware of but do not need to take actions on. This might reference a new method or direct users to more information about something -{{< tabpane langEqualsHeader=true text=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Java logs useful information at logger level `INFO` @@ -216,7 +216,7 @@ Example: The debug log level is used for information that may be needed for diagnosing issues and troubleshooting problems. -{{< tabpane langEqualsHeader=true text=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Java logs most debug content at logger level `FINE` @@ -259,7 +259,7 @@ Example: Logs can be displayed in the console or stored in a file. Different languages have different defaults. -{{< tabpane langEqualsHeader=true text=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} By default all logs are sent to `System.err`. To direct output to a file, you need to add a handler: @@ -296,7 +296,7 @@ logging.installConsoleHandler() ## Logger filtering -{{< tabpane langEqualsHeader=true text=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Java logging is managed on a per class level, so instead of using the root logger (`Logger.getLogger("")`), set the level you want to use on a per-class diff --git a/website_and_docs/content/documentation/webdriver/troubleshooting/logging.zh-cn.md b/website_and_docs/content/documentation/webdriver/troubleshooting/logging.zh-cn.md index dbc99ec71c97..d7b036e30de1 100644 --- a/website_and_docs/content/documentation/webdriver/troubleshooting/logging.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/troubleshooting/logging.zh-cn.md @@ -12,7 +12,7 @@ description: > ## 获取一个logger -{{< tabpane langEqualsHeader=true text=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Java 日志通常是按类创建的. 您可以通过默认logger来使用所有loggers. @@ -60,7 +60,7 @@ logger = logging.getLogger('webdriver') ## 日志级别 Logger级别有助于根据日志的严重性过滤日志. -{{< tabpane langEqualsHeader=true text=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Java有七种logger级别: `SEVERE`, `WARNING`, `INFO`, `CONFIG`, `FINE`, `FINER`, 以及 `FINEST`. 默认是 `INFO`. @@ -129,7 +129,7 @@ logger.setLevel(logging.Level.INFO) 我们的政策是将 3 个版本的内容标记为已弃用后, 再删除它们, 因此弃用可能记录为警告. -{{< tabpane langEqualsHeader=true text=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Java 日志可操作的内容在logger级别 `WARN` @@ -176,7 +176,7 @@ For example: 这是默认级别, Selenium 记录用户应该注意但不需要对其执行操作的内容. 这可能会引用新方法或将用户定向到有关某些内容的详细信息 -{{< tabpane langEqualsHeader=true text=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Java 日志有用的信息在logger 级别 `INFO` @@ -220,7 +220,7 @@ Example: 调试日志级别用于诊断问题和解决问题可能需要的信息. -{{< tabpane langEqualsHeader=true text=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Java日志的大多数调试信息在logger 级别 `FINE` @@ -264,7 +264,7 @@ Example: 日志可以显示在控制台中, 也可以存储在文件中. 不同的语言有不同的默认值. -{{< tabpane langEqualsHeader=true text=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} 默认情况下, 所有日志都发送到 `System.err`. 要将输出定向到文件, 您需要添加一个处理程序: @@ -302,7 +302,7 @@ logging.installConsoleHandler() ## Logger 过滤 -{{< tabpane langEqualsHeader=true text=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} Java 日志记录是按类级别管理的, 因此不要使用根logger (`Logger.getLogger("")`), diff --git a/website_and_docs/content/documentation/webdriver/waits.en.md b/website_and_docs/content/documentation/webdriver/waits.en.md index 91e67b0dcc53..82a5bf52d196 100644 --- a/website_and_docs/content/documentation/webdriver/waits.en.md +++ b/website_and_docs/content/documentation/webdriver/waits.en.md @@ -65,7 +65,7 @@ could cause a timeout to occur after 20 seconds. Solving our example with an implicit wait looks like this: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/waits/WaitsTest.java#L50" >}} {{< /tab >}} @@ -96,7 +96,7 @@ so explicit waits are a great choice to specify the exact condition to wait for in each place it is needed. Another nice feature is that, by default, the Selenium Wait class automatically waits for the designated element to exist. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} This example shows the condition being waited for as a _lambda_. Java also supports [Expected Conditions]({{< ref "support_features/expected_conditions" >}}) @@ -136,7 +136,7 @@ For instance, if the _element not interactable_ error is retried by default, the add an action on a method inside the code getting executed (we just need to make sure that the code returns `true` when it is successful): -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} The easiest way to customize Waits in Java is to use the `FluentWait` class: {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/waits/WaitsTest.java#L82-L92" >}} diff --git a/website_and_docs/content/documentation/webdriver/waits.ja.md b/website_and_docs/content/documentation/webdriver/waits.ja.md index 34d6419d6828..9799e0604f8c 100644 --- a/website_and_docs/content/documentation/webdriver/waits.ja.md +++ b/website_and_docs/content/documentation/webdriver/waits.ja.md @@ -65,7 +65,7 @@ could cause a timeout to occur after 20 seconds. Solving our example with an implicit wait looks like this: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/waits/WaitsTest.java#L50" >}} {{< /tab >}} @@ -96,7 +96,7 @@ so explicit waits are a great choice to specify the exact condition to wait for in each place it is needed. Another nice feature is that, by default, the Selenium Wait class automatically waits for the designated element to exist. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} This example shows the condition being waited for as a _lambda_. Java also supports [Expected Conditions]({{< ref "support_features/expected_conditions" >}}) @@ -136,7 +136,7 @@ For instance, if the _element not interactable_ error is retried by default, the add an action on a method inside the code getting executed (we just need to make sure that the code returns `true` when it is successful): -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} The easiest way to customize Waits in Java is to use the `FluentWait` class: {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/waits/WaitsTest.java#L82-L92" >}} diff --git a/website_and_docs/content/documentation/webdriver/waits.pt-br.md b/website_and_docs/content/documentation/webdriver/waits.pt-br.md index 8ea31356161f..83a7f7d11a96 100644 --- a/website_and_docs/content/documentation/webdriver/waits.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/waits.pt-br.md @@ -65,7 +65,7 @@ could cause a timeout to occur after 20 seconds. Solving our example with an implicit wait looks like this: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/waits/WaitsTest.java#L50" >}} {{< /tab >}} @@ -96,7 +96,7 @@ so explicit waits are a great choice to specify the exact condition to wait for in each place it is needed. Another nice feature is that, by default, the Selenium Wait class automatically waits for the designated element to exist. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} This example shows the condition being waited for as a _lambda_. Java also supports [Expected Conditions]({{< ref "support_features/expected_conditions" >}}) @@ -136,7 +136,7 @@ For instance, if the _element not interactable_ error is retried by default, the add an action on a method inside the code getting executed (we just need to make sure that the code returns `true` when it is successful): -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} The easiest way to customize Waits in Java is to use the `FluentWait` class: {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/waits/WaitsTest.java#L82-L92" >}} diff --git a/website_and_docs/content/documentation/webdriver/waits.zh-cn.md b/website_and_docs/content/documentation/webdriver/waits.zh-cn.md index eda64618554f..e857ff78533b 100644 --- a/website_and_docs/content/documentation/webdriver/waits.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/waits.zh-cn.md @@ -65,7 +65,7 @@ could cause a timeout to occur after 20 seconds. Solving our example with an implicit wait looks like this: -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{< tab header="Java" >}} {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/waits/WaitsTest.java#L50" >}} {{< /tab >}} @@ -96,7 +96,7 @@ so explicit waits are a great choice to specify the exact condition to wait for in each place it is needed. Another nice feature is that, by default, the Selenium Wait class automatically waits for the designated element to exist. -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} This example shows the condition being waited for as a _lambda_. Java also supports [Expected Conditions]({{< ref "support_features/expected_conditions" >}}) @@ -136,7 +136,7 @@ For instance, if the _element not interactable_ error is retried by default, the add an action on a method inside the code getting executed (we just need to make sure that the code returns `true` when it is successful): -{{< tabpane text=true langEqualsHeader=true >}} +{{< tabpane text=true >}} {{% tab header="Java" %}} The easiest way to customize Waits in Java is to use the `FluentWait` class: {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/waits/WaitsTest.java#L82-L92" >}} diff --git a/website_and_docs/go.mod b/website_and_docs/go.mod index d46c4dbc4bad..02258d05d9ea 100644 --- a/website_and_docs/go.mod +++ b/website_and_docs/go.mod @@ -2,4 +2,4 @@ module github.com/SeleniumHQseleniumhq.github.io go 1.20 -require github.com/google/docsy v0.7.0 // indirect +require github.com/google/docsy v0.7.2 // indirect diff --git a/website_and_docs/go.sum b/website_and_docs/go.sum index 13dcee19cf84..c1f632de7709 100644 --- a/website_and_docs/go.sum +++ b/website_and_docs/go.sum @@ -1,5 +1,5 @@ github.com/FortAwesome/Font-Awesome v0.0.0-20230327165841-0698449d50f2/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo= -github.com/google/docsy v0.7.0 h1:JaeZ0/KufX/BJ3SyATb/fmZa1DFI7o5d9KU+i6+lLJY= -github.com/google/docsy v0.7.0/go.mod h1:5WhIFchr5BfH6agjcInhpLRz7U7map0bcmKSpcrg6BE= -github.com/google/docsy/dependencies v0.7.0/go.mod h1:gihhs5gmgeO+wuoay4FwOzob+jYJVyQbNaQOh788lD4= +github.com/google/docsy v0.7.2 h1:KzhFgTd3taF1jq9HDemH3omlUqn9qfdE68sxRyTySpM= +github.com/google/docsy v0.7.2/go.mod h1:ol3w2s1FBUzENdKSAEeNjtuaISUzHYHTw60xv5QH3Dg= +github.com/google/docsy/dependencies v0.7.2/go.mod h1:gihhs5gmgeO+wuoay4FwOzob+jYJVyQbNaQOh788lD4= github.com/twbs/bootstrap v5.2.3+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0= diff --git a/website_and_docs/static/js/tabpane-persist.js b/website_and_docs/static/js/tabpane-persist.js deleted file mode 100644 index 0adf31cedd92..000000000000 --- a/website_and_docs/static/js/tabpane-persist.js +++ /dev/null @@ -1,29 +0,0 @@ - -if (typeof Storage !== 'undefined') { - let activeLanguage = localStorage.getItem('active_language'); - - // Get active language from URL params if exists - const params = new Proxy(new URLSearchParams(window.location.search), { - get: (searchParams, prop) => searchParams.get(prop), - }); - if (params.language !== null) { - activeLanguage = params.language; - localStorage.setItem('active_language', activeLanguage); - } - if (activeLanguage) { - document - .querySelectorAll('.persistLang-' + activeLanguage) - .forEach((element) => { - $('#' + element.id).tab('show'); - }); - } -} -function persistLang(language) { - if (typeof Storage !== 'undefined') { - localStorage.setItem('active_language', language); - document.querySelectorAll('.persistLang-' + language) - .forEach((element) => { - $('#' + element.id).tab('show'); - }); - } -}