Module: LeapSalesforce::PageIntrospection
- Included in:
- UpdatePage, ViewPage
- Defined in:
- lib/leap_salesforce_ui/page_introspection.rb
Overview
Relates to a page inspecting it’s own state
Instance Method Summary collapse
-
#id ⇒ String
Id of current entity.
Instance Method Details
#id ⇒ String
Returns Id of current entity.
7 8 9 |
# File 'lib/leap_salesforce_ui/page_introspection.rb', line 7 def id LeapSalesforce.browser.url.split("/")[-2] end |