class LuckyFlow::Server
- LuckyFlow::Server
- Reference
- Object
Overview
Handles starting and stopping server sessions
Defined in:
lucky_flow/server.crConstant Summary
-
CAPABILITIES =
{browserName: "chrome", platform: "ANY", javascriptEnabled: true, takesScreenshot: true, handlesAlerts: true, databaseEnabled: true, locationContextEnabled: true, applicationCacheEnabled: true, browserConnectionEnabled: true, cssSelectorsEnabled: true, webStorageEnabled: true, rotatable: true, acceptSslCerts: true, nativeEvents: true, chromeOptions: {args: ["no-sandbox", "headless", "disable-gpu"]}}
-
INSTANCE =
new
-
This is used so that only one server instance is started
Instance Method Summary
- #reset
-
#session : Selenium::Session
Start a new selenium session with Chromedriver
- #shutdown