From dab2be52991b6805214325d6ca5b07e0a82e57e7 Mon Sep 17 00:00:00 2001 From: Hirok Sarker Date: Mon, 28 Oct 2019 21:40:45 +0600 Subject: [PATCH] Completing the translation Completing the translation --- .../working_with_select_elements.ja.md | 31 +++++++++++++++---- 1 file changed, 25 insertions(+), 6 deletions(-) diff --git a/docs_source_files/content/support_packages/working_with_select_elements.ja.md b/docs_source_files/content/support_packages/working_with_select_elements.ja.md index b5c4e74d1540..4476a4debfd2 100644 --- a/docs_source_files/content/support_packages/working_with_select_elements.ja.md +++ b/docs_source_files/content/support_packages/working_with_select_elements.ja.md @@ -21,7 +21,7 @@ import org.openqa.selenium.support.ui.Select; from selenium.webdriver.support.select import Select {{< / code-panel >}} {{< code-panel language="csharp" >}} -// We don't have a C# code sample yet - Help us out and raise a PR +using OpenQA.Selenium.Support.UI {{< / code-panel >}} {{< code-panel language="ruby" >}} include Selenium::WebDriver::Support @@ -47,7 +47,8 @@ select_element = driver.find_element_by_id('selectElementID') select_object = Select(select_element) {{< / code-panel >}} {{< code-panel language="csharp" >}} -// We don't have a C# code sample yet - Help us out and raise a PR +IWebElement selectElement = driver.FindElement(By.Id("selectElementID")); +var selectObject = new SelectElement(selectElement); {{< / code-panel >}} {{< code-panel language="ruby" >}} select_element = driver.find_element(id: 'selectElementID') @@ -99,7 +100,14 @@ select_object.select_by_value('value1') select_object.select_by_visible_text('Bread') {{< / code-panel >}} {{< code-panel language="csharp" >}} -// We don't have a C# code sample yet - Help us out and raise a PR +// Select an