Skip to content

Merge latest code #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Jul 10, 2020
Original file line number Diff line number Diff line change
Expand Up @@ -489,21 +489,21 @@ driver = await env.builder()
.build();
{{< / code-panel >}}
{{< code-panel language="kotlin" >}}
import org.openqa.selenium.Capabilities;
import org.openqa.selenium.ie.InternetExplorerDriver;
import org.openqa.selenium.ie.InternetExplorerOptions;
import org.openqa.selenium.Capabilities
import org.openqa.selenium.ie.InternetExplorerDriver
import org.openqa.selenium.ie.InternetExplorerOptions

fun main() {
val options = InternetExplorerOptions();
options.useCreateProcessApiToLaunchIe();
options.addCommandSwitches("-k");
val driver = InternetExplorerDriver(options);
val options = InternetExplorerOptions()
options.useCreateProcessApiToLaunchIe()
options.addCommandSwitches("-k")
val driver = InternetExplorerDriver(options)
try {
driver.get("https://google.com/ncr");
val caps = driver.getCapabilities();
println(caps);
driver.get("https://google.com/ncr")
val caps = driver.getCapabilities()
println(caps)
} finally {
driver.quit();
driver.quit()
}
}
{{< / code-panel >}}
Expand Down Expand Up @@ -590,20 +590,20 @@ driver = await env.builder()
.build();
{{< / code-panel >}}
{{< code-panel language="kotlin" >}}
import org.openqa.selenium.Capabilities;
import org.openqa.selenium.ie.InternetExplorerDriver;
import org.openqa.selenium.ie.InternetExplorerOptions;
import org.openqa.selenium.Capabilities
import org.openqa.selenium.ie.InternetExplorerDriver
import org.openqa.selenium.ie.InternetExplorerOptions

