diff --git a/docs_source_files/content/support_packages/working_with_select_elements.es.md b/docs_source_files/content/support_packages/working_with_select_elements.es.md index 34d6dc4ccfd2..a03bcbf92af4 100644 --- a/docs_source_files/content/support_packages/working_with_select_elements.es.md +++ b/docs_source_files/content/support_packages/working_with_select_elements.es.md @@ -3,17 +3,12 @@ title: "Trabajando con elementos select" weight: 3 --- -{{% notice info %}} - Page being translated from -English to Spanish. Do you speak Spanish? Help us to translate -it by sending us pull requests! -{{% /notice %}} - -Select elements can require quite a bit of boiler plate code to automate. -To reduce this and make your tests cleaner, there is a -`Select` class in the Selenium support package. -To use it, you will need the following import statement: +A la hora de seleccionar elementos puede ser necesario código repetitivo +para poder ser automatizado. +Para reducir esto y hacer tus test mas limpios, existe un clase _Select_ en los +paquetes de soporte de Selenium. +Para usarla, necesitarás importarla de la siguiente forma: {{< code-tab >}} {{< code-panel language="java" >}} @@ -29,15 +24,15 @@ using OpenQA.Selenium.Support.UI include Selenium::WebDriver::Support {{< / code-panel >}} {{< code-panel language="javascript" >}} -// We don't have a JavaScript code sample yet - Help us out and raise a PR +// No disponemos del ejemplo de código en Javascript aun - Ayudanos a ello abriendo un PR {{< / code-panel >}} {{< code-panel language="kotlin" >}} import org.openqa.selenium.support.ui.Select {{< / code-panel >}} {{< / code-tab >}} -You are then able to create a Select object using a WebElement that -references a ``. {{< code-tab >}} {{< code-panel language="java" >}} @@ -57,7 +52,7 @@ select_element = driver.find_element(id: 'selectElementID') select_object = Select(select_element) {{< / code-panel >}} {{< code-panel language="javascript" >}} -// We don't have a JavaScript code sample yet - Help us out and raise a PR +// No disponemos del ejemplo de código en Javascript aun - Ayudanos a ello abriendo un PR {{< / code-panel >}} {{< code-panel language="kotlin" >}} val selectElement = driver.findElement(By.id("selectElementID")) @@ -65,10 +60,10 @@ val selectObject = new Select(selectElement) {{< / code-panel >}} {{< / code-tab >}} -The Select object will now give you a series of commands -that allow you to interact with a `` element. +El objeto _Select_ te proporcionará una serie de comandos que te permitirán +interactuar con los elementos ``. ```html ` element. ``` -There are three ways to select the first option from the above element: +Existen tres formas de seleccionar la primera opción del ejemplo que se muestra +arriba. {{< code-tab >}} {{< code-panel language="java" >}} -// Select an