(WebDriver driver)
| 78 | new Event<>("script.realmDestroyed", params -> JSON.convert(params, RealmInfo.class)); |
| 79 | |
| 80 | public Script(WebDriver driver) { |
| 81 | this(new HashSet<>(), driver); |
| 82 | } |
| 83 | |
| 84 | public Script(String browsingContextId, WebDriver driver) { |
| 85 | this(Collections.singleton(Require.nonNull("Browsing context id", browsingContextId)), driver); |