fun main() {
val options = InternetExplorerOptions();
options.useCreateProcessApiToLaunchIe();
val driver = InternetExplorerDriver(options);
val options = InternetExplorerOptions()
options.useCreateProcessApiToLaunchIe()
val driver = InternetExplorerDriver(options)
try {
driver.get("https://google.com/ncr");
val caps = driver.getCapabilities();
driver.get("https://google.com/ncr")
val caps = driver.getCapabilities()
println(caps)
} finally {
driver.quit();
driver.quit()
}
}
{{< / code-panel >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -484,21 +484,21 @@ driver = await env.builder()
{{< / code-panel >}}
{{< code-panel language="kotlin" >}}

import org.openqa.selenium.Capabilities;
import org.openqa.selenium.ie.InternetExplorerDriver;
import org.openqa.selenium.ie.InternetExplorerOptions;
import org.openqa.selenium.Capabilities
import org.openqa.selenium.ie.InternetExplorerDriver
import org.openqa.selenium.ie.InternetExplorerOptions

fun main() {
val options = InternetExplorerOptions();
options.useCreateProcessApiToLaunchIe();
options.addCommandSwitches("-k");
val driver = InternetExplorerDriver(options);
val options = InternetExplorerOptions()
options.useCreateProcessApiToLaunchIe()
options.addCommandSwitches("-k")
val driver = InternetExplorerDriver(options)
try {
driver.get("https://google.com/ncr");
val caps = driver.getCapabilities();
println(caps);
driver.get("https://google.com/ncr")
val caps = driver.getCapabilities()
println(caps)
} finally {
driver.quit();
driver.quit()
}
}
{{< / code-panel >}}
Expand Down Expand Up @@ -585,20 +585,20 @@ driver = await env.builder()
.build();
{{< / code-panel >}}
{{< code-panel language="kotlin" >}}
import org.openqa.selenium.Capabilities;
import org.openqa.selenium.ie.InternetExplorerDriver;
import org.openqa.selenium.ie.InternetExplorerOptions;
import org.openqa.selenium.Capabilities
import org.openqa.selenium.ie.InternetExplorerDriver
import org.openqa.selenium.ie.InternetExplorerOptions

fun main() {
val options = InternetExplorerOptions();
options.useCreateProcessApiToLaunchIe();
val driver = InternetExplorerDriver(options);
val options = InternetExplorerOptions()
options.useCreateProcessApiToLaunchIe()
val driver = InternetExplorerDriver(options)
try {
driver.get("https://google.com/ncr");
val caps = driver.getCapabilities();
driver.get("https://google.com/ncr")
val caps = driver.getCapabilities()
println(caps)
} finally {
driver.quit();
driver.quit()
}
}
{{< / code-panel >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -485,21 +485,21 @@ driver = await env.builder()
{{< / code-panel >}}
{{< code-panel language="kotlin" >}}

import org.openqa.selenium.Capabilities;
import org.openqa.selenium.ie.InternetExplorerDriver;
import org.openqa.selenium.ie.InternetExplorerOptions;
import org.openqa.selenium.Capabilities
import org.openqa.selenium.ie.InternetExplorerDriver
import org.openqa.selenium.ie.InternetExplorerOptions

fun main() {
val options = InternetExplorerOptions();
options.useCreateProcessApiToLaunchIe();
options.addCommandSwitches("-k");
val driver = InternetExplorerDriver(options);
val options = InternetExplorerOptions()
options.useCreateProcessApiToLaunchIe()
options.addCommandSwitches("-k")
val driver = InternetExplorerDriver(options)
try {
driver.get("https://google.com/ncr");
val caps = driver.getCapabilities();
println(caps);
driver.get("https://google.com/ncr")
val caps = driver.getCapabilities()
println(caps)
} finally {
driver.quit();
driver.quit()
}
}
{{< / code-panel >}}
Expand Down Expand Up @@ -586,20 +586,20 @@ driver = await env.builder()
.build();
{{< / code-panel >}}
{{< code-panel language="kotlin" >}}
import org.openqa.selenium.Capabilities;
import org.openqa.selenium.ie.InternetExplorerDriver;
import org.openqa.selenium.ie.InternetExplorerOptions;
import org.openqa.selenium.Capabilities
import org.openqa.selenium.ie.InternetExplorerDriver
import org.openqa.selenium.ie.InternetExplorerOptions

fun main() {
val options = InternetExplorerOptions();
options.useCreateProcessApiToLaunchIe();
val driver = InternetExplorerDriver(options);
val options = InternetExplorerOptions()
options.useCreateProcessApiToLaunchIe()
val driver = InternetExplorerDriver(options)
try {
driver.get("https://google.com/ncr");
val caps = driver.getCapabilities();
driver.get("https://google.com/ncr")
val caps = driver.getCapabilities()
println(caps)
} finally {
driver.quit();
driver.quit()
}
}
{{< / code-panel >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -491,21 +491,21 @@ driver = await env.builder()
{{< / code-panel >}}
{{< code-panel language="kotlin" >}}

import org.openqa.selenium.Capabilities;
import org.openqa.selenium.ie.InternetExplorerDriver;
import org.openqa.selenium.ie.InternetExplorerOptions;
import org.openqa.selenium.Capabilities
import org.openqa.selenium.ie.InternetExplorerDriver
import org.openqa.selenium.ie.InternetExplorerOptions

fun main() {
val options = InternetExplorerOptions();
options.useCreateProcessApiToLaunchIe();
options.addCommandSwitches("-k");
val driver = InternetExplorerDriver(options);
val options = InternetExplorerOptions()
options.useCreateProcessApiToLaunchIe()
options.addCommandSwitches("-k")
val driver = InternetExplorerDriver(options)
try {
driver.get("https://google.com/ncr");
val caps = driver.getCapabilities();
println(caps);
driver.get("https://google.com/ncr")
val caps = driver.getCapabilities()
println(caps)
} finally {
driver.quit();
driver.quit()
}
}
{{< / code-panel >}}
Expand Down Expand Up @@ -592,20 +592,20 @@ driver = await env.builder()
.build();
{{< / code-panel >}}
{{< code-panel language="kotlin" >}}
import org.openqa.selenium.Capabilities;
import org.openqa.selenium.ie.InternetExplorerDriver;
import org.openqa.selenium.ie.InternetExplorerOptions;
import org.openqa.selenium.Capabilities
import org.openqa.selenium.ie.InternetExplorerDriver
import org.openqa.selenium.ie.InternetExplorerOptions

fun main() {
val options = InternetExplorerOptions();
options.useCreateProcessApiToLaunchIe();
val driver = InternetExplorerDriver(options);
val options = InternetExplorerOptions()
options.useCreateProcessApiToLaunchIe()
val driver = InternetExplorerDriver(options)
try {
driver.get("https://google.com/ncr");
val caps = driver.getCapabilities();
driver.get("https://google.com/ncr")
val caps = driver.getCapabilities()
println(caps)
} finally {
driver.quit();
driver.quit()
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -476,21 +476,21 @@ driver = await env.builder()
{{< / code-panel >}}
{{< code-panel language="kotlin" >}}

import org.openqa.selenium.Capabilities;
import org.openqa.selenium.ie.InternetExplorerDriver;
import org.openqa.selenium.ie.InternetExplorerOptions;
import org.openqa.selenium.Capabilities
import org.openqa.selenium.ie.InternetExplorerDriver
import org.openqa.selenium.ie.InternetExplorerOptions

fun main() {
val options = InternetExplorerOptions();
options.useCreateProcessApiToLaunchIe();
options.addCommandSwitches("-k");
val driver = InternetExplorerDriver(options);
val options = InternetExplorerOptions()
options.useCreateProcessApiToLaunchIe()
options.addCommandSwitches("-k")
val driver = InternetExplorerDriver(options)
try {
driver.get("https://google.com/ncr");
val caps = driver.getCapabilities();
driver.get("https://google.com/ncr")
val caps = driver.getCapabilities()
println(caps);
} finally {
driver.quit();
driver.quit()
}
}
{{< / code-panel >}}
Expand Down Expand Up @@ -576,20 +576,20 @@ driver = await env.builder()
.build();
{{< / code-panel >}}
{{< code-panel language="kotlin" >}}
import org.openqa.selenium.Capabilities;
import org.openqa.selenium.ie.InternetExplorerDriver;
import org.openqa.selenium.ie.InternetExplorerOptions;
import org.openqa.selenium.Capabilities
import org.openqa.selenium.ie.InternetExplorerDriver
import org.openqa.selenium.ie.InternetExplorerOptions

fun main() {
val options = InternetExplorerOptions();
options.useCreateProcessApiToLaunchIe();
val driver = InternetExplorerDriver(options);
val options = InternetExplorerOptions()
options.useCreateProcessApiToLaunchIe()
val driver = InternetExplorerDriver(options)
try {
driver.get("https://google.com/ncr");
val caps = driver.getCapabilities();
driver.get("https://google.com/ncr")
val caps = driver.getCapabilities()
println(caps)
} finally {
driver.quit();
driver.quit()
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -490,19 +490,19 @@ driver = await env.builder()
{{< / code-panel >}}
{{< code-panel language="kotlin" >}}

import org.openqa.selenium.Capabilities;
import org.openqa.selenium.ie.InternetExplorerDriver;
import org.openqa.selenium.ie.InternetExplorerOptions;
import org.openqa.selenium.Capabilities
import org.openqa.selenium.ie.InternetExplorerDriver
import org.openqa.selenium.ie.InternetExplorerOptions

fun main() {
val options = InternetExplorerOptions();
options.useCreateProcessApiToLaunchIe();
options.addCommandSwitches("-k");
val driver = InternetExplorerDriver(options);
val options = InternetExplorerOptions()
options.useCreateProcessApiToLaunchIe()
options.addCommandSwitches("-k")
val driver = InternetExplorerDriver(options)
try {
driver.get("https://google.com/ncr");
val caps = driver.getCapabilities();
println(caps);
driver.get("https://google.com/ncr")
val caps = driver.getCapabilities()
println(caps)
} finally {
driver.quit();
}
Expand Down Expand Up @@ -591,20 +591,20 @@ driver = await env.builder()
.build();
{{< / code-panel >}}
{{< code-panel language="kotlin" >}}
import org.openqa.selenium.Capabilities;
import org.openqa.selenium.ie.InternetExplorerDriver;
import org.openqa.selenium.ie.InternetExplorerOptions;
import org.openqa.selenium.Capabilities
import org.openqa.selenium.ie.InternetExplorerDriver
import org.openqa.selenium.ie.InternetExplorerOptions

fun main() {
val options = InternetExplorerOptions();
options.useCreateProcessApiToLaunchIe();
val driver = InternetExplorerDriver(options);
val options = InternetExplorerOptions()
options.useCreateProcessApiToLaunchIe()
val driver = InternetExplorerDriver(options)
try {
driver.get("https://google.com/ncr");
val caps = driver.getCapabilities();
driver.get("https://google.com/ncr")
val caps = driver.getCapabilities()
println(caps)
} finally {
driver.quit();
driver.quit()
}
}
{{< / code-panel >}}
Expand Down
Loading