@@ -71,167 +71,166 @@ derive instance functorLunaparkF ∷ Functor LunaparkF
71derive instance functorElementF ∷ Functor ElementF
71derive instance functorElementF ∷ Functor ElementF
73_lunapark = SProxy ∷ SProxy "lunapark"
73_lunapark = SProxy ∷ SProxy "lunapark"
74−type LUNAPARK = R.FProxy LunaparkF
74+type LUNAPARK r = ( lunapark ∷ LunaparkF | r )
75−type LunaparkEffect r = ( lunapark ∷ LUNAPARK | r )
77−liftLunapark ∷ ∀ a r. LunaparkF a → Run (LunaparkEffect r) a
76+liftLunapark ∷ ∀ a r. LunaparkF a → Run (LUNAPARK r) a
78liftLunapark = R.lift _lunapark
77liftLunapark = R.lift _lunapark
80−quit ∷ ∀ r. Run (LunaparkEffect r) Unit
79+quit ∷ ∀ r. Run (LUNAPARK r) Unit
81quit = liftLunapark $ Quit unit
80quit = liftLunapark $ Quit unit
83−status ∷ ∀ r. Run (LunaparkEffect r) LT.ServerStatus
82+status ∷ ∀ r. Run (LUNAPARK r) LT.ServerStatus
84status = liftLunapark $ Status identity
83status = liftLunapark $ Status identity
86−setTimeouts ∷ ∀ r. LT.Timeouts → Run (LunaparkEffect r) Unit
85+setTimeouts ∷ ∀ r. LT.Timeouts → Run (LUNAPARK r) Unit
87setTimeouts ts = liftLunapark $ SetTimeouts ts unit
86setTimeouts ts = liftLunapark $ SetTimeouts ts unit
89−getTimeouts ∷ ∀ r. Run (LunaparkEffect r) LT.Timeouts
88+getTimeouts ∷ ∀ r. Run (LUNAPARK r) LT.Timeouts
90getTimeouts = liftLunapark $ GetTimeouts identity
89getTimeouts = liftLunapark $ GetTimeouts identity
92−go ∷ ∀ r. String → Run (LunaparkEffect r) Unit
91+go ∷ ∀ r. String → Run (LUNAPARK r) Unit
93go uri = liftLunapark $ GoTo uri unit
92go uri = liftLunapark $ GoTo uri unit
95−getUrl ∷ ∀ r. Run (LunaparkEffect r) String
94+getUrl ∷ ∀ r. Run (LUNAPARK r) String
96getUrl = liftLunapark $ GetUrl identity
95getUrl = liftLunapark $ GetUrl identity
98−forward ∷ ∀ r. Run (LunaparkEffect r) Unit
97+forward ∷ ∀ r. Run (LUNAPARK r) Unit
99forward = liftLunapark $ Forward unit
98forward = liftLunapark $ Forward unit
101−back ∷ ∀ r. Run (LunaparkEffect r) Unit
100+back ∷ ∀ r. Run (LUNAPARK r) Unit
102back = liftLunapark $ Back unit
101back = liftLunapark $ Back unit
104−refresh ∷ ∀ r. Run (LunaparkEffect r) Unit
103+refresh ∷ ∀ r. Run (LUNAPARK r) Unit
105refresh = liftLunapark $ Refresh unit
104refresh = liftLunapark $ Refresh unit
107−getTitle ∷ ∀ r. Run (LunaparkEffect r) String
106+getTitle ∷ ∀ r. Run (LUNAPARK r) String
108getTitle = liftLunapark $ GetTitle identity
107getTitle = liftLunapark $ GetTitle identity
110−getWindowHandle ∷ ∀ r. Run (LunaparkEffect r) LT.WindowHandle
109+getWindowHandle ∷ ∀ r. Run (LUNAPARK r) LT.WindowHandle
111getWindowHandle = liftLunapark $ GetWindowHandle identity
110getWindowHandle = liftLunapark $ GetWindowHandle identity
113−getWindowHandles ∷ ∀ r. Run (LunaparkEffect r) (Array LT.WindowHandle)
112+getWindowHandles ∷ ∀ r. Run (LUNAPARK r) (Array LT.WindowHandle)
114getWindowHandles = liftLunapark $ GetWindowHandles identity
113getWindowHandles = liftLunapark $ GetWindowHandles identity
116−closeWindow ∷ ∀ r. Run (LunaparkEffect r) Unit
115+closeWindow ∷ ∀ r. Run (LUNAPARK r) Unit
117closeWindow = liftLunapark $ CloseWindow unit
116closeWindow = liftLunapark $ CloseWindow unit
119−switchToWindow ∷ ∀ r. LT.WindowHandle → Run (LunaparkEffect r) Unit
118+switchToWindow ∷ ∀ r. LT.WindowHandle → Run (LUNAPARK r) Unit
120switchToWindow w = liftLunapark $ SwitchToWindow w unit
119switchToWindow w = liftLunapark $ SwitchToWindow w unit
122−switchToFrame ∷ ∀ r. LT.FrameId → Run (LunaparkEffect r) Unit
121+switchToFrame ∷ ∀ r. LT.FrameId → Run (LUNAPARK r) Unit
123switchToFrame f = liftLunapark $ SwitchToFrame f unit
122switchToFrame f = liftLunapark $ SwitchToFrame f unit
125−switchToParentFrame ∷ ∀ r. Run (LunaparkEffect r) Unit
124+switchToParentFrame ∷ ∀ r. Run (LUNAPARK r) Unit
126switchToParentFrame = liftLunapark $ SwitchToParentFrame unit
125switchToParentFrame = liftLunapark $ SwitchToParentFrame unit
128−getWindowRectangle ∷ ∀ r. Run (LunaparkEffect r) LT.Rectangle
127+getWindowRectangle ∷ ∀ r. Run (LUNAPARK r) LT.Rectangle
129getWindowRectangle = liftLunapark $ GetWindowRectangle identity
128getWindowRectangle = liftLunapark $ GetWindowRectangle identity
131−setWindowRectangle ∷ ∀ r. LT.Rectangle → Run (LunaparkEffect r) Unit
130+setWindowRectangle ∷ ∀ r. LT.Rectangle → Run (LUNAPARK r) Unit
132setWindowRectangle r = liftLunapark $ SetWindowRectangle r unit
131setWindowRectangle r = liftLunapark $ SetWindowRectangle r unit
134−maximizeWindow ∷ ∀ r. Run (LunaparkEffect r) Unit
133+maximizeWindow ∷ ∀ r. Run (LUNAPARK r) Unit
135maximizeWindow = liftLunapark $ MaximizeWindow unit
134maximizeWindow = liftLunapark $ MaximizeWindow unit
137−minimizeWindow ∷ ∀ r. Run (LunaparkEffect r) Unit
136+minimizeWindow ∷ ∀ r. Run (LUNAPARK r) Unit
138minimizeWindow = liftLunapark $ MinimizeWindow unit
137minimizeWindow = liftLunapark $ MinimizeWindow unit
140−fullscreenWindow ∷ ∀ r. Run (LunaparkEffect r) Unit
139+fullscreenWindow ∷ ∀ r. Run (LUNAPARK r) Unit
141fullscreenWindow = liftLunapark $ FullscreenWindow unit
140fullscreenWindow = liftLunapark $ FullscreenWindow unit
143−executeScript ∷ ∀ r. LT.Script → Run (LunaparkEffect r) J.Json
142+executeScript ∷ ∀ r. LT.Script → Run (LUNAPARK r) J.Json
144executeScript script = liftLunapark $ ExecuteScript script identity
143executeScript script = liftLunapark $ ExecuteScript script identity
146−executeScriptAsync ∷ ∀ r. LT.Script → Run (LunaparkEffect r) J.Json
145+executeScriptAsync ∷ ∀ r. LT.Script → Run (LUNAPARK r) J.Json
147executeScriptAsync script = liftLunapark $ ExecuteScriptAsync script identity
146executeScriptAsync script = liftLunapark $ ExecuteScriptAsync script identity
149−getAllCookies ∷ ∀ r. Run (LunaparkEffect r) (Array LT.Cookie)
148+getAllCookies ∷ ∀ r. Run (LUNAPARK r) (Array LT.Cookie)
150getAllCookies = liftLunapark $ GetAllCookies identity
149getAllCookies = liftLunapark $ GetAllCookies identity
152−getCookie ∷ ∀ r. String → Run (LunaparkEffect r) LT.Cookie
151+getCookie ∷ ∀ r. String → Run (LUNAPARK r) LT.Cookie
153getCookie name = liftLunapark $ GetCookie name identity
152getCookie name = liftLunapark $ GetCookie name identity
155−addCookie ∷ ∀ r. LT.Cookie → Run (LunaparkEffect r) Unit
154+addCookie ∷ ∀ r. LT.Cookie → Run (LUNAPARK r) Unit
156addCookie cookie = liftLunapark $ AddCookie cookie unit
155addCookie cookie = liftLunapark $ AddCookie cookie unit
158−deleteCookie ∷ ∀ r. String → Run (LunaparkEffect r) Unit
157+deleteCookie ∷ ∀ r. String → Run (LUNAPARK r) Unit
159deleteCookie name = liftLunapark $ DeleteCookie name unit
158deleteCookie name = liftLunapark $ DeleteCookie name unit
161−deleteAllCookies ∷ ∀ r. Run (LunaparkEffect r) Unit
160+deleteAllCookies ∷ ∀ r. Run (LUNAPARK r) Unit
162deleteAllCookies = liftLunapark $ DeleteAllCookies unit
161deleteAllCookies = liftLunapark $ DeleteAllCookies unit
164−dismissAlert ∷ ∀ r. Run (LunaparkEffect r) Unit
163+dismissAlert ∷ ∀ r. Run (LUNAPARK r) Unit
165dismissAlert = liftLunapark $ DismissAlert unit
164dismissAlert = liftLunapark $ DismissAlert unit
167−acceptAlert ∷ ∀ r. Run (LunaparkEffect r) Unit
166+acceptAlert ∷ ∀ r. Run (LUNAPARK r) Unit
168acceptAlert = liftLunapark $ AcceptAlert unit
167acceptAlert = liftLunapark $ AcceptAlert unit
170−getAlertText ∷ ∀ r. Run (LunaparkEffect r) String
169+getAlertText ∷ ∀ r. Run (LUNAPARK r) String
171getAlertText = liftLunapark $ GetAlertText identity
170getAlertText = liftLunapark $ GetAlertText identity
173−sendAlertText ∷ ∀ r. String → Run (LunaparkEffect r) Unit
172+sendAlertText ∷ ∀ r. String → Run (LUNAPARK r) Unit
174sendAlertText txt = liftLunapark $ SendAlertText txt unit
173sendAlertText txt = liftLunapark $ SendAlertText txt unit
176−screenshot ∷ ∀ r. String → Run (LunaparkEffect r) Unit
175+screenshot ∷ ∀ r. String → Run (LUNAPARK r) Unit
177screenshot fp = liftLunapark $ Screenshot fp unit
176screenshot fp = liftLunapark $ Screenshot fp unit
179−elementScreenshot ∷ ∀ r. LT.Element → String → Run (LunaparkEffect r) Unit
178+elementScreenshot ∷ ∀ r. LT.Element → String → Run (LUNAPARK r) Unit
180elementScreenshot el fp = liftLunapark $ OnElement el $ ScreenshotEl fp unit
179elementScreenshot el fp = liftLunapark $ OnElement el $ ScreenshotEl fp unit
182−findElement ∷ ∀ r. LT.Locator → Run (LunaparkEffect r) LT.Element
181+findElement ∷ ∀ r. LT.Locator → Run (LUNAPARK r) LT.Element
183findElement l = liftLunapark $ FindElement l identity
182findElement l = liftLunapark $ FindElement l identity
185−findElements ∷ ∀ r. LT.Locator → Run (LunaparkEffect r) (Array LT.Element)
184+findElements ∷ ∀ r. LT.Locator → Run (LUNAPARK r) (Array LT.Element)
186findElements l = liftLunapark $ FindElements l identity
185findElements l = liftLunapark $ FindElements l identity
188−childElement ∷ ∀ r. LT.Element → LT.Locator → Run (LunaparkEffect r) LT.Element
187+childElement ∷ ∀ r. LT.Element → LT.Locator → Run (LUNAPARK r) LT.Element
189childElement el l = liftLunapark $ OnElement el $ ChildElement l identity
188childElement el l = liftLunapark $ OnElement el $ ChildElement l identity
191−childElements ∷ ∀ r. LT.Element → LT.Locator → Run (LunaparkEffect r) (Array LT.Element)
190+childElements ∷ ∀ r. LT.Element → LT.Locator → Run (LUNAPARK r) (Array LT.Element)
192childElements el l = liftLunapark $ OnElement el $ ChildElements l identity
191childElements el l = liftLunapark $ OnElement el $ ChildElements l identity
194−isSelected ∷ ∀ r. LT.Element → Run (LunaparkEffect r) Boolean
193+isSelected ∷ ∀ r. LT.Element → Run (LUNAPARK r) Boolean
195isSelected el = liftLunapark $ OnElement el $ IsSelected identity
194isSelected el = liftLunapark $ OnElement el $ IsSelected identity
197−getAttribute ∷ ∀ r. LT.Element → String → Run (LunaparkEffect r) String
196+getAttribute ∷ ∀ r. LT.Element → String → Run (LUNAPARK r) String
198getAttribute el name = liftLunapark $ OnElement el $ GetAttribute name identity
197getAttribute el name = liftLunapark $ OnElement el $ GetAttribute name identity
200−getProperty ∷ ∀ r. LT.Element → String → Run (LunaparkEffect r) J.Json
199+getProperty ∷ ∀ r. LT.Element → String → Run (LUNAPARK r) J.Json
201getProperty el name = liftLunapark $ OnElement el $ GetProperty name identity
200getProperty el name = liftLunapark $ OnElement el $ GetProperty name identity
203−getCss ∷ ∀ r. LT.Element → String → Run (LunaparkEffect r) String
202+getCss ∷ ∀ r. LT.Element → String → Run (LUNAPARK r) String
204getCss el name = liftLunapark $ OnElement el $ GetCss name identity
203getCss el name = liftLunapark $ OnElement el $ GetCss name identity
206−getText ∷ ∀ r. LT.Element → Run (LunaparkEffect r) String
205+getText ∷ ∀ r. LT.Element → Run (LUNAPARK r) String
207getText el = liftLunapark $ OnElement el $ GetText identity
206getText el = liftLunapark $ OnElement el $ GetText identity
209−getTagName ∷ ∀ r. LT.Element → Run (LunaparkEffect r) String
208+getTagName ∷ ∀ r. LT.Element → Run (LUNAPARK r) String
210getTagName el = liftLunapark $ OnElement el $ GetTagName identity
209getTagName el = liftLunapark $ OnElement el $ GetTagName identity
212−getRectangle ∷ ∀ r. LT.Element → Run (LunaparkEffect r) LT.Rectangle
211+getRectangle ∷ ∀ r. LT.Element → Run (LUNAPARK r) LT.Rectangle
213getRectangle el = liftLunapark $ OnElement el $ GetRectangle identity
212getRectangle el = liftLunapark $ OnElement el $ GetRectangle identity
215−isEnabled ∷ ∀ r. LT.Element → Run (LunaparkEffect r) Boolean
214+isEnabled ∷ ∀ r. LT.Element → Run (LUNAPARK r) Boolean
216isEnabled el = liftLunapark $ OnElement el $ IsEnabled identity
215isEnabled el = liftLunapark $ OnElement el $ IsEnabled identity
218−clickElement ∷ ∀ r. LT.Element → Run (LunaparkEffect r) Unit
217+clickElement ∷ ∀ r. LT.Element → Run (LUNAPARK r) Unit
219clickElement el = liftLunapark $ OnElement el $ ClickEl unit
218clickElement el = liftLunapark $ OnElement el $ ClickEl unit
221−clearElement ∷ ∀ r. LT.Element → Run (LunaparkEffect r) Unit
220+clearElement ∷ ∀ r. LT.Element → Run (LUNAPARK r) Unit
222clearElement el = liftLunapark $ OnElement el $ ClearEl unit
221clearElement el = liftLunapark $ OnElement el $ ClearEl unit
224−sendKeysElement ∷ ∀ r. LT.Element → String → Run (LunaparkEffect r) Unit
223+sendKeysElement ∷ ∀ r. LT.Element → String → Run (LUNAPARK r) Unit
225sendKeysElement el txt = liftLunapark $ OnElement el $ SendKeysEl txt unit
224sendKeysElement el txt = liftLunapark $ OnElement el $ SendKeysEl txt unit
227−isDisplayed ∷ ∀ r. LT.Element → Run (LunaparkEffect r) Boolean
226+isDisplayed ∷ ∀ r. LT.Element → Run (LUNAPARK r) Boolean
228isDisplayed el = liftLunapark $ OnElement el $ IsDisplayed identity
227isDisplayed el = liftLunapark $ OnElement el $ IsDisplayed identity
230−submitElement ∷ ∀ r. LT.Element → Run (LunaparkEffect r) Unit
229+submitElement ∷ ∀ r. LT.Element → Run (LUNAPARK r) Unit
231submitElement el = liftLunapark $ OnElement el $ Submit unit
230submitElement el = liftLunapark $ OnElement el $ Submit unit
233−performActions ∷ ∀ r. LT.ActionRequest → Run (LunaparkEffect r) Unit
232+performActions ∷ ∀ r. LT.ActionRequest → Run (LUNAPARK r) Unit
234performActions req = liftLunapark $ PerformActions req unit
233performActions req = liftLunapark $ PerformActions req unit
236−releaseActions ∷ ∀ r. Run (LunaparkEffect r) Unit
235+releaseActions ∷ ∀ r. Run (LUNAPARK r) Unit
237releaseActions = liftLunapark $ ReleaseActions unit
236releaseActions = liftLunapark $ ReleaseActions unit