File tree 3 files changed +18
-19
lines changed
website_and_docs/content/documentation/webdriver/elements
3 files changed +18
-19
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ aliases: [
8
8
" /pt-br/documentation/webdriver/web_element/"
9
9
]
10
10
description : >
11
- Identifying and working with element objects in the DOM.
11
+ Identificando e trabalhando com elementos no DOM.
12
12
---
13
13
14
- The majority of most people's Selenium code involves working with web elements.
14
+ A maioria do código que é escrito recorrendo às bibliotecas Selenium envolve trabalhar com elementos.
15
+
Original file line number Diff line number Diff line change @@ -5,17 +5,17 @@ weight: 1
5
5
aliases : [
6
6
" /pt-br/documentation/webdriver/additional_features/fileupload/"
7
7
]
8
+ description : >
9
+ Como subir arquivos com Selenium
10
+
8
11
---
9
12
13
+ A caixa de diálogo para o envio de arquivos pode ser tratada com o Selenium, quando o elemento de entrada é do tipo "file".
14
+ Pode observar um exemplo neste link https://the-internet.herokuapp.com/upload .
15
+
16
+ Será necessário ter o arquivo a subir disponível para a operação.
17
+ Apresentamos alguns exemplos de código para subir os arquivos em diversas linguagens de programação:
10
18
11
- The file upload dialog could be handled using Selenium,
12
- when the input element is of type file.
13
- An example of it, could be found on this
14
- web page- https://the-internet.herokuapp.com/upload
15
- We will require to have a file available with us,
16
- which we need to upload.
17
- The code to upload the file for different programming
18
- languages will be as follows -
19
19
20
20
{{< tabpane langEqualsHeader=true >}}
21
21
{{< tab header="Java" >}}
@@ -148,5 +148,4 @@ fun main() {
148
148
{{< /tab >}}
149
149
{{< /tabpane >}}
150
150
151
- So the above example code helps to understand
152
- how we can upload a file using Selenium.
151
+ Esperamos que estes exemplos de código possam ajudar a compreender como subir um arquivo com Selenium.
Original file line number Diff line number Diff line change @@ -7,16 +7,15 @@ aliases: [
7
7
" /pt-br/documentation/webdriver/relative_locators/"
8
8
]
9
9
description : >
10
- Ways to identify one or more specific elements in the DOM.
10
+ Formas de identificar um ou mais elementos no DOM.
11
11
---
12
12
13
- A locator is a way to identify elements on a page. It is the argument passed to the
14
- [ Finding element] ({{< ref "finders.md" >}}) methods.
15
-
16
- Check out our [ encouraged test practices] ({{< ref "/documentation/test_practices/encouraged" >}}) for tips on
17
- [ locators] ({{< ref "/documentation/test_practices/encouraged/locators.md" >}}), including which to use when and
18
- why to declare locators separately from the finding methods.
13
+ Um localizador é uma forma de identificar elementos numa página. São os argumentos passados aos métodos
14
+ [ Finders] ({{< ref "finders.md" >}}) .
19
15
16
+ Visite os nossas [ directrizes e recomendações] ({{< ref "/documentation/test_practices/encouraged" >}}) para dicas sobre
17
+ [ locators] ({{< ref "/documentation/test_practices/encouraged/locators.md" >}}), incluindo quais usar e quando,
18
+ e também porque é que deve declarar localizadores separadamente dos finders.
20
19
21
20
22
21
### Estratégias de seleção de elemento
You can’t perform that action at this time.
0 commit comments