Skip to content

Commit 590ddb0

Browse files
authored
Added Portuguese translation in WebDriver/Getting Started and fixed s… (SeleniumHQ#1268)
Added Portuguese translation in WebDriver/Getting Started and fixed some translation errors in it
1 parent cd6c575 commit 590ddb0

File tree

4 files changed

+63
-59
lines changed

4 files changed

+63
-59
lines changed

website_and_docs/content/documentation/webdriver/getting_started/_index.pt-br.md

-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ A instalação do Selenium é dividida nas etapas:
5757
Se você deseja iniciar com ferramenta low-code / gravação e reprodução, por favor veja:
5858
[Selenium IDE](https://selenium.dev/selenium-ide)
5959

60-
After completing the setup, you can run the code snippet shown at the
6160
Depois de completar as etapas de configuração, você pode executar o snippet de codigo em
6261
[starting page](/pt-br/documentation) na documentação. Então siga para seção
6362
[WebDriver]({{< ref "/webdriver.md" >}}) para aprender mais sobre automação de navegadores com Selenium.

website_and_docs/content/documentation/webdriver/getting_started/first_script.pt-br.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -247,12 +247,13 @@ Vamos combinar essas 8 coisas em um script completo com asserções que podem se
247247
{{< /tab >}}
248248
{{< /tabpane >}}
249249

250-
## Test Runners
251-
If you are using Selenium for testing,
252-
you will want to execute your Selenium code using test runner tools.
250+
## Executando Testes
251+
Se você esta usando selenium para realizar testes,
252+
você deverá executar seu código usando feramentas para executar testes.
253+
254+
Muitos exemplos de código encontrado nessa documentação podem ser encontrado no nosso repositório de exemplos.
255+
Existem múltiplas opções em cada linguagem, mas esta será qual usaremos em nossos exemplos:
253256

254-
Many of the code examples in this documentation can be found in our example repositories.
255-
There are multiple options in each language, but here is what we are using in our examples:
256257

257258
{{< tabpane code=false langEqualsHeader=true >}}
258259
{{< tab header="Java" >}}
@@ -288,6 +289,6 @@ mocha firstScript.spec.js
288289

289290
## Próximos Passos
290291

291-
Use oque você aprendeu e construa o seu proprio código Selenium.
292+
Use o que você aprendeu e construa o seu proprio código Selenium.
292293

293294
À medida que você encontrar mais funcionalidades de que necessita, leia o restante da nossa [documentação do WebDriver]({{< ref "/documentation/webdriver/" >}}).

website_and_docs/content/documentation/webdriver/getting_started/install_drivers.pt-br.md

+8-7
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,19 @@ Leia mais sobre opções avançadas para iniciar um driver
3333
</p>
3434
{{% /pageinfo %}}
3535

36-
## QuatroTrês maneiras diferentes de usar os drivers
36+
## Quatro maneiras diferentes de usar os drivers
3737

38-
### 1. Selenium Manager <small>(Beta)</small>
38+
### 1. Gerenciador Selenium <small>(Beta)</small>
3939

4040
{{< badge-version version="4.6" >}}
4141

42-
Selenium Manager helps you to get a working environment to run Selenium out of the box. Beta 1
43-
of Selenium Manager will configure the drivers for Chrome, Firefox, and Edge if they are not
44-
found on the `PATH`. No extra configuration is needed. Future releases of Selenium Manager
45-
will eventually even download browsers if necessary.
42+
O Gerenciador Selenium te ajuda a ter um ambiente de desenvolvimento rodando Selenium mais facilmente.
43+
O primeiro Beta irá configurar os drivers para Chrome, Firefox e Edge se eles não forem
44+
encontrados no `PATH`. Nem uma configuração extra será necessária. Versões futuras do Gerenciador Selenium
45+
irão eventualmente poder realizar o download dos browsers se necessário.
46+
47+
Leia mais no anúncio feito no blog sobre o [Gerenciador Selenium](/blog/2022/introducing-selenium-manager/).
4648

47-
Read more at the blog announcement for [Selenium Manager ](/blog/2022/introducing-selenium-manager/).
4849

4950
### 2. Software de gerenciamento de Driver
5051

website_and_docs/content/documentation/webdriver/getting_started/install_library.pt-br.md

+48-45
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ linkTitle: "Instalando bibliotecas do Selenium"
44
weight: 2
55
needsTranslation: true
66
description: >
7-
Setting up the Selenium library for your favourite programming language.
7+
Configurando a biblioteca Selenium para sua linguagem de programação favorita.
88
aliases: [
99
"/documentation/pt-br/selenium_installation/installing_selenium_libraries/",
1010
"/pt-br/documentation/getting_started/installing_selenium_libraries/",
@@ -15,30 +15,31 @@ aliases: [
1515
Primeiro você precisa instalar as bibliotecas Selenium para seu projeto de automação.
1616
O processo de instalação de bibliotecas depende da linguagem que você escolher usar.
1717

18-
## Requirements by language
18+
## Requisitos por linguagem
1919

2020
{{< tabpane code=false langEqualsHeader=true >}}
2121
{{% tab header="Java" %}}
22-
View the minimum supported Java version [here](https://github.com/SeleniumHQ/selenium/blob/trunk/.bazelrc#L13).
22+
Veja a mínima versão do Java suportada [aqui](https://github.com/SeleniumHQ/selenium/blob/trunk/.bazelrc#L13).
23+
24+
A instalação da biblioteca Selenium para Java é feita a partir de uma build tool.
2325

24-
Installation of Selenium libraries for Java is accomplished using a build tool.
2526

2627
### Maven
27-
Specify the dependency in the project's `pom.xml` file:
28+
Especifique a dependência no `pom.xml` do seu projeto.
2829

2930
{{< gh-codeblock path="examples/java/pom.xml#L22-L26" >}}
3031

3132
### Gradle
32-
Specify the dependency in the project `build.gradle` file as `testImplementation`:
33+
Especifique a dependência no `build.gradle` do seu projeto como `testImplementation`:
3334

3435
{{< gh-codeblock path="examples/java/build.gradle#L13" >}}
3536

3637
{{% /tab %}}
3738
{{% tab header="Python" %}}
38-
The minimum supported Python version for each Selenium version can be found
39-
in `Supported Python Versions` on [PyPi](https://pypi.org/project/selenium/)
39+
A mínima versão suportada do Python para cada versão do Selenium pode ser encontrada
40+
em `Supported Python Versions` no [PyPi](https://pypi.org/project/selenium/)
4041

41-
There are a couple different ways to install Selenium.
42+
Existe muitas formas diferentes de instalar Selenium.
4243

4344
### Pip
4445

@@ -48,24 +49,24 @@ pip install selenium
4849

4950
### Download
5051

51-
Alternatively you can download the [PyPI source archive](https://pypi.org/project/selenium/#files)
52-
(selenium-x.x.x.tar.gz) and install it using _setup.py_:
52+
Como uma alternativa você pode baixar o [código fonte PyPI](https://pypi.org/project/selenium/#files)
53+
(selenium-x.x.x.tar.gz) e instalar usando _setup.py_:
5354

5455
```shell
5556
python setup.py install
5657
```
5758

58-
### Require in project
59+
### Exigir em um projeto
5960

60-
To use it in a project, add it to the `requirements.txt` file:
61+
Para usar em um projeto, adicione no arquivo `requirements.txt`.
6162
{{< gh-codeblock path="examples/python/requirements.txt#L1" >}}
6263

6364
{{% /tab %}}
6465
{{% tab header="CSharp" %}}
65-
A list of all supported frameworks for each version of Selenium
66-
is available on [Nuget](https://www.nuget.org/packages/Selenium.WebDriver)
66+
Uma lista com todos os frameworks suportados para cada versão do Selenium
67+
pode ser encontrada em [Nuget](https://www.nuget.org/packages/Selenium.WebDriver)
6768

68-
There are a few options for installing Selenium.
69+
Existe algumas opções para instalar o Selenium.
6970

7071
### Packet Manager
7172

@@ -81,22 +82,23 @@ dotnet add package Selenium.WebDriver
8182

8283
### CSProj
8384

84-
in the project's `csproj` file, specify the dependency as a `PackageReference` in `ItemGroup`:
85+
No arquivo `csproj` do seu projeto, especifique a dependência como `PackageReference` no `ItemGroup`:
8586

8687
{{< gh-codeblock language="xml" path="examples/dotnet/SeleniumDocs/SeleniumDocs.csproj#L14" >}}
8788

88-
### Additional considerations
89+
### Considerações adicionais
90+
91+
Outras observações para usar o Visual Studio Code (vscode) e C#
92+
93+
Instale a versão compatível do .NET SDK conforme a seção acima.
94+
Instale também as extensões do vscode (Ctrl-Shift-X) para C# e NuGet.
95+
Siga as instruções [aqui ](https://docs.microsoft.com/en-us/dotnet/core/tutorials/with-visual-studio-code?pivots=dotnet-5-0)para criar e rodar o seu projeto de "Hello World" no console usando C#.
8996

90-
Further items of note for using Visual Studio Code (vscode) and C#
97+
Você também pode criar um projeto inicial do NUnit usando a linha de comando `dotnet new NUnit`.
98+
Certifique-se de que o arquivo `%appdata%\NuGet\nuget.config` esteja configurado corretamente, pois alguns desenvolvedores relataram que ele estará vazio devido a alguns problemas.
99+
Se o `nuget.config` estiver vazio ou não estiver configurado corretamente, as compilações .NET falharão para projetos que estiverem usando Selenium.
100+
Adicione a seguinte seção ao arquivo `nuget.config` se esse estiver vazio:
91101

92-
Install the compatible .NET SDK as per the section above.
93-
Also install the vscode extensions (Ctrl-Shift-X) for C# and NuGet.
94-
Follow the [instruction here](https://docs.microsoft.com/en-us/dotnet/core/tutorials/with-visual-studio-code?pivots=dotnet-5-0)
95-
to create and run the "Hello World" console project using C#.
96-
You may also create a NUnit starter project using the command line `dotnet new NUnit`.
97-
Make sure the file `%appdata%\NuGet\nuget.config` is configured properly as some developers reported that it will be empty due to some issues.
98-
If `nuget.config` is empty, or not configured properly, then .NET builds will fail for Selenium Projects.
99-
Add the following section to the file `nuget.config` if it is empty:
100102
```
101103
<configuration>
102104
<packageSources>
@@ -105,52 +107,53 @@ Add the following section to the file `nuget.config` if it is empty:
105107
</packageSources>
106108
...
107109
```
108-
For more info about `nuget.config` [click here](https://docs.microsoft.com/en-us/nuget/reference/nuget-config-file).
109-
You may have to customize `nuget.config` to meet you needs.
110+
Para mais informações sobre `nuget.config` [clique aqui](https://docs.microsoft.com/en-us/nuget/reference/nuget-config-file).
111+
Você pode ter que customizar `nuget.config` para atender às suas necessidades.
110112

111-
Now, go back to vscode, press Ctrl-Shift-P, and type "NuGet Add Package", and enter the required Selenium packages such as `Selenium.WebDriver`.
112-
Press Enter and select the version.
113-
Now you can use the examples in the documentation related to C# with vscode.
113+
Agora, volte para o vscode, aperte Ctrl-Shift-P, e digite "NuGet Add Package", e adicione os pacotes necessários para
114+
o Selenium como o `Selenium.WebDriver`.
115+
Aperte Enter e selecione a versão.
116+
Agora você pode usar os exemplos da documentação relacionados ao C# com o vscode.
114117

115118
{{% /tab %}}
116119
{{% tab header="Ruby" %}}
117-
You can see the minimum required version of Ruby for any given Selenium version
118-
on [rubygems.org](https://rubygems.org/gems/selenium-webdriver/)
120+
Você pode ver a minima versão suportada do Ruby para cada versão do Selenium em
121+
[rubygems.org](https://rubygems.org/gems/selenium-webdriver/)
119122

120-
Selenium can be installed two different ways.
123+
O Selenium pode ser instalado de duas formas diferentes.
121124

122-
### Install manually
125+
### Instalação manual
123126

124127
```shell
125128
gem install selenium-webdriver
126129
```
127130

128-
### Add to project's gemfile
131+
### Adicione para o gemfile do projeto
129132

130133
{{< gh-codeblock language="ruby" path="examples/ruby/Gemfile#L10" >}}
131134

132135
{{% /tab %}}
133136
{{% tab header="JavaScript" %}}
134-
You can find the minimum required version of Node for any given version of Selenium in the
135-
`Node Support Policy` section on [npmjs](https://www.npmjs.com/package/selenium-webdriver)
137+
Você pode encontrar a mínima versão suportada do Node para cada versão do Selenium
138+
na seção `Node Support Policy` no site [npmjs](https://www.npmjs.com/package/selenium-webdriver)
136139

137-
Selenium is typically installed using npm.
140+
Selenium é normalmente instalado usando npm.
138141

139-
### Install locally
142+
### Instalação local
140143

141144
```shell
142145
npm install selenium-webdriver
143146
```
144147

145-
### Add to project
148+
### Adicione ao seu projeto
146149

147-
In your project's `package.json`, add requirement to `dependencies`:
150+
No `package.json` do seu projeto, adicione os requisitos em `dependencies`:
148151

149152
{{< gh-codeblock path="examples/javascript/package.json#L14" >}}
150153

151154
{{% /tab %}}
152-
{{< tab header="Kotlin" >}}
153-
Use the Java bindings for Kotlin.
155+
{{< tab header="Kotlin" >}}
156+
Use as ligações Java para Kotlin.
154157
{{< /tab >}}
155158
{{< /tabpane >}}
156159

0 commit comments

Comments
 (0)