Skip to content

Commit f8698ba

Browse files
Shared capabilities spanish (#367)
* Translate shared capabilities to spanish * Translate shared capabilities to spanish * Update docs_source_files/content/driver_idiosyncrasies/shared_capabilities.es.md Co-Authored-By: Sri Harsha <Harsha509@users.noreply.github.com> Co-authored-by: Sri Harsha <Harsha509@users.noreply.github.com>
1 parent 2e6b0fa commit f8698ba

File tree

1 file changed

+76
-81
lines changed

1 file changed

+76
-81
lines changed

docs_source_files/content/driver_idiosyncrasies/shared_capabilities.es.md

Lines changed: 76 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -3,119 +3,114 @@ title: "Shared capabilities"
33
weight: 1
44
---
55

6-
{{% notice info %}}
7-
<i class="fas fa-language"></i> Page being translated from
8-
English to Spanish. Do you speak Spanish? Help us to translate
9-
it by sending us pull requests!
10-
{{% /notice %}}
6+
Con el fin de crear una nueva sesión del _WebDriver_ de _Selenium_,
7+
la parte local debe proveer las capacidades(_capabilities_) básicas a la parte remota.
8+
La parte remota usa el mismo conjunto de capacidades para crear una sesión y
9+
describir las funcionalidades de la sesión actual.
1110

12-
In-order to create a new session by Selenium WebDriver,
13-
local end should provide the basic capabilities to remote end.
14-
The remote end uses the same set of capabilities to
15-
create a session and describes the current session features.
16-
17-
WebDriver provides capabilities that each remote
18-
end will/should support the implementation.
19-
Following are the capabilities that WebDriver supports:
11+
El _WebDriver_ proporciona unas capacidades que cada parte remota debe apoyar en
12+
su implementación.
13+
Las siguientes capacidades son las que el _WebDriver_ soporta:
2014

2115
## browserName:
2216

23-
This capability is used to set the `browserName` for a given session.
24-
If the specified browser is not installed at the
25-
remote end, the session creation will fail
17+
Esta capacidad es usada para fijar el `browserName`(nombre del navegador) para
18+
una sesión dada.
19+
Si el navegador especificado no esta instado en la parte remota, la creación
20+
la sesión fallará.
2621

2722
## browserVersion:
2823

29-
This capability is optional, this is used to
30-
set the available browser version at remote end.
31-
For Example, if ask for Chrome version 75 on a system that
32-
only has 80 installed, the session creation will fail
24+
Esta capacidad es opcional, es usada para fijar la versión disponible del
25+
navegador en la parte remota.
26+
Por ejemplo, si preguntamos por una versión 75 de Chrome en un sistema que solo
27+
tiene instalada la versión 80 instalada, la creación de la sesión fallará.
3328

3429
## pageLoadStrategy:
3530

36-
When navigating to a new page via URL, by default Selenium will wait
37-
until the page has fully loaded before responding. This works well for
38-
beginners, but can cause long wait times on pages that load a large
39-
number of third party resources. Using a non default strategy can make
40-
test execution faster in cases like this, but can also introduce flakiness
41-
where elements on the page change position as elements load in and change
42-
size.
31+
Cuando navegamos a una nueva pagina vía URL, por defecto _Selenium_ esperará
32+
hasta que la pagina este cargada completamente antes de responder.
33+
Esto funciona bien para principiantes, pero puede causar largos tiempos de espera
34+
en paginas que cargan una gran cantidad de recursos externos. Usando alguna de
35+
las estrategias que no están especificadas por defecto puedes hacer que tus tests
36+
se ejecuten mas rápidamente pero también podrías llegar a introducir problemas
37+
de fiabilidad donde los elementos de la pagina cambian de posición según
38+
estos elementos van cargando.
4339

44-
The page load strategy queries the
45-
[document.readyState](//developer.mozilla.org/es/docs/Web/API/Document/readyState)
46-
as described in the table below:
40+
La estrategia de carga de las paginas consulta el atributo
41+
[document.readyState](//developer.mozilla.org/es/docs/Web/API/Document/readyState)
42+
como se describe en la tabla siguiente:
4743

48-
| Strategy | Ready State | Notes |
44+
| Estrategia | Estado Atributo Ready | Notas |
4945
| -------- | ----------- | ----- |
50-
| normal | complete | Used by default, waits for all resources to download |
51-
| eager | interactive | DOM access is ready, but other resources like images may still be loading |
52-
| none | Any | Does not block WebDriver at all |
46+
| normal | complete | Usado por defecto, espera a que todos los recursos se descarguen |
47+
| eager | interactive | Acceso al DOM esta listo, pero los otros recursos como imágenes pueden estar cargando |
48+
| none | Any | No bloquea al WebDriver en absoluto |
5349

5450
## platformName
5551

56-
This identifies the operating system at the remote-end,
57-
fetching the `platformName` returns the OS name.
58-
59-
In cloud-based providers,
60-
setting `platformName` sets the OS at the remote-end.
52+
Esto es usado para identificar el sistema operativo en la parte
53+
remota, buscar la capacidad `platformName` devuelve el sistema operativo.
54+
55+
En proveedores basados en la nube, fijar la capacidad `platformName` permite
56+
definir el sistema operativo de la parte remota.
6157

6258
## acceptInsecureCerts
6359

64-
This capability checks whether an expired (or)
65-
invalid `TLS Certificate` is used while navigating
66-
during a session.
67-
68-
If the capability is set to `false`, an
69-
[insecure certificate error](//developer.mozilla.org/de/docs/Web/WebDriver/Errors/InsecureCertificate)
70-
will be returned as navigation encounters any domain
71-
certificate problems. If set to `true`, invalid certificate will be
72-
trusted by the browser.
60+
Esta capacidad comprueba si un certificado TLS ha vencido o es invalido esta
61+
siendo usado para navegar durante una sesión.
7362

74-
All self-signed certificates will be trusted by this capability by default.
75-
Once set, `acceptInsecureCerts` capability will have an
76-
effect for the entire session.
63+
Si esta capacidad esta fijada a `false`, un
64+
[error de certificado inseguro](//developer.mozilla.org/es/docs/Web/WebDriver/Errors/InsecureCertificate)
65+
sera devuelto cuando la navegación encuentre cualquier dominio con problemas
66+
de certificado. Si se fija a `true`, los certificados inválidos serán confiados
67+
por el navegador
7768

78-
## Session timeouts
69+
Todos los certificados auto-firmados serán confiables por esta capacidad por defecto.
70+
Una vez.
71+
Una vez fijado la capacidad `acceptInsecureCerts` tendrá efecto durante la sesión
72+
entera.
7973

80-
A WebDriver `session` is imposed with a certain `session timeout`
81-
interval, during which the user can control the behaviour
82-
of executing scripts or retrieving information from the browser.
74+
## Timeouts de sesión
8375

84-
Each session timeout is configured with
85-
combination of different `timeouts` as described below:
76+
Una sesión del WebDriver es impuesta con un cierto intervalo de _timeout_ de sesión
77+
durante el cual el usuario puede controlar el comportamiento de ejecutar scripts
78+
o recuperar información del navegador.
8679

87-
### Script Timeout:
88-
Specifies when to interrupt an executing script in
89-
a current browsing context. The default timeout **30,000**
90-
is imposed when a new session is created by WebDriver.
80+
Cada _timeout_ de sesión es configurado con una combinación diferente de timeouts
81+
como se describe a continuación:
9182

92-
### Page Load Timeout:
93-
Specifies the time interval in which web page
94-
needs to be loaded in a current browsing context.
95-
The default timeout **300,000** is imposed when a
96-
new session is created by WebDriver. If page load limits
97-
a given/default time frame, the script will be stopped by
98-
_TimeoutException_.
83+
### Timeout de script (Script Timeout):
84+
Especifica cuando interrumpir un script en ejecución en el contexto actual del
85+
navegador. Por defecto esta configurado a **30,000** cuando una nueva sesión es
86+
creada por el WebDriver.
9987

100-
### Implicit Wait Timeout
101-
This specifies the time to wait for the
102-
implicit element location strategy when
103-
locating elements. The default timeout **0**
104-
is imposed when a new session is created by WebDriver.
88+
### Timeout de tiempo de carga (Page Load Timeout):
89+
Especifica el intervalo de tiempo en el cual una pagina de web necesita ser
90+
cargada en el contexto actual del navegador.
91+
El _timeout_ por defecto es de **300,000** para las nuevas sesiones creadas por
92+
el WebDriver.
93+
Si el tiempo de carga excede el limite marcado, el script será parado por una
94+
excepción del tipo _TimeoutException_.
10595

106-
## unhandledPromptBehavior
96+
### Timeout de esperas implicitas (Implicit Wait Timeout):
97+
Esto especifica el tiempo de espera para la estrategia de localización de
98+
elementos implicita. Por defecto el _timeout_ es de **0**, este es impuesto cuando
99+
se crea una nueva sesión a través del WebDriver.
107100

108-
Specifies the state of current session's `user prompt handler`.
109-
Defaults to **dismiss and notify state**
101+
## Gestionar el comportamiento de las popups Prompt (unhandledPromptBehavior)
110102

111-
### User Prompt Handler
103+
Especifica la forma en la que el usuario puede manejar las popups `prompt`
104+
(`user prompt handler`) en la sesión actual.
105+
El valor predeterminado es **dismiss and notify state**
112106

113-
This defines what action must take when a
114-
user prompt encounters at remote-end. This is defined by
115-
`unhandledPromptBehavior` capability and has the following states:
107+
### Manejo de las popups Prompt (User Prompt Handler)
108+
Esto define que acción se debe tomar cuando aparece una ventana `prompt` en la
109+
parte remota. Es definida por la capacidad `unhandledPromptBehavior` y tiene
110+
los siguientes estados:
116111

117112
* dismiss
118113
* accept
119114
* dismiss and notify
120115
* accept and notify
121-
* ignore
116+
* ignore

0 commit comments

Comments
 (0)