# frozen_string_literal: true require_relative "login_page" module BasePage # @return [Watir::Browser] def browser LeapSalesforce.browser end def soql_object(soql_object) @soql_object = soql_object end def visit LoginPage.visit LoginPage.login page_url = "#{SoqlHandler.instance_url}/lightning/o/#{@soql_object}/new" browser.goto page_url self end end