From b6a6471098d4142bed91d97a1651481afb9e713f Mon Sep 17 00:00:00 2001 From: Hirok Sarker Date: Mon, 28 Oct 2019 21:41:32 +0600 Subject: [PATCH] Completing the translation Completing the translation --- .../working_with_select_elements.nl.md | 33 +++++++++++++++---- 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/docs_source_files/content/support_packages/working_with_select_elements.nl.md b/docs_source_files/content/support_packages/working_with_select_elements.nl.md index c6bb832d59c0..c47fdcd6a7b0 100644 --- a/docs_source_files/content/support_packages/working_with_select_elements.nl.md +++ b/docs_source_files/content/support_packages/working_with_select_elements.nl.md @@ -22,7 +22,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 @@ -48,7 +48,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') @@ -100,7 +101,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