diff --git a/website_and_docs/content/documentation/webdriver/interactions/windows.en.md b/website_and_docs/content/documentation/webdriver/interactions/windows.en.md index 400daf594aa7..dcca990958f5 100644 --- a/website_and_docs/content/documentation/webdriver/interactions/windows.en.md +++ b/website_and_docs/content/documentation/webdriver/interactions/windows.en.md @@ -23,7 +23,9 @@ current window by using: {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/WindowsTest.java#L16-L20" >}} {{< /tab >}} {{< tab header="Python" >}}driver.current_window_handle{{< /tab >}} - {{< tab header="CSharp" >}}driver.CurrentWindowHandle;{{< /tab >}} + {{< tab header="CSharp" >}} + {{< gh-codeblock path="examples/dotnet/SeleniumDocs/Interactions/WindowsTest.cs#L14-L18" >}} + {{< /tab >}} {{< tab header="Ruby" >}}driver.window_handle{{< /tab >}} {{< tab header="JavaScript" >}}await driver.getWindowHandle();{{< /tab >}} {{< tab header="Kotlin" >}}driver.windowHandle{{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/interactions/windows.ja.md b/website_and_docs/content/documentation/webdriver/interactions/windows.ja.md index 8a754a3567d2..e742cb03420a 100644 --- a/website_and_docs/content/documentation/webdriver/interactions/windows.ja.md +++ b/website_and_docs/content/documentation/webdriver/interactions/windows.ja.md @@ -21,7 +21,9 @@ WebDriverは、ウィンドウとタブを区別しません。 {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/WindowsTest.java#L16-L20" >}} {{< /tab >}} {{< tab header="Python" >}}driver.current_window_handle{{< /tab >}} - {{< tab header="CSharp" >}}driver.CurrentWindowHandle;{{< /tab >}} + {{< tab header="CSharp" >}} + {{< gh-codeblock path="examples/dotnet/SeleniumDocs/Interactions/WindowsTest.cs#L14-L18" >}} + {{< /tab >}} {{< tab header="Ruby" >}}driver.window_handle{{< /tab >}} {{< tab header="JavaScript" >}}await driver.getWindowHandle();{{< /tab >}} {{< tab header="Kotlin" >}}driver.windowHandle{{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/interactions/windows.pt-br.md b/website_and_docs/content/documentation/webdriver/interactions/windows.pt-br.md index f60df6464774..006e78279b35 100644 --- a/website_and_docs/content/documentation/webdriver/interactions/windows.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/interactions/windows.pt-br.md @@ -21,7 +21,9 @@ persistente em uma única sessão. Você pode pegar o identificador atual usando {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/WindowsTest.java#L16-L20" >}} {{< /tab >}} {{< tab header="Python" >}}driver.current_window_handle{{< /tab >}} - {{< tab header="CSharp" >}}driver.CurrentWindowHandle;{{< /tab >}} + {{< tab header="CSharp" >}} + {{< gh-codeblock path="examples/dotnet/SeleniumDocs/Interactions/WindowsTest.cs#L14-L18" >}} + {{< /tab >}} {{< tab header="Ruby" >}}driver.window_handle{{< /tab >}} {{< tab header="JavaScript" >}}await driver.getWindowHandle();{{< /tab >}} {{< tab header="Kotlin" >}}driver.windowHandle{{< /tab >}} diff --git a/website_and_docs/content/documentation/webdriver/interactions/windows.zh-cn.md b/website_and_docs/content/documentation/webdriver/interactions/windows.zh-cn.md index 8ead23278f5b..6a7a1e5d2a3c 100644 --- a/website_and_docs/content/documentation/webdriver/interactions/windows.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/interactions/windows.zh-cn.md @@ -17,7 +17,9 @@ WebDriver 没有区分窗口和标签页。如果你的站点打开了一个新 {{< gh-codeblock path="examples/java/src/test/java/dev/selenium/interactions/WindowsTest.java#L16-L20" >}} {{< /tab >}} {{< tab header="Python" >}}driver.current_window_handle{{< /tab >}} -{{< tab header="CSharp" >}}driver.CurrentWindowHandle;{{< /tab >}} + {{< tab header="CSharp" >}} + {{< gh-codeblock path="examples/dotnet/SeleniumDocs/Interactions/WindowsTest.cs#L14-L18" >}} + {{< /tab >}} {{< tab header="Ruby" >}}driver.window_handle{{< /tab >}} {{< tab header="JavaScript" >}}await driver.getWindowHandle();{{< /tab >}} {{< tab header="Kotlin" >}}driver.windowHandle{{< /tab >}}