import { getDeviceFromId } from "../../devices" ; import { iReduxState } from "../reducers" ; export const getRecorderInfo = ( state ) => ( { url : state . recorder . currentUrl , device : state . recorder . device ? getDeviceFromId ( state . recorder . device ) : null } ) ; export const isInspectModeOn = ( state ) => state . recorder . isInspectModeOn ; export const getSelectedElement = ( state ) => state . recorder . selectedElement ; export const getSavedSteps = ( state ) => state . recorder . savedSteps ; export const getRecorderState = ( state ) => state . recorder . state ; export const isTestVerified = ( state ) => state . recorder . isVerified ; export const isWebViewInitialized = ( state ) => state . recorder . isWebViewInitialized ;