Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3f3ce89

Browse files
authored
Translate remaining pt-br docs (SeleniumHQ#614)[deploy site]
* Translate docs to pt-br: content/legacy_docs/selenium_rc.pt-br.md * Translate docs to pt-br: content/support_packages/mouse_and_keyboard_actions_in_detail.pt-br.md * Translate docs to pt-br: content/support_packages/working_with_cookies.pt-br.md * Translate docs to pt-br: content/support_packages/working_with_select_elements.pt-br.md * Fix conflicts on Translate docs to pt-br: content/webdriver/browser_manipulation.pt-br.md * Translate docs to pt-br: content/webdriver/js_alerts_prompts_and_confirmations.pt-br.md * Translate docs to pt-br: content/webdriver/keyboard.pt-br.md * Translate docs to pt-br: content/webdriver/driver_requirements.pt-br.md * Translate docs to pt-br: content/webdriver/understanding_the_components.pt-br.md * Translate docs to pt-br: content/webdriver/web_element.pt-br.md * Translate docs to pt-br: content/webdriver/waits.pt-br.md
1 parent 6f63e48 commit 3f3ce89

11 files changed

+1422
-1504
lines changed

docs_source_files/content/legacy_docs/selenium_rc.pt-br.md

Lines changed: 762 additions & 793 deletions
Large diffs are not rendered by default.

docs_source_files/content/support_packages/mouse_and_keyboard_actions_in_detail.pt-br.md

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,13 @@ title: "Ações do mouse em detalhe"
33
weight: 4
44
---
55

6-
{{% notice info %}}
7-
<i class="fas fa-language"></i> Page being translated from
8-
English to Brazilian Portuguese. Do you speak Brazilian Portuguese? Help us to translate
9-
it by sending us pull requests!
10-
{{% /notice %}}
11-
12-
Mouse represents a mouse event. Mouse actions are performed
13-
by using low-level interface which allows us to
14-
provide virtualized device input action to the web browser.
6+
Mouse representa um evento do mouse. Ações do mouse são realizadas
7+
usando interface de baixo nível que nos permite
8+
fornecer ação de entrada de dispositivo virtualizado para o navegador da web.
159

1610
## clickAndHold
1711

18-
It will move to the element and clicks (without releasing) in the middle of the given element.
12+
Ele se moverá para o elemento e clicar (sem soltar) no meio do elemento fornecido.
1913

2014
{{< code-tab >}}
2115
{{< code-panel language="java" >}}
@@ -144,7 +138,7 @@ fun main() {
144138
{{< / code-tab >}}
145139

146140
## contextClick
147-
This method firstly performs a mouse-move to the location of the element and performs the context-click (right click) on the given element.
141+
Este método primeiro executa um movimento do mouse para a localização do elemento e executa o clique de contexto (clique com o botão direito) no elemento fornecido.
148142

149143
{{< code-tab >}}
150144
{{< code-panel language="java" >}}
@@ -272,7 +266,7 @@ fun main() {
272266
{{< / code-tab >}}
273267

274268
## doubleClick
275-
It will move to the element and performs a double-click in the middle of the given element.
269+
Ele se moverá para o elemento e executará um clique duplo no meio do elemento fornecido.
276270

277271
{{< code-tab >}}
278272
{{< code-panel language="java" >}}
@@ -400,7 +394,7 @@ fun main() {
400394
{{< / code-tab >}}
401395

402396
## moveToElement
403-
This method moves the mouse to the middle of the element. The element is also scrolled into the view on performing this action.
397+
Este método move o mouse para o meio do elemento. O elemento também é rolado para a exibição ao executar esta ação.
404398

405399
{{< code-tab >}}
406400
{{< code-panel language="java" >}}
@@ -529,7 +523,7 @@ fun main() {
529523

530524
## moveByOffset:
531525

532-
This method moves the mouse from its current position (or 0,0) by the given offset. If the coordinates are outside the view window, then the mouse will end up outside the browser window.
526+
Este método move o mouse de sua posição atual (ou 0,0) pelo deslocamento fornecido. Se as coordenadas estiverem fora da janela de visualização, o mouse ficará fora da janela do navegador.
533527

534528
{{< code-tab >}}
535529
{{< code-panel language="java" >}}
@@ -676,8 +670,8 @@ fun main() {
676670

677671
## dragAndDrop
678672

679-
This method firstly performs a click-and-hold on the source element,
680-
moves to the location of the target element and then releases the mouse.
673+
Este método primeiro executa um clique e segura no elemento de origem,
674+
move-se para o local do elemento de destino e, em seguida, libera o mouse.
681675

682676
{{< code-tab >}}
683677
{{< code-panel language="java" >}}
@@ -817,7 +811,7 @@ fun main() {
817811

818812
## dragAndDropBy
819813

820-
This method firstly performs a click-and-hold on the source element, moves to the given offset and then releases the mouse.
814+
Este método primeiro executa um clique e segura no elemento de origem, move-se para o deslocamento fornecido e, em seguida, libera o mouse.
821815

822816
{{< code-tab >}}
823817
{{< code-panel language="java" >}}
@@ -970,8 +964,8 @@ fun main() {
970964

971965
## release
972966

973-
This action releases the depressed left mouse button. If WebElement is passed,
974-
it will release depressed left mouse button on the given WebElement
967+
Esta ação libera o botão esquerdo do mouse pressionado. Se WebElement for aprovado,
968+
ele irá liberar o botão esquerdo do mouse pressionado no WebElement fornecido
975969

976970
{{< code-tab >}}
977971
{{< code-panel language="java" >}}

docs_source_files/content/support_packages/working_with_cookies.pt-br.md

Lines changed: 28 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,21 @@ title: "Trabalhando com cookies"
33
weight: 6
44
---
55

6-
{{% notice info %}}
7-
<i class="fas fa-language"></i> Page being translated from
8-
English to Brazilian Portuguese. Do you speak Brazilian Portuguese? Help us to translate
9-
it by sending us pull requests!
10-
{{% /notice %}}
6+
Um cookie é um pequeno pedaço de dado enviado de um site e armazenado no seu computador.
7+
Os cookies são usados principalmente para reconhecer o usuário e carregar as informações armazenadas.
118

12-
A cookie is a small piece of data that is sent from a website and stored in your computer.
13-
Cookies are mostly used to recognise the user and load the stored information.
14-
15-
WebDriver API provides a way to interact with cookies with built-in methods:
9+
A API WebDriver fornece uma maneira de interagir com cookies com métodos integrados:
1610

1711
## Add Cookie
18-
It is used to add a cookie to the current browsing context.
19-
Add Cookie only accepts a set of defined serializable JSON object. <a href="https://www.w3.org/TR/webdriver1/#cookies"> Here </a>
20-
is the link to the list of accepted JSON key values
12+
É usado para adicionar um cookie ao contexto de navegação atual.
13+
Add Cookie aceita apenas um conjunto de objetos JSON serializáveis definidos. <a href="https://www.w3.org/TR/webdriver1/#cookies"> Aqui </a>
14+
é o link para a lista de valores-chave JSON aceitos.
2115

22-
First of all, you need to be on the domain that the cookie will be
23-
valid for. If you are trying to preset cookies before
24-
you start interacting with a site and your homepage is large / takes a while to load
25-
an alternative is to find a smaller page on the site (typically the 404 page is small,
26-
e.g. http://example.com/some404page)
16+
Em primeiro lugar, você precisa estar no domínio para qual o cookie será
17+
valido. Se você está tentando predefinir cookies antes
18+
de começar a interagir com um site e sua página inicial é grande / demora um pouco para carregar
19+
uma alternativa é encontrar uma página menor no site (normalmente a página 404 é pequena,
20+
por exemplo http://example.com/some404page)
2721

2822
{{< code-tab >}}
2923
{{< code-panel language="java" >}}
@@ -121,7 +115,7 @@ fun main() {
121115

122116
## Get Named Cookie
123117

124-
It returns the serialized cookie data matching with the cookie name among all associated cookies.
118+
Retorna os dados do cookie serializado correspondentes ao nome do cookie entre todos os cookies associados.
125119

126120
{{< code-tab >}}
127121
{{< code-panel language="java" >}}
@@ -235,8 +229,8 @@ fun main() {
235229

236230
## Get All Cookies
237231

238-
It returns a ‘successful serialized cookie data’ for current browsing context.
239-
If browser is no longer available it returns error.
232+
Retorna 'dados de cookie serializados com sucesso' para o contexto de navegação atual.
233+
Se o navegador não estiver mais disponível, ele retornará um erro.
240234

241235
{{< code-tab >}}
242236
{{< code-panel language="java" >}}
@@ -357,7 +351,7 @@ fun main() {
357351

358352
## Delete Cookie
359353

360-
It deletes the cookie data matching with the provided cookie name.
354+
Exclui os dados do cookie que correspondem ao nome do cookie fornecido.
361355

362356
{{< code-tab >}}
363357
{{< code-panel language="java" >}}
@@ -491,7 +485,7 @@ fun main() {
491485

492486
## Delete All Cookies
493487

494-
It deletes all the cookies of the current browsing context.
488+
Exclui todos os cookies do contexto de navegação atual.
495489

496490
{{< code-tab >}}
497491
{{< code-panel language="java" >}}
@@ -603,24 +597,24 @@ fun main() {
603597

604598
## Same-Site Cookie Attribute
605599

606-
It allows a user to instruct browsers to control whether cookies
607-
are sent along with the request initiated by third party sites.
608-
It is introduced to prevent CSRF (Cross-Site Request Forgery) attacks.
600+
Permite que um usuário instrua os navegadores a controlar se os cookies
601+
são enviados junto com a solicitação iniciada por sites de terceiros.
602+
É usado para evitar ataques CSRF (Cross-Site Request Forgery).
609603

610-
Same-Site cookie attribute accepts two parameters as instructions
604+
O atributo de cookie Same-Site aceita dois parâmetros como instruções
611605

612606
## Strict:
613-
When the sameSite attribute is set as **Strict**,
614-
the cookie will not be sent along with
615-
requests initiated by third party websites.
607+
Quando o atributo sameSite é definido como **Strict**,
608+
o cookie não será enviado junto com
609+
solicitações iniciadas por sites de terceiros.
616610

617611
## Lax:
618-
When you set a cookie sameSite attribute to **Lax**,
619-
the cookie will be sent along with the GET
620-
request initiated by third party website.
612+
Quando você define um atributo cookie sameSite como **Lax**,
613+
o cookie será enviado junto com uma solicitação GET
614+
iniciada por um site de terceiros.
621615

622-
**Note**: **As of now this feature is landed in chrome(80+version),
623-
Firefox(79+version) and works with Selenium 4 and later versions.**
616+
**Nota**: **a partir de agora, esse recurso está disponível no Chrome (versão 80+),
617+
Firefox (versão 79+) e funciona com Selenium 4 e versões posteriores.**
624618

625619
{{< code-tab >}}
626620
{{< code-panel language="java" >}}

docs_source_files/content/support_packages/working_with_select_elements.pt-br.md

Lines changed: 16 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,10 @@ title: "Trabalhando com elementos select"
33
weight: 3
44
---
55

6-
{{% notice info %}}
7-
<i class="fas fa-language"></i> Page being translated from
8-
English to Brazilian Portuguese. Do you speak Brazilian Portuguese? Help us to translate
9-
it by sending us pull requests!
10-
{{% /notice %}}
11-
12-
Select elements can require quite a bit of boiler plate code to automate.
13-
To reduce this, and make your tests cleaner, there is a
14-
`Select` class in the Selenium support package.
15-
To use it, you will need the following import statement:
6+
Os elementos *select* podem exigir um pouco de código padrão para serem automatizados.
7+
Para reduzir isso e tornar seus testes mais limpos, existe uma
8+
Classe `Select` no pacote de suporte do Selenium.
9+
Para usá-lo, você precisará da seguinte instrução de importação:
1610

1711
{{< code-tab >}}
1812
{{< code-panel language="java" >}}
@@ -35,8 +29,8 @@ import org.openqa.selenium.support.ui.Select
3529
{{< / code-panel >}}
3630
{{< / code-tab >}}
3731

38-
You are then able to create a Select object using a WebElement that
39-
references a `<select>` element.
32+
Você pode então criar um objeto Select usando um WebElement que
33+
faz referência a um elemento `<select>`.
4034

4135
{{< code-tab >}}
4236
{{< code-panel language="java" >}}
@@ -64,10 +58,10 @@ val selectObject = new Select(selectElement)
6458
{{< / code-panel >}}
6559
{{< / code-tab >}}
6660

67-
The Select object will now give you a series of commands
68-
that allow you to interact with a `<select>` element.
69-
First of all, there are different ways of selecting an option
70-
from the `<select>` element.
61+
O objeto Select agora lhe dará uma série de comandos
62+
que permitem que você interaja com um elemento `<select>`.
63+
Em primeiro lugar, existem diferentes maneiras de selecionar uma opção
64+
do elemento `<select>`.
7165

7266
```html
7367
<select>
@@ -77,7 +71,7 @@ from the `<select>` element.
7771
</select>
7872
```
7973

80-
There are three ways to select the first option from the above element:
74+
Existem três maneiras de selecionar a primeira opção do elemento acima:
8175

8276
{{< code-tab >}}
8377
{{< code-panel language="java" >}}
@@ -179,8 +173,8 @@ val firstSelectedOption = selectObject.firstSelectedOption
179173
{{< / code-tab >}}
180174

181175

182-
Or you may just be interested in what `<option>` elements
183-
the `<select>` element contains:
176+
Ou você pode apenas estar interessado em quais elementos `<option>`
177+
o elemento `<select>` contém:
184178

185179
{{< code-tab >}}
186180
{{< code-panel language="java" >}}
@@ -208,7 +202,7 @@ val allAvailableOptions = selectObject.options
208202
{{< / code-panel >}}
209203
{{< / code-tab >}}
210204

211-
If you want to deselect any elements, you now have four options:
205+
Se você deseja desmarcar qualquer elemento, agora você tem quatro opções:
212206

213207
{{< code-tab >}}
214208
{{< code-panel language="java" >}}
@@ -281,8 +275,8 @@ selectObject.deselectAll()
281275
{{< / code-panel >}}
282276
{{< / code-tab >}}
283277

284-
Finally, some `<select>` elements allow you to select more than one option.
285-
You can find out if your `<select>` element is one of these by using:
278+
Finalmente, alguns elementos `<select>` permitem que você selecione mais de uma opção.
279+
Você pode descobrir se o seu elemento `<select>` é um deles usando:
286280

287281
{{< code-tab >}}
288282
{{< code-panel language="java" >}}

0 commit comments

Comments
 (0)