diff --git a/docs_source_files/content/support_packages/browser_navigation.de.md b/docs_source_files/content/support_packages/browser_navigation.de.md deleted file mode 100644 index 7866ca054411..000000000000 --- a/docs_source_files/content/support_packages/browser_navigation.de.md +++ /dev/null @@ -1,112 +0,0 @@ ---- -title: "Browser Navigation" -weight: 1 ---- - -{{% notice info %}} - Diese Seite wird von Englisch -auf Deutsch übersetzt. Sprichst Du Deutsch? Hilf uns die Seite -zu übersetzen indem Du uns einen Pull Reqeust schickst! - {{% /notice %}} -There are commands for various webpage loading actions: - -{{< code-tab >}} - {{< code-panel language="java" >}} -// Navigate to a URL (both of the statements below are -// functionally equivalent). -driver.get("https://www.google.com"); -driver.navigate().to("https://www.google.com"); - -// Go forward one page in the browser (if you're not on the -// last page that was viewed). -driver.navigate().forward(); - -// Go back one page in the browser (if you're not on the -// first page that was viewed). -driver.navigate().back(); - -// Refresh the current page. -driver.navigate().refresh(); - {{< / code-panel >}} - {{< code-panel language="python" >}} -# Navigate to a URL. -driver.get('https://www.google.com') - -# Go forward one page in the browser (if you're not on the -# last page that was viewed). -driver.forward() - -# Go back one page in the browser (if you're not on the -# first page that was viewed). -driver.back() - -# Refresh the current page. -driver.refresh() - {{< / code-panel >}} - {{< code-panel language="csharp" >}} -// Navigate to a URL -driver.Navigate().GoToUrl("http://www.google.com"); - -// Go forward one page in the browser (if you're not on the -// last page that was viewed). -driver.Navigate().Forward(); - -// Go back one page in the browser (if you're not on the -// first page that was viewed). -driver.Navigate().Back(); - -// Refresh the current page. -driver.Navigate().Refresh(); - {{< / code-panel >}} - {{< code-panel language="ruby" >}} -# Navigate to a URL (both of the statements below are -# functionally equivalent). -driver.get('https://www.google.com') -driver.navigate.to('https://www.google.com') - -# Go forward one page in the browser (if you're not on the -# last page that was viewed). -driver.navigate.forward - -# Go back one page in the browser (if you're not on the -# first page that was viewed). -driver.navigate.back - -# Refresh the current page. -driver.navigate.refresh - {{< / code-panel >}} - {{< code-panel language="javascript" >}} -// Navigate to a URL (both of the statements below are -// functionally equivalent). -await driver.get("https://www.google.com"); -await driver.navigate().to("https://www.google.com"); - -// Go forward one page in the browser (if you're not on the -// last page that was viewed). -await driver.navigate().forward(); - -// Go back one page in the browser (if you're not on the -// first page that was viewed). -await driver.navigate().back(); - -// Refresh the current page. -await driver.navigate().refresh(); - {{< / code-panel >}} - {{< code-panel language="kotlin" >}} -// Navigate to a URL (both of the statements below are -// functionally equivalent). -driver.get("https://www.google.com") -driver.navigate().to("https://www.google.com") - -// Go forward one page in the browser (if you're not on the -// last page that was viewed). -driver.navigate().forward() - -// Go back one page in the browser (if you're not on the -// first page that was viewed). -driver.navigate().back() - -// Refresh the current page. -driver.navigate().refresh() - {{< / code-panel >}} -{{< / code-tab >}} diff --git a/docs_source_files/content/support_packages/browser_navigation.en.md b/docs_source_files/content/support_packages/browser_navigation.en.md deleted file mode 100644 index 42cca33be191..000000000000 --- a/docs_source_files/content/support_packages/browser_navigation.en.md +++ /dev/null @@ -1,107 +0,0 @@ ---- -title: "Browser navigation" -weight: 1 ---- - -There are commands for various webpage loading actions: - -{{< code-tab >}} - {{< code-panel language="java" >}} -// Navigate to a URL (both of the statements below are -// functionally equivalent). -driver.get("https://www.google.com"); -driver.navigate().to("https://www.google.com"); - -// Go forward one page in the browser (if you're not on the -// last page that was viewed). -driver.navigate().forward(); - -// Go back one page in the browser (if you're not on the -// first page that was viewed). -driver.navigate().back(); - -// Refresh the current page. -driver.navigate().refresh(); - {{< / code-panel >}} - {{< code-panel language="python" >}} -# Navigate to a URL. -driver.get('https://www.google.com') - -# Go forward one page in the browser (if you're not on the -# last page that was viewed). -driver.forward() - -# Go back one page in the browser (if you're not on the -# first page that was viewed). -driver.back() - -# Refresh the current page. -driver.refresh() - {{< / code-panel >}} - {{< code-panel language="csharp" >}} -// Navigate to a URL -driver.Navigate().GoToUrl("http://www.google.com"); - -// Go forward one page in the browser (if you're not on the -// last page that was viewed). -driver.Navigate().Forward(); - -// Go back one page in the browser (if you're not on the -// first page that was viewed). -driver.Navigate().Back(); - -// Refresh the current page. -driver.Navigate().Refresh(); - {{< / code-panel >}} - {{< code-panel language="ruby" >}} -# Navigate to a URL (both of the statements below are -# functionally equivalent). -driver.get('https://www.google.com') -driver.navigate.to('https://www.google.com') - -# Go forward one page in the browser (if you're not on the -# last page that was viewed). -driver.navigate.forward - -# Go back one page in the browser (if you're not on the -# first page that was viewed). -driver.navigate.back - -# Refresh the current page. -driver.navigate.refresh - {{< / code-panel >}} - {{< code-panel language="javascript" >}} -// Navigate to a URL (both of the statements below are -// functionally equivalent). -await driver.get("https://www.google.com"); -await driver.navigate().to("https://www.google.com"); - -// Go forward one page in the browser (if you're not on the -// last page that was viewed). -await driver.navigate().forward(); - -// Go back one page in the browser (if you're not on the -// first page that was viewed). -await driver.navigate().back(); - -// Refresh the current page. -await driver.navigate().refresh(); - {{< / code-panel >}} - {{< code-panel language="kotlin" >}} -// Navigate to a URL (both of the statements below are -// functionally equivalent). -driver.get("https://www.google.com") -driver.navigate().to("https://www.google.com") - -// Go forward one page in the browser (if you're not on the -// last page that was viewed). -driver.navigate().forward() - -// Go back one page in the browser (if you're not on the -// first page that was viewed). -driver.navigate().back() - -// Refresh the current page. -driver.navigate().refresh() - {{< / code-panel >}} -{{< / code-tab >}} diff --git a/docs_source_files/content/support_packages/browser_navigation.es.md b/docs_source_files/content/support_packages/browser_navigation.es.md deleted file mode 100644 index 91fd925e02b5..000000000000 --- a/docs_source_files/content/support_packages/browser_navigation.es.md +++ /dev/null @@ -1,113 +0,0 @@ ---- -title: "Navegación" -weight: 1 ---- - -{{% notice info %}} - Page being translated from -English to Spanish. Do you speak Spanish? Help us to translate -it by sending us pull requests! -{{% /notice %}} - -There are commands for various webpage loading actions: - -{{< code-tab >}} - {{< code-panel language="java" >}} -// Navigate to a URL (both of the statements below are -// functionally equivalent). -driver.get("https://www.google.com"); -driver.navigate().to("https://www.google.com"); - -// Go forward one page in the browser (if you're not on the -// last page that was viewed). -driver.navigate().forward(); - -// Go back one page in the browser (if you're not on the -// first page that was viewed). -driver.navigate().back(); - -// Refresh the current page. -driver.navigate().refresh(); - {{< / code-panel >}} - {{< code-panel language="python" >}} -# Navigate to a URL. -driver.get('https://www.google.com') - -# Go forward one page in the browser (if you're not on the -# last page that was viewed). -driver.forward() - -# Go back one page in the browser (if you're not on the -# first page that was viewed). -driver.back() - -# Refresh the current page. -driver.refresh() - {{< / code-panel >}} - {{< code-panel language="csharp" >}} -// Navigate to a URL -driver.Navigate().GoToUrl("http://www.google.com"); - -// Go forward one page in the browser (if you're not on the -// last page that was viewed). -driver.Navigate().Forward(); - -// Go back one page in the browser (if you're not on the -// first page that was viewed). -driver.Navigate().Back(); - -// Refresh the current page. -driver.Navigate().Refresh(); -{{< / code-panel >}} - {{< code-panel language="ruby" >}} -# Navigate to a URL (both of the statements below are -# functionally equivalent). -driver.get('https://www.google.com') -driver.navigate.to('https://www.google.com') - -# Go forward one page in the browser (if you're not on the -# last page that was viewed). -driver.navigate.forward - -# Go back one page in the browser (if you're not on the -# first page that was viewed). -driver.navigate.back - -# Refresh the current page. -driver.navigate.refresh - {{< / code-panel >}} - {{< code-panel language="javascript" >}} -// Navigate to a URL (both of the statements below are -// functionally equivalent). -await driver.get("https://www.google.com"); -await driver.navigate().to("https://www.google.com"); - -// Go forward one page in the browser (if you're not on the -// last page that was viewed). -await driver.navigate().forward(); - -// Go back one page in the browser (if you're not on the -// first page that was viewed). -await driver.navigate().back(); - -// Refresh the current page. -await driver.navigate().refresh(); - {{< / code-panel >}} - {{< code-panel language="kotlin" >}} -// Navigate to a URL (both of the statements below are -// functionally equivalent). -driver.get("https://www.google.com") -driver.navigate().to("https://www.google.com") - -// Go forward one page in the browser (if you're not on the -// last page that was viewed). -driver.navigate().forward() - -// Go back one page in the browser (if you're not on the -// first page that was viewed). -driver.navigate().back() - -// Refresh the current page. -driver.navigate().refresh() - {{< / code-panel >}} -{{< / code-tab >}} diff --git a/docs_source_files/content/support_packages/browser_navigation.fr.md b/docs_source_files/content/support_packages/browser_navigation.fr.md deleted file mode 100644 index 20130a20152f..000000000000 --- a/docs_source_files/content/support_packages/browser_navigation.fr.md +++ /dev/null @@ -1,113 +0,0 @@ ---- -title: "Navigation" -weight: 1 ---- - -{{% notice info %}} - Page being translated from -English to French. Do you speak French? Help us to translate -it by sending us pull requests! -{{% /notice %}} - -There are commands for various webpage loading actions: - -{{< code-tab >}} - {{< code-panel language="java" >}} -// Navigate to a URL (both of the statements below are -// functionally equivalent). -driver.get("https://www.google.com"); -driver.navigate().to("https://www.google.com"); - -// Go forward one page in the browser (if you're not on the -// last page that was viewed). -driver.navigate().forward(); - -// Go back one page in the browser (if you're not on the -// first page that was viewed). -driver.navigate().back(); - -// Refresh the current page. -driver.navigate().refresh(); - {{< / code-panel >}} - {{< code-panel language="python" >}} -# Navigate to a URL. -driver.get('https://www.google.com') - -# Go forward one page in the browser (if you're not on the -# last page that was viewed). -driver.forward() - -# Go back one page in the browser (if you're not on the -# first page that was viewed). -driver.back() - -# Refresh the current page. -driver.refresh() - {{< / code-panel >}} - {{< code-panel language="csharp" >}} -// Navigate to a URL -driver.Navigate().GoToUrl("http://www.google.com"); - -// Go forward one page in the browser (if you're not on the -// last page that was viewed). -driver.Navigate().Forward(); - -// Go back one page in the browser (if you're not on the -// first page that was viewed). -driver.Navigate().Back(); - -// Refresh the current page. -driver.Navigate().Refresh(); -{{< / code-panel >}} - {{< code-panel language="ruby" >}} -# Navigate to a URL (both of the statements below are -# functionally equivalent). -driver.get('https://www.google.com') -driver.navigate.to('https://www.google.com') - -# Go forward one page in the browser (if you're not on the -# last page that was viewed). -driver.navigate.forward - -# Go back one page in the browser (if you're not on the -# first page that was viewed). -driver.navigate.back - -# Refresh the current page. -driver.navigate.refresh - {{< / code-panel >}} - {{< code-panel language="javascript" >}} -// Navigate to a URL (both of the statements below are -// functionally equivalent). -await driver.get("https://www.google.com"); -await driver.navigate().to("https://www.google.com"); - -// Go forward one page in the browser (if you're not on the -// last page that was viewed). -await driver.navigate().forward(); - -// Go back one page in the browser (if you're not on the -// first page that was viewed). -await driver.navigate().back(); - -// Refresh the current page. -await driver.navigate().refresh(); - {{< / code-panel >}} - {{< code-panel language="kotlin" >}} -// Navigate to a URL (both of the statements below are -// functionally equivalent). -driver.get("https://www.google.com") -driver.navigate().to("https://www.google.com") - -// Go forward one page in the browser (if you're not on the -// last page that was viewed). -driver.navigate().forward() - -// Go back one page in the browser (if you're not on the -// first page that was viewed). -driver.navigate().back() - -// Refresh the current page. -driver.navigate().refresh() - {{< / code-panel >}} -{{< / code-tab >}} diff --git a/docs_source_files/content/support_packages/browser_navigation.ja.md b/docs_source_files/content/support_packages/browser_navigation.ja.md deleted file mode 100644 index 552043950716..000000000000 --- a/docs_source_files/content/support_packages/browser_navigation.ja.md +++ /dev/null @@ -1,108 +0,0 @@ ---- -title: "ブラウザナビゲーション" -weight: 1 ---- - - -さまざまなWebページの読み込みアクション用のコマンドがあります。 - -{{< code-tab >}} - {{< code-panel language="java" >}} -// Navigate to a URL (both of the statements below are -// functionally equivalent). -driver.get("https://www.google.com"); -driver.navigate().to("https://www.google.com"); - -// Go forward one page in the browser (if you're not on the -// last page that was viewed). -driver.navigate().forward(); - -// Go back one page in the browser (if you're not on the -// first page that was viewed). -driver.navigate().back(); - -// Refresh the current page. -driver.navigate().refresh(); - {{< / code-panel >}} - {{< code-panel language="python" >}} -# Navigate to a URL. -driver.get('https://www.google.com') - -# Go forward one page in the browser (if you're not on the -# last page that was viewed). -driver.forward() - -# Go back one page in the browser (if you're not on the -# first page that was viewed). -driver.back() - -# Refresh the current page. -driver.refresh() - {{< / code-panel >}} - {{< code-panel language="csharp" >}} -// Navigate to a URL -driver.Navigate().GoToUrl("http://www.google.com"); - -// Go forward one page in the browser (if you're not on the -// last page that was viewed). -driver.Navigate().Forward(); - -// Go back one page in the browser (if you're not on the -// first page that was viewed). -driver.Navigate().Back(); - -// Refresh the current page. -driver.Navigate().Refresh(); -{{< / code-panel >}} - {{< code-panel language="ruby" >}} -# Navigate to a URL (both of the statements below are -# functionally equivalent). -driver.get('https://www.google.com') -driver.navigate.to('https://www.google.com') - -# Go forward one page in the browser (if you're not on the -# last page that was viewed). -driver.navigate.forward - -# Go back one page in the browser (if you're not on the -# first page that was viewed). -driver.navigate.back - -# Refresh the current page. -driver.navigate.refresh - {{< / code-panel >}} - {{< code-panel language="javascript" >}} -// Navigate to a URL (both of the statements below are -// functionally equivalent). -await driver.get("https://www.google.com"); -await driver.navigate().to("https://www.google.com"); - -// Go forward one page in the browser (if you're not on the -// last page that was viewed). -await driver.navigate().forward(); - -// Go back one page in the browser (if you're not on the -// first page that was viewed). -await driver.navigate().back(); - -// Refresh the current page. -await driver.navigate().refresh(); - {{< / code-panel >}} - {{< code-panel language="kotlin" >}} -// Navigate to a URL (both of the statements below are -// functionally equivalent). -driver.get("https://www.google.com") -driver.navigate().to("https://www.google.com") - -// Go forward one page in the browser (if you're not on the -// last page that was viewed). -driver.navigate().forward() - -// Go back one page in the browser (if you're not on the -// first page that was viewed). -driver.navigate().back() - -// Refresh the current page. -driver.navigate().refresh() - {{< / code-panel >}} -{{< / code-tab >}} diff --git a/docs_source_files/content/support_packages/browser_navigation.ko.md b/docs_source_files/content/support_packages/browser_navigation.ko.md deleted file mode 100644 index 50f245f2f94b..000000000000 --- a/docs_source_files/content/support_packages/browser_navigation.ko.md +++ /dev/null @@ -1,113 +0,0 @@ ---- -title: "Browser navigation" -weight: 1 ---- - -{{% notice info %}} - Page being translated from -English to Korean. Do you speak Korean? Help us to translate -it by sending us pull requests! -{{% /notice %}} - -There are commands for various webpage loading actions: - -{{< code-tab >}} - {{< code-panel language="java" >}} -// Navigate to a URL (both of the statements below are -// functionally equivalent). -driver.get("https://www.google.com"); -driver.navigate().to("https://www.google.com"); - -// Go forward one page in the browser (if you're not on the -// last page that was viewed). -driver.navigate().forward(); - -// Go back one page in the browser (if you're not on the -// first page that was viewed). -driver.navigate().back(); - -// Refresh the current page. -driver.navigate().refresh(); - {{< / code-panel >}} - {{< code-panel language="python" >}} -# Navigate to a URL. -driver.get('https://www.google.com') - -# Go forward one page in the browser (if you're not on the -# last page that was viewed). -driver.forward() - -# Go back one page in the browser (if you're not on the -# first page that was viewed). -driver.back() - -# Refresh the current page. -driver.refresh() - {{< / code-panel >}} - {{< code-panel language="csharp" >}} -// Navigate to a URL -driver.Navigate().GoToUrl("http://www.google.com"); - -// Go forward one page in the browser (if you're not on the -// last page that was viewed). -driver.Navigate().Forward(); - -// Go back one page in the browser (if you're not on the -// first page that was viewed). -driver.Navigate().Back(); - -// Refresh the current page. -driver.Navigate().Refresh(); - {{< / code-panel >}} - {{< code-panel language="ruby" >}} -# Navigate to a URL (both of the statements below are -# functionally equivalent). -driver.get('https://www.google.com') -driver.navigate.to('https://www.google.com') - -# Go forward one page in the browser (if you're not on the -# last page that was viewed). -driver.navigate.forward - -# Go back one page in the browser (if you're not on the -# first page that was viewed). -driver.navigate.back - -# Refresh the current page. -driver.navigate.refresh - {{< / code-panel >}} - {{< code-panel language="javascript" >}} -// Navigate to a URL (both of the statements below are -// functionally equivalent). -await driver.get("https://www.google.com"); -await driver.navigate().to("https://www.google.com"); - -// Go forward one page in the browser (if you're not on the -// last page that was viewed). -await driver.navigate().forward(); - -// Go back one page in the browser (if you're not on the -// first page that was viewed). -await driver.navigate().back(); - -// Refresh the current page. -await driver.navigate().refresh(); - {{< / code-panel >}} - {{< code-panel language="kotlin" >}} -// Navigate to a URL (both of the statements below are -// functionally equivalent). -driver.get("https://www.google.com") -driver.navigate().to("https://www.google.com") - -// Go forward one page in the browser (if you're not on the -// last page that was viewed). -driver.navigate().forward() - -// Go back one page in the browser (if you're not on the -// first page that was viewed). -driver.navigate().back() - -// Refresh the current page. -driver.navigate().refresh() - {{< / code-panel >}} -{{< / code-tab >}} diff --git a/docs_source_files/content/support_packages/browser_navigation.nl.md b/docs_source_files/content/support_packages/browser_navigation.nl.md deleted file mode 100644 index e8f2fb736f89..000000000000 --- a/docs_source_files/content/support_packages/browser_navigation.nl.md +++ /dev/null @@ -1,113 +0,0 @@ ---- -title: "Browser navigation" -weight: 1 ---- - -{{% notice info %}} - Page being translated from -English to Dutch. Do you speak Dutch? Help us to translate -it by sending us pull requests! -{{% /notice %}} - -There are commands for various webpage loading actions: - -{{< code-tab >}} - {{< code-panel language="java" >}} -// Navigate to a URL (both of the statements below are -// functionally equivalent). -driver.get("https://www.google.com"); -driver.navigate().to("https://www.google.com"); - -// Go forward one page in the browser (if you're not on the -// last page that was viewed). -driver.navigate().forward(); - -// Go back one page in the browser (if you're not on the -// first page that was viewed). -driver.navigate().back(); - -// Refresh the current page. -driver.navigate().refresh(); - {{< / code-panel >}} - {{< code-panel language="python" >}} -# Navigate to a URL. -driver.get('https://www.google.com') - -# Go forward one page in the browser (if you're not on the -# last page that was viewed). -driver.forward() - -# Go back one page in the browser (if you're not on the -# first page that was viewed). -driver.back() - -# Refresh the current page. -driver.refresh() - {{< / code-panel >}} - {{< code-panel language="csharp" >}} -// Navigate to a URL -driver.Navigate().GoToUrl("http://www.google.com"); - -// Go forward one page in the browser (if you're not on the -// last page that was viewed). -driver.Navigate().Forward(); - -// Go back one page in the browser (if you're not on the -// first page that was viewed). -driver.Navigate().Back(); - -// Refresh the current page. -driver.Navigate().Refresh(); -{{< / code-panel >}} - {{< code-panel language="ruby" >}} -# Navigate to a URL (both of the statements below are -# functionally equivalent). -driver.get('https://www.google.com') -driver.navigate.to('https://www.google.com') - -# Go forward one page in the browser (if you're not on the -# last page that was viewed). -driver.navigate.forward - -# Go back one page in the browser (if you're not on the -# first page that was viewed). -driver.navigate.back - -# Refresh the current page. -driver.navigate.refresh - {{< / code-panel >}} - {{< code-panel language="javascript" >}} -// Navigate to a URL (both of the statements below are -// functionally equivalent). -await driver.get("https://www.google.com"); -await driver.navigate().to("https://www.google.com"); - -// Go forward one page in the browser (if you're not on the -// last page that was viewed). -await driver.navigate().forward(); - -// Go back one page in the browser (if you're not on the -// first page that was viewed). -await driver.navigate().back(); - -// Refresh the current page. -await driver.navigate().refresh(); - {{< / code-panel >}} - {{< code-panel language="kotlin" >}} -// Navigate to a URL (both of the statements below are -// functionally equivalent). -driver.get("https://www.google.com") -driver.navigate().to("https://www.google.com") - -// Go forward one page in the browser (if you're not on the -// last page that was viewed). -driver.navigate().forward() - -// Go back one page in the browser (if you're not on the -// first page that was viewed). -driver.navigate().back() - -// Refresh the current page. -driver.navigate().refresh() - {{< / code-panel >}} -{{< / code-tab >}} diff --git a/docs_source_files/content/support_packages/browser_navigation.zh-cn.md b/docs_source_files/content/support_packages/browser_navigation.zh-cn.md deleted file mode 100644 index 428a985c1e7c..000000000000 --- a/docs_source_files/content/support_packages/browser_navigation.zh-cn.md +++ /dev/null @@ -1,112 +0,0 @@ ---- -title: "Browser navigation" -weight: 1 ---- - -{{% notice info %}} - 页面需要从英语翻译为简体中文。 -您熟悉英语与简体中文吗?帮助我们翻译它,通过 pull requests 给我们! -{{% /notice %}} - -There are commands for various webpage loading actions: - -{{< code-tab >}} - {{< code-panel language="java" >}} -// Navigate to a URL (both of the statements below are -// functionally equivalent). -driver.get("https://www.google.com"); -driver.navigate().to("https://www.google.com"); - -// Go forward one page in the browser (if you're not on the -// last page that was viewed). -driver.navigate().forward(); - -// Go back one page in the browser (if you're not on the -// first page that was viewed). -driver.navigate().back(); - -// Refresh the current page. -driver.navigate().refresh(); - {{< / code-panel >}} - {{< code-panel language="python" >}} -# Navigate to a URL. -driver.get('https://www.google.com') - -# Go forward one page in the browser (if you're not on the -# last page that was viewed). -driver.forward() - -# Go back one page in the browser (if you're not on the -# first page that was viewed). -driver.back() - -# Refresh the current page. -driver.refresh() - {{< / code-panel >}} - {{< code-panel language="csharp" >}} -// Navigate to a URL -driver.Navigate().GoToUrl("http://www.google.com"); - -// Go forward one page in the browser (if you're not on the -// last page that was viewed). -driver.Navigate().Forward(); - -// Go back one page in the browser (if you're not on the -// first page that was viewed). -driver.Navigate().Back(); - -// Refresh the current page. -driver.Navigate().Refresh(); -{{< / code-panel >}} - {{< code-panel language="ruby" >}} -# Navigate to a URL (both of the statements below are -# functionally equivalent). -driver.get('https://www.google.com') -driver.navigate.to('https://www.google.com') - -# Go forward one page in the browser (if you're not on the -# last page that was viewed). -driver.navigate.forward - -# Go back one page in the browser (if you're not on the -# first page that was viewed). -driver.navigate.back - -# Refresh the current page. -driver.navigate.refresh - {{< / code-panel >}} - {{< code-panel language="javascript" >}} -// Navigate to a URL (both of the statements below are -// functionally equivalent). -await driver.get("https://www.google.com"); -await driver.navigate().to("https://www.google.com"); - -// Go forward one page in the browser (if you're not on the -// last page that was viewed). -await driver.navigate().forward(); - -// Go back one page in the browser (if you're not on the -// first page that was viewed). -await driver.navigate().back(); - -// Refresh the current page. -await driver.navigate().refresh(); - {{< / code-panel >}} - {{< code-panel language="kotlin" >}} -// Navigate to a URL (both of the statements below are -// functionally equivalent). -driver.get("https://www.google.com") -driver.navigate().to("https://www.google.com") - -// Go forward one page in the browser (if you're not on the -// last page that was viewed). -driver.navigate().forward() - -// Go back one page in the browser (if you're not on the -// first page that was viewed). -driver.navigate().back() - -// Refresh the current page. -driver.navigate().refresh() - {{< / code-panel >}} -{{< / code-tab >}}