Class: ViewPage
- Inherits:
-
Object
- Object
- ViewPage
- Extended by:
- BasePage, LeapSalesforce::PageIntrospection
- Defined in:
- lib/leap_salesforce_ui/view_page.rb
Overview
Base class for viewing an entity in Salesforce
Class Method Summary collapse
Methods included from BasePage
Methods included from LeapSalesforce::PageIntrospection
Class Method Details
.visit(id) ⇒ Object
8 9 10 11 12 |
# File 'lib/leap_salesforce_ui/view_page.rb', line 8 def visit(id) LoginPage.login browser.goto "#{SoqlHandler.instance_url}lightning/r/#{@soql_object.soql_object_name}/#{id}/view" self end |