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