You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website_and_docs/content/documentation/webdriver/getting_started/first_script.pt-br.md
+7-6
Original file line number
Diff line number
Diff line change
@@ -247,12 +247,13 @@ Vamos combinar essas 8 coisas em um script completo com asserções que podem se
247
247
{{< /tab >}}
248
248
{{< /tabpane >}}
249
249
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:
253
256
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:
256
257
257
258
{{< tabpane code=false langEqualsHeader=true >}}
258
259
{{< tab header="Java" >}}
@@ -288,6 +289,6 @@ mocha firstScript.spec.js
288
289
289
290
## Próximos Passos
290
291
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.
292
293
293
294
À medida que você encontrar mais funcionalidades de que necessita, leia o restante da nossa [documentação do WebDriver]({{< ref "/documentation/webdriver/" >}}).
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#.
89
96
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:
91
101
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:
100
102
```
101
103
<configuration>
102
104
<packageSources>
@@ -105,52 +107,53 @@ Add the following section to the file `nuget.config` if it is empty:
105
107
</packageSources>
106
108
...
107
109
```
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.
110
112
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.
114
117
115
118
{{% /tab %}}
116
119
{{% 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
0 commit comments