Module
Lunapark.LunaparkF
- Package
- purescript-lunapark
- Repository
- slamdata/purescript-lunapark
#LunaparkF Source
data LunaparkF a
Constructors
Quit a
Status (ServerStatus -> a)
GetTimeouts (Timeouts -> a)
SetTimeouts Timeouts a
GoTo String a
GetUrl (String -> a)
Forward a
Back a
Refresh a
GetTitle (String -> a)
GetWindowHandle (WindowHandle -> a)
GetWindowHandles (Array WindowHandle -> a)
CloseWindow a
SwitchToWindow WindowHandle a
SwitchToFrame FrameId a
SwitchToParentFrame a
GetWindowRectangle (Rectangle -> a)
SetWindowRectangle Rectangle a
MaximizeWindow a
MinimizeWindow a
FullscreenWindow a
ExecuteScript Script (Json -> a)
ExecuteScriptAsync Script (Json -> a)
GetAllCookies (Array Cookie -> a)
GetCookie String (Cookie -> a)
DeleteCookie String a
DeleteAllCookies a
AddCookie Cookie a
DismissAlert a
AcceptAlert a
GetAlertText (String -> a)
SendAlertText String a
Screenshot String a
GetActiveElement (Element -> a)
FindElement Locator (Element -> a)
FindElements Locator (Array Element -> a)
OnElement Element (ElementF a)
PerformActions ActionRequest a
ReleaseActions a
Instances
#ElementF Source
data ElementF a
Constructors
ChildElement Locator (Element -> a)
ChildElements Locator (Array Element -> a)
IsSelected (Boolean -> a)
GetAttribute String (String -> a)
GetProperty String (Json -> a)
GetCss String (String -> a)
GetText (String -> a)
GetTagName (String -> a)
GetRectangle (Rectangle -> a)
IsEnabled (Boolean -> a)
ClickEl a
ClearEl a
SendKeysEl String a
ScreenshotEl String a
IsDisplayed (Boolean -> a)
Submit a
Instances
#WithLunapark Source
type WithLunapark r a = Run (lunapark :: LUNAPARK | r) a
#liftLunapark Source
liftLunapark :: forall r a. LunaparkF a -> WithLunapark r a
#quit Source
quit :: forall r. WithLunapark r Unit
#status Source
status :: forall r. WithLunapark r ServerStatus
#setTimeouts Source
setTimeouts :: forall r. Timeouts -> WithLunapark r Unit
#getTimeouts Source
getTimeouts :: forall r. WithLunapark r Timeouts
#getUrl Source
getUrl :: forall r. WithLunapark r String
#forward Source
forward :: forall r. WithLunapark r Unit
#back Source
back :: forall r. WithLunapark r Unit
#refresh Source
refresh :: forall r. WithLunapark r Unit
#getTitle Source
getTitle :: forall r. WithLunapark r String
#getWindowHandle Source
getWindowHandle :: forall r. WithLunapark r WindowHandle
#getWindowHandles Source
getWindowHandles :: forall r. WithLunapark r (Array WindowHandle)
#closeWindow Source
closeWindow :: forall r. WithLunapark r Unit
#switchToWindow Source
switchToWindow :: forall r. WindowHandle -> WithLunapark r Unit
#switchToFrame Source
switchToFrame :: forall r. FrameId -> WithLunapark r Unit
#switchToParentFrame Source
switchToParentFrame :: forall r. WithLunapark r Unit
#getWindowRectangle Source
getWindowRectangle :: forall r. WithLunapark r Rectangle
#setWindowRectangle Source
setWindowRectangle :: forall r. Rectangle -> WithLunapark r Unit
#maximizeWindow Source
maximizeWindow :: forall r. WithLunapark r Unit
#minimizeWindow Source
minimizeWindow :: forall r. WithLunapark r Unit
#fullscreenWindow Source
fullscreenWindow :: forall r. WithLunapark r Unit
#executeScript Source
executeScript :: forall r. Script -> WithLunapark r Json
#executeScriptAsync Source
executeScriptAsync :: forall r. Script -> WithLunapark r Json
#getAllCookies Source
getAllCookies :: forall r. WithLunapark r (Array Cookie)
#deleteCookie Source
deleteCookie :: forall r. String -> WithLunapark r Unit
#deleteAllCookies Source
deleteAllCookies :: forall r. WithLunapark r Unit
#dismissAlert Source
dismissAlert :: forall r. WithLunapark r Unit
#acceptAlert Source
acceptAlert :: forall r. WithLunapark r Unit
#getAlertText Source
getAlertText :: forall r. WithLunapark r String
#sendAlertText Source
sendAlertText :: forall r. String -> WithLunapark r Unit
#screenshot Source
screenshot :: forall r. String -> WithLunapark r Unit
#elementScreenshot Source
elementScreenshot :: forall r. Element -> String -> WithLunapark r Unit
#findElement Source
findElement :: forall r. Locator -> WithLunapark r Element
#findElements Source
findElements :: forall r. Locator -> WithLunapark r (Array Element)
#childElement Source
childElement :: forall r. Element -> Locator -> WithLunapark r Element
#childElements Source
childElements :: forall r. Element -> Locator -> WithLunapark r (Array Element)
#isSelected Source
isSelected :: forall r. Element -> WithLunapark r Boolean
#getAttribute Source
getAttribute :: forall r. Element -> String -> WithLunapark r String
#getProperty Source
getProperty :: forall r. Element -> String -> WithLunapark r Json
#getTagName Source
getTagName :: forall r. Element -> WithLunapark r String
#getRectangle Source
getRectangle :: forall r. Element -> WithLunapark r Rectangle
#clickElement Source
clickElement :: forall r. Element -> WithLunapark r Unit
#clearElement Source
clearElement :: forall r. Element -> WithLunapark r Unit
#sendKeysElement Source
sendKeysElement :: forall r. Element -> String -> WithLunapark r Unit
#isDisplayed Source
isDisplayed :: forall r. Element -> WithLunapark r Boolean
#submitElement Source
submitElement :: forall r. Element -> WithLunapark r Unit
#performActions Source
performActions :: forall r. ActionRequest -> WithLunapark r Unit
#releaseActions Source
releaseActions :: forall r. WithLunapark r Unit