diff --git a/website_and_docs/content/documentation/webdriver/getting_started/first_script.en.md b/website_and_docs/content/documentation/webdriver/getting_started/first_script.en.md index a7d8274655ec..6a4090a4202f 100644 --- a/website_and_docs/content/documentation/webdriver/getting_started/first_script.en.md +++ b/website_and_docs/content/documentation/webdriver/getting_started/first_script.en.md @@ -255,33 +255,52 @@ Many of the code examples in this documentation can be found in our example repo There are multiple options in each language, but here is what we are using in our examples: {{< tabpane langEqualsHeader=true >}} -{{< tab header="Java" >}} -// Add instructions +{{% tab header="Java" text=true %}} +Install Dependent library +```shell +mvn install +``` +Run your tests using below command +```shell +mvn test +``` + {{< /tab >}} -{{< tab header="Python" >}} -// Add instructions +{{% tab header="Python" text=true %}} +Install Dependent library +```shell +pip install -r requirements.txt +``` +Run your tests using below command +```shell +pytest +```` {{< /tab >}} -{{< tab header="CSharp" >}} +{{% tab header="CSharp" text=true %}} // Add instructions {{< /tab >}} -{{< tab header="Ruby" >}} -// Add instructions +{{% tab header="Ruby" text=true %}} +Install Dependent library +```shell +bundle install +``` +Run your tests using below command +```shell +rspec +``` {{< /tab >}} {{% tab header="JavaScript" text=true %}} -Install Mocha Test runner using below command in your terminal - +Install Dependent library ```shell -npm install mocha +npm i ``` - -and run your tests using below command - +Run your tests using below command ```shell -mocha firstScript.spec.js +npm test ``` {{< /tab >}} -{{< tab header="Kotlin" >}} +{{% tab header="Kotlin" text=true %}} // Add instructions {{< /tab >}} {{< /tabpane >}} diff --git a/website_and_docs/content/documentation/webdriver/getting_started/first_script.ja.md b/website_and_docs/content/documentation/webdriver/getting_started/first_script.ja.md index fb5494f98645..9dd9df211e6c 100644 --- a/website_and_docs/content/documentation/webdriver/getting_started/first_script.ja.md +++ b/website_and_docs/content/documentation/webdriver/getting_started/first_script.ja.md @@ -256,38 +256,58 @@ you will want to execute your Selenium code using test runner tools. Many of the code examples in this documentation can be found in our example repositories. There are multiple options in each language, but here is what we are using in our examples: -{{< tabpane text=true langEqualsHeader=true >}} -{{< tab header="Java" >}} -// Add instructions +{{< tabpane langEqualsHeader=true >}} +{{% tab header="Java" text=true %}} +Install Dependent library +```shell +mvn install +``` +Run your tests using below command +```shell +mvn test +``` + {{< /tab >}} -{{< tab header="Python" >}} -// Add instructions +{{% tab header="Python" text=true %}} +Install Dependent library +```shell +pip install -r requirements.txt +``` +Run your tests using below command +```shell +pytest +```` {{< /tab >}} -{{< tab header="CSharp" >}} +{{% tab header="CSharp" text=true %}} // Add instructions {{< /tab >}} -{{< tab header="Ruby" >}} -// Add instructions +{{% tab header="Ruby" text=true %}} +Install Dependent library +```shell +bundle install +``` +Run your tests using below command +```shell +rspec +``` {{< /tab >}} {{% tab header="JavaScript" text=true %}} -Install Mocha Test runner using below command in your terminal - +Install Dependent library ```shell -npm install mocha +npm i ``` - -and run your tests using below command - +Run your tests using below command ```shell -mocha firstScript.spec.js +npm test ``` {{< /tab >}} -{{< tab header="Kotlin" >}} +{{% tab header="Kotlin" text=true %}} // Add instructions {{< /tab >}} {{< /tabpane >}} + ## Next Steps Take what you've learned and build out your Selenium code. diff --git a/website_and_docs/content/documentation/webdriver/getting_started/first_script.pt-br.md b/website_and_docs/content/documentation/webdriver/getting_started/first_script.pt-br.md index 0aa3395a557d..5e7ed3567588 100644 --- a/website_and_docs/content/documentation/webdriver/getting_started/first_script.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/getting_started/first_script.pt-br.md @@ -254,39 +254,58 @@ você deverá executar seu código usando feramentas para executar testes. Muitos exemplos de código encontrado nessa documentação podem ser encontrado no nosso repositório de exemplos. Existem múltiplas opções em cada linguagem, mas esta será qual usaremos em nossos exemplos: +{{< tabpane langEqualsHeader=true >}} +{{% tab header="Java" text=true %}} +Install Dependent library +```shell +mvn install +``` +Run your tests using below command +```shell +mvn test +``` -{{< tabpane text=true langEqualsHeader=true >}} -{{< tab header="Java" >}} -// Add instructions {{< /tab >}} -{{< tab header="Python" >}} -// Add instructions +{{% tab header="Python" text=true %}} +Install Dependent library +```shell +pip install -r requirements.txt +``` +Run your tests using below command +```shell +pytest +```` {{< /tab >}} -{{< tab header="CSharp" >}} +{{% tab header="CSharp" text=true %}} // Add instructions {{< /tab >}} -{{< tab header="Ruby" >}} -// Add instructions +{{% tab header="Ruby" text=true %}} +Install Dependent library +```shell +bundle install +``` +Run your tests using below command +```shell +rspec +``` {{< /tab >}} {{% tab header="JavaScript" text=true %}} -Install Mocha Test runner using below command in your terminal - +Install Dependent library ```shell -npm install mocha +npm i ``` - -and run your tests using below command - +Run your tests using below command ```shell -mocha firstScript.spec.js +npm test ``` {{< /tab >}} -{{< tab header="Kotlin" >}} +{{% tab header="Kotlin" text=true %}} // Add instructions {{< /tab >}} {{< /tabpane >}} + ## Próximos Passos Use o que você aprendeu e construa o seu proprio código Selenium. diff --git a/website_and_docs/content/documentation/webdriver/getting_started/first_script.zh-cn.md b/website_and_docs/content/documentation/webdriver/getting_started/first_script.zh-cn.md index 45f18d11f9cf..a176e0dc4018 100644 --- a/website_and_docs/content/documentation/webdriver/getting_started/first_script.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/getting_started/first_script.zh-cn.md @@ -273,38 +273,58 @@ you will want to execute your Selenium code using test runner tools. Many of the code examples in this documentation can be found in our example repositories. There are multiple options in each language, but here is what we are using in our examples: -{{< tabpane text=true langEqualsHeader=true >}} -{{< tab header="Java" >}} -// Add instructions +{{< tabpane langEqualsHeader=true >}} +{{% tab header="Java" text=true %}} +Install Dependent library +```shell +mvn install +``` +Run your tests using below command +```shell +mvn test +``` + {{< /tab >}} -{{< tab header="Python" >}} -// Add instructions +{{% tab header="Python" text=true %}} +Install Dependent library +```shell +pip install -r requirements.txt +``` +Run your tests using below command +```shell +pytest +```` {{< /tab >}} -{{< tab header="CSharp" >}} +{{% tab header="CSharp" text=true %}} // Add instructions {{< /tab >}} -{{< tab header="Ruby" >}} -// Add instructions +{{% tab header="Ruby" text=true %}} +Install Dependent library +```shell +bundle install +``` +Run your tests using below command +```shell +rspec +``` {{< /tab >}} {{% tab header="JavaScript" text=true %}} -Install Mocha Test runner using below command in your terminal - +Install Dependent library ```shell -npm install mocha +npm i ``` - -and run your tests using below command - +Run your tests using below command ```shell -mocha firstScript.spec.js +npm test ``` {{< /tab >}} -{{< tab header="Kotlin" >}} +{{% tab header="Kotlin" text=true %}} // Add instructions {{< /tab >}} {{< /tabpane >}} + ## 接下来的步骤 利用你所学的知识,