Skip to content

Commit

Permalink
[java] Adding a system property to enable requireWindowFocus option i…
Browse files Browse the repository at this point in the history
…n IE
  • Loading branch information
barancev committed Oct 25, 2018
1 parent 8986308 commit 928b948
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ static void addShutdownAction(Runnable action) {
if (Boolean.getBoolean("selenium.ie.disable_native_events")) {
options.disableNativeEvents();
}
if (Boolean.getBoolean("selenium.ie.require_window_focus")) {
options.requireWindowFocus();
}
return options;
})
.put(Browser.htmlunit, DesiredCapabilities::htmlUnit)
Expand Down

0 comments on commit 928b948

Please sign in to comment.