module LeapSalesforce::PageIntrospection

Relates to a page inspecting it's own state

Public Instance Methods

id() click to toggle source

@return [String] Id of current entity

# File lib/leap_salesforce_ui/page_introspection.rb, line 7
def id
  LeapSalesforce.browser.url.split("/")[-2]
end