Skip to content

Commit cd6c575

Browse files
committed
[JS] Link code samples for chrome args [deploy site]
1 parent 758be08 commit cd6c575

File tree

4 files changed

+80
-4
lines changed

4 files changed

+80
-4
lines changed

website_and_docs/content/documentation/webdriver/browsers/chrome.en.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,26 @@ A common example is to turn the popup blocker back on.
104104

105105
Set excluded arguments on options:
106106

107-
{{< alert-code />}}
107+
{{< tabpane code=false langEqualsHeader=true >}}
108+
{{< tab header="Java" >}}
109+
{{< badge-code >}}
110+
{{< /tab >}}
111+
{{% tab header="Python" %}}
112+
{{< badge-code >}}
113+
{{% /tab %}}
114+
{{< tab header="CSharp" >}}
115+
{{< badge-code >}}
116+
{{< /tab >}}
117+
{{< tab header="Ruby" >}}
118+
{{< badge-code >}}
119+
{{< /tab >}}
120+
{{< tab header="JavaScript" >}}
121+
{{< gh-codeblock path="/examples/javascript/test/browser/chromeSpecificCaps.spec.js#L18-L21">}}
122+
{{< /tab >}}
123+
{{< tab header="Kotlin" >}}
124+
{{< badge-code >}}
125+
{{< /tab >}}
126+
{{< /tabpane >}}
108127

109128
## Casting
110129

website_and_docs/content/documentation/webdriver/browsers/chrome.ja.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,26 @@ Chrome はさまざまな引数を追加します。
104104

105105
オプションに除外された引数を設定します。
106106

107-
{{< alert-code />}}
107+
{{< tabpane code=false langEqualsHeader=true >}}
108+
{{< tab header="Java" >}}
109+
{{< badge-code >}}
110+
{{< /tab >}}
111+
{{% tab header="Python" %}}
112+
{{< badge-code >}}
113+
{{% /tab %}}
114+
{{< tab header="CSharp" >}}
115+
{{< badge-code >}}
116+
{{< /tab >}}
117+
{{< tab header="Ruby" >}}
118+
{{< badge-code >}}
119+
{{< /tab >}}
120+
{{< tab header="JavaScript" >}}
121+
{{< gh-codeblock path="/examples/javascript/test/browser/chromeSpecificCaps.spec.js#L18-L21">}}
122+
{{< /tab >}}
123+
{{< tab header="Kotlin" >}}
124+
{{< badge-code >}}
125+
{{< /tab >}}
126+
{{< /tabpane >}}
108127

109128
## キャスティング
110129

website_and_docs/content/documentation/webdriver/browsers/chrome.pt-br.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,26 @@ Um exemplo comum é voltar a activar o bloqueador de popups.
100100

101101
Exclua parametros:
102102

103-
{{< alert-code />}}
103+
{{< tabpane code=false langEqualsHeader=true >}}
104+
{{< tab header="Java" >}}
105+
{{< badge-code >}}
106+
{{< /tab >}}
107+
{{% tab header="Python" %}}
108+
{{< badge-code >}}
109+
{{% /tab %}}
110+
{{< tab header="CSharp" >}}
111+
{{< badge-code >}}
112+
{{< /tab >}}
113+
{{< tab header="Ruby" >}}
114+
{{< badge-code >}}
115+
{{< /tab >}}
116+
{{< tab header="JavaScript" >}}
117+
{{< gh-codeblock path="/examples/javascript/test/browser/chromeSpecificCaps.spec.js#L18-L21">}}
118+
{{< /tab >}}
119+
{{< tab header="Kotlin" >}}
120+
{{< badge-code >}}
121+
{{< /tab >}}
122+
{{< /tabpane >}}
104123

105124
## Casting
106125

website_and_docs/content/documentation/webdriver/browsers/chrome.zh-cn.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,26 @@ A common example is to turn the popup blocker back on.
104104

105105
Set excluded arguments on options:
106106

107-
{{< alert-code />}}
107+
{{< tabpane code=false langEqualsHeader=true >}}
108+
{{< tab header="Java" >}}
109+
{{< badge-code >}}
110+
{{< /tab >}}
111+
{{% tab header="Python" %}}
112+
{{< badge-code >}}
113+
{{% /tab %}}
114+
{{< tab header="CSharp" >}}
115+
{{< badge-code >}}
116+
{{< /tab >}}
117+
{{< tab header="Ruby" >}}
118+
{{< badge-code >}}
119+
{{< /tab >}}
120+
{{< tab header="JavaScript" >}}
121+
{{< gh-codeblock path="/examples/javascript/test/browser/chromeSpecificCaps.spec.js#L18-L21">}}
122+
{{< /tab >}}
123+
{{< tab header="Kotlin" >}}
124+
{{< badge-code >}}
125+
{{< /tab >}}
126+
{{< /tabpane >}}
108127

109128
## Casting
110129

0 commit comments

Comments
 (0)