Class: ViewPage

Inherits:
Object
  • Object
show all
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

browser, soql_object, visit

Methods included from LeapSalesforce::PageIntrospection

id

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.
  browser.goto "#{SoqlHandler.instance_url}lightning/r/#{@soql_object.soql_object_name}/#{id}/view"
  self
end