Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,21 @@ driver.navigate.back
driver.navigate.refresh
{{< / code-panel >}}
{{< code-panel language="javascript" >}}
// We don't have a JavaScript code sample yet - Help us out and raise a PR
# 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="kotlin" >}}
// Navigate to a URL (both of the statements below are
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,21 @@ driver.navigate.back
driver.navigate.refresh
{{< / code-panel >}}
{{< code-panel language="javascript" >}}
// We don't have a JavaScript code sample yet - Help us out and raise a PR
# 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="kotlin" >}}
// Navigate to a URL (both of the statements below are
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,21 @@ driver.navigate.back
driver.navigate.refresh
{{< / code-panel >}}
{{< code-panel language="javascript" >}}
// We don't have a JavaScript code sample yet - Help us out and raise a PR
# 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="kotlin" >}}
// Navigate to a URL (both of the statements below are
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,21 @@ driver.navigate.back
driver.navigate.refresh
{{< / code-panel >}}
{{< code-panel language="javascript" >}}
// We don't have a JavaScript code sample yet - Help us out and raise a PR
# 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="kotlin" >}}
// Navigate to a URL (both of the statements below are
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,21 @@ driver.navigate.back
driver.navigate.refresh
{{< / code-panel >}}
{{< code-panel language="javascript" >}}
// We don't have a JavaScript code sample yet - Help us out and raise a PR
# 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="kotlin" >}}
// Navigate to a URL (both of the statements below are
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,21 @@ driver.navigate.back
driver.navigate.refresh
{{< / code-panel >}}
{{< code-panel language="javascript" >}}
// We don't have a JavaScript code sample yet - Help us out and raise a PR
# 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="kotlin" >}}
// Navigate to a URL (both of the statements below are
Expand Down