-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create placeholders and move content into drivers section
- Loading branch information
1 parent
00683ca
commit 5247171
Showing
32 changed files
with
344 additions
and
65 deletions.
There are no files selected for viewing
44 changes: 40 additions & 4 deletions
44
website_and_docs/content/documentation/webdriver/drivers/_index.en.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,47 @@ | ||
--- | ||
title: "Configuring driver parameters" | ||
title: "Driver Sessions" | ||
linkTitle: "Drivers" | ||
weight: 12 | ||
weight: 3 | ||
--- | ||
|
||
We learned how to [install drivers]({{< ref "../getting_started/install_drivers.md" >}}) in the Getting Started section. | ||
Starting and stopping a session is for opening and closing a browser. | ||
|
||
Selenium provides access to Service classes which are used to determine how the server is started | ||
## Creating Sessions | ||
|
||
Creating a new session corresponds with the W3C command for [New session](https://w3c.github.io/webdriver/#new-session) | ||
|
||
The session is created automatically by initializing a new Driver class object. | ||
|
||
Each language allows a session to be created with arguments from one of these classes (or equivalent): | ||
|
||
* [Options]({{< ref "options.md" >}}) to describe the kind of session you want; default values are used for local, but this is required for remote | ||
* Some form of [CommandExecutor]({{< ref "executors.md" >}}) (the implementation varies between languages) | ||
* [Listeners]({{< ref "listeners.md" >}}) | ||
|
||
### Local Driver | ||
|
||
The primary unique argument for starting a local driver includes information about starting the required driver service | ||
on the local machine. | ||
|
||
* [Service]({{< ref "service.md" >}}) object applies only to local drivers and provides information about the browser driver | ||
|
||
{{< alert-code >}} | ||
Show Starting Local driver with multiple arguments. | ||
{{< /alert-code >}} | ||
|
||
### Remote Driver | ||
|
||
The primary unique argument for starting a remote driver includes information about where to execute the code. | ||
Read the details in the [Remote Driver Section]() | ||
|
||
|
||
## Quitting Sessions | ||
|
||
Quitting a session corresponds to W3C command for [Deleting a Session](https://w3c.github.io/webdriver/#delete-session). | ||
|
||
Important note: the `quit` method is different from the `close` method, | ||
and it is recommended to always use `quit` to end the session | ||
|
||
{{< alert-code >}} | ||
Show quitting a session. | ||
{{< /alert-code >}} |
45 changes: 40 additions & 5 deletions
45
website_and_docs/content/documentation/webdriver/drivers/_index.ja.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,47 @@ | ||
--- | ||
title: "Configuring driver parameters" | ||
title: "Driver Sessions" | ||
linkTitle: "Drivers" | ||
weight: 12 | ||
needsTranslation: true | ||
weight: 3 | ||
--- | ||
|
||
We learned how to [install drivers]({{< ref "../getting_started/install_drivers.md" >}}) in the Getting Started section. | ||
Starting and stopping a session is for opening and closing a browser. | ||
|
||
Selenium provides access to Service classes which are used to determine how the server is started | ||
## Creating Sessions | ||
|
||
Creating a new session corresponds with the W3C command for [New session](https://w3c.github.io/webdriver/#new-session) | ||
|
||
The session is created automatically by initializing a new Driver class object. | ||
|
||
Each language allows a session to be created with arguments from one of these classes (or equivalent): | ||
|
||
* [Options]({{< ref "options.md" >}}) to describe the kind of session you want; default values are used for local, but this is required for remote | ||
* Some form of [CommandExecutor]({{< ref "executors.md" >}}) (the implementation varies between languages) | ||
* [Listeners]({{< ref "listeners.md" >}}) | ||
|
||
### Local Driver | ||
|
||
The primary unique argument for starting a local driver includes information about starting the required driver service | ||
on the local machine. | ||
|
||
* [Service]({{< ref "service.md" >}}) object applies only to local drivers and provides information about the browser driver | ||
|
||
{{< alert-code >}} | ||
Show Starting Local driver with multiple arguments. | ||
{{< /alert-code >}} | ||
|
||
### Remote Driver | ||
|
||
The primary unique argument for starting a remote driver includes information about where to execute the code. | ||
Read the details in the [Remote Driver Section]() | ||
|
||
|
||
## Quitting Sessions | ||
|
||
Quitting a session corresponds to W3C command for [Deleting a Session](https://w3c.github.io/webdriver/#delete-session). | ||
|
||
Important note: the `quit` method is different from the `close` method, | ||
and it is recommended to always use `quit` to end the session | ||
|
||
{{< alert-code >}} | ||
Show quitting a session. | ||
{{< /alert-code >}} |
47 changes: 42 additions & 5 deletions
47
website_and_docs/content/documentation/webdriver/drivers/_index.pt-br.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,47 @@ | ||
--- | ||
title: "Configurando o driver" | ||
title: "Driver Sessions" | ||
linkTitle: "Drivers" | ||
weight: 12 | ||
needsTranslation: true | ||
weight: 3 | ||
--- | ||
|
||
Nós aprendemos como [instalar drivers]({{< ref "../getting_started/install_drivers.md" >}}) na sessão de Introdução. | ||
Starting and stopping a session is for opening and closing a browser. | ||
|
||
Selenium concede o acesso para classes de serviço que são usadas para determinar como o servidor será iniciado. | ||
## Creating Sessions | ||
|
||
Creating a new session corresponds with the W3C command for [New session](https://w3c.github.io/webdriver/#new-session) | ||
|
||
The session is created automatically by initializing a new Driver class object. | ||
|
||
Each language allows a session to be created with arguments from one of these classes (or equivalent): | ||
|
||
* [Options]({{< ref "options.md" >}}) to describe the kind of session you want; default values are used for local, but this is required for remote | ||
* Some form of [CommandExecutor]({{< ref "executors.md" >}}) (the implementation varies between languages) | ||
* [Listeners]({{< ref "listeners.md" >}}) | ||
|
||
### Local Driver | ||
|
||
The primary unique argument for starting a local driver includes information about starting the required driver service | ||
on the local machine. | ||
|
||
* [Service]({{< ref "service.md" >}}) object applies only to local drivers and provides information about the browser driver | ||
|
||
{{< alert-code >}} | ||
Show Starting Local driver with multiple arguments. | ||
{{< /alert-code >}} | ||
|
||
### Remote Driver | ||
|
||
The primary unique argument for starting a remote driver includes information about where to execute the code. | ||
Read the details in the [Remote Driver Section]() | ||
|
||
|
||
## Quitting Sessions | ||
|
||
Quitting a session corresponds to W3C command for [Deleting a Session](https://w3c.github.io/webdriver/#delete-session). | ||
|
||
Important note: the `quit` method is different from the `close` method, | ||
and it is recommended to always use `quit` to end the session | ||
|
||
{{< alert-code >}} | ||
Show quitting a session. | ||
{{< /alert-code >}} |
47 changes: 41 additions & 6 deletions
47
website_and_docs/content/documentation/webdriver/drivers/_index.zh-cn.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,47 @@ | ||
--- | ||
title: "配置驱动参数" | ||
linkTitle: "驱动" | ||
weight: 12 | ||
title: "Driver Sessions" | ||
linkTitle: "Drivers" | ||
weight: 3 | ||
--- | ||
|
||
我们在入门部分学习了如何[安装驱动]({{< ref "../getting_started/install_drivers.md" >}}) . | ||
Starting and stopping a session is for opening and closing a browser. | ||
|
||
Selenium提供对服务类的访问, | ||
这些服务类用于确定服务器的启动方式 | ||
## Creating Sessions | ||
|
||
Creating a new session corresponds with the W3C command for [New session](https://w3c.github.io/webdriver/#new-session) | ||
|
||
The session is created automatically by initializing a new Driver class object. | ||
|
||
Each language allows a session to be created with arguments from one of these classes (or equivalent): | ||
|
||
* [Options]({{< ref "options.md" >}}) to describe the kind of session you want; default values are used for local, but this is required for remote | ||
* Some form of [CommandExecutor]({{< ref "executors.md" >}}) (the implementation varies between languages) | ||
* [Listeners]({{< ref "listeners.md" >}}) | ||
|
||
### Local Driver | ||
|
||
The primary unique argument for starting a local driver includes information about starting the required driver service | ||
on the local machine. | ||
|
||
* [Service]({{< ref "service.md" >}}) object applies only to local drivers and provides information about the browser driver | ||
|
||
{{< alert-code >}} | ||
Show Starting Local driver with multiple arguments. | ||
{{< /alert-code >}} | ||
|
||
### Remote Driver | ||
|
||
The primary unique argument for starting a remote driver includes information about where to execute the code. | ||
Read the details in the [Remote Driver Section]() | ||
|
||
|
||
## Quitting Sessions | ||
|
||
Quitting a session corresponds to W3C command for [Deleting a Session](https://w3c.github.io/webdriver/#delete-session). | ||
|
||
Important note: the `quit` method is different from the `close` method, | ||
and it is recommended to always use `quit` to end the session | ||
|
||
{{< alert-code >}} | ||
Show quitting a session. | ||
{{< /alert-code >}} |
9 changes: 9 additions & 0 deletions
9
website_and_docs/content/documentation/webdriver/drivers/executors.en.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: "Command executors" | ||
linkTitle: "Executors" | ||
weight: 3 | ||
--- | ||
|
||
These allow you to set various parameters for the HTTP library | ||
|
||
{{< alert-code />}} |
9 changes: 9 additions & 0 deletions
9
website_and_docs/content/documentation/webdriver/drivers/executors.ja.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: "Command executors" | ||
linkTitle: "Executors" | ||
weight: 3 | ||
--- | ||
|
||
These allow you to set various parameters for the HTTP library | ||
|
||
{{< alert-code />}} |
9 changes: 9 additions & 0 deletions
9
website_and_docs/content/documentation/webdriver/drivers/executors.pt-br.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: "Command executors" | ||
linkTitle: "Executors" | ||
weight: 3 | ||
--- | ||
|
||
These allow you to set various parameters for the HTTP library | ||
|
||
{{< alert-code />}} |
9 changes: 9 additions & 0 deletions
9
website_and_docs/content/documentation/webdriver/drivers/executors.zh-cn.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: "Command executors" | ||
linkTitle: "Executors" | ||
weight: 3 | ||
--- | ||
|
||
These allow you to set various parameters for the HTTP library | ||
|
||
{{< alert-code />}} |
9 changes: 9 additions & 0 deletions
9
website_and_docs/content/documentation/webdriver/drivers/listeners.en.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: "Command Listeners" | ||
linkTitle: "Listeners" | ||
weight: 3 | ||
--- | ||
|
||
These allow you to execute custom actions in every time specific Selenium commands are sent | ||
|
||
{{< alert-code />}} |
9 changes: 9 additions & 0 deletions
9
website_and_docs/content/documentation/webdriver/drivers/listeners.ja.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: "Command Listeners" | ||
linkTitle: "Listeners" | ||
weight: 3 | ||
--- | ||
|
||
These allow you to execute custom actions in every time specific Selenium commands are sent | ||
|
||
{{< alert-code />}} |
9 changes: 9 additions & 0 deletions
9
website_and_docs/content/documentation/webdriver/drivers/listeners.pt-br.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: "Command Listeners" | ||
linkTitle: "Listeners" | ||
weight: 3 | ||
--- | ||
|
||
These allow you to execute custom actions in every time specific Selenium commands are sent | ||
|
||
{{< alert-code />}} |
9 changes: 9 additions & 0 deletions
9
website_and_docs/content/documentation/webdriver/drivers/listeners.zh-cn.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: "Command Listeners" | ||
linkTitle: "Listeners" | ||
weight: 3 | ||
--- | ||
|
||
These allow you to execute custom actions in every time specific Selenium commands are sent | ||
|
||
{{< alert-code />}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